Hello there! I'm starting an ambitious project and I have a clear idea of how I'd like it to work, so I have a couple of questions.
First of all -- would it be possible to have an inventory/stat sheet that appears when you hover on the words inventory or stats?? it would need to stay up when the mouse is on it so the player can select inventory items. I drew a little diagram in paint to show what I mean because I'm having a hard time explaining it:
Secondly, is image mapping difficult? I'd like to have a map where players can click different parts to go there, but if it's going to be too difficult I'll pass and do something else.
Thirdly, would it be possible to get images to appear when the player scrolls? Similar to this page of prequel:
http://www.prequeladventure.com/2012/08/2200/ But a lot less complicated, just still images, not an animation.
That's all for now, thank you!
Comments
Short answer is "yes" to both of your first questions, but I'm afraid I didn't understand the third. Moving images around the can be done in CSS, so that might help.
Here's a thread on pop-up menus:
http://twinery.org/forum/discussion/2518/pop-up-menus-and-real-time-mechanics
Here are a few threads on imagemaps:
http://twinery.org/forum/discussion/2251/
http://twinery.org/forum/discussion/2432/imagemap-clarification-questions-sugarcube
http://twinery.org/forum/discussion/1682/tinkering-with-image-maps
http://twinery.org/forum/discussion/1589/implementing-an-image-map
Sorry I can't really give you any advice personally. An image with clickable links is something I've wanted to do for a while but have yet to try.
By the third question I guess I mean like...if someone scrolled, would it be possible for images to appear once they've scrolled down a certain way? If that makes sense.
Uh . . . Check out my HTML file and see if that's what you mean. XD
lol!
I think @Quenen means that when you scroll down, the scrolling itself triggers certain JavaScript codes that either animate an image or make a div suddenly appear depending on the location of the scroll. (something like that, I think?)
I think this can be done through JavaScript and CSS, but I don't think there is a native way in Twine to do it. Though through google you can probably find simple enough codes to get it done, and then incorporate it into your Twine story.
The real question would be what the purpose of the scroll-appear is in the story, and see if there is a simple way of achieving the same effect (e.g. like @Sharpe's simple scroll till you see image effect!)
The game is set in a block of flats, so for the intro/title screen i thought it'd be cool if the player scrolls, and as they do, each flat comes into view then fades as the next one does, and then at the bottom the title appears.