Text fading in/out, screen transitions etc

Silver
15 Oct 2014, 10:46
Can it be done?

Let me guess, CSS?

Alex
15 Oct 2014, 12:15
Yes.

Check out my game Moquette: http://textadventures.co.uk/games/view/ ... w/moquette

Lots of detail about how it works on the blog: http://blog.textadventures.co.uk/2013/1 ... with-text/

Silver
15 Oct 2014, 13:17
Thanks I'll check it out. Although what I have in mind is a lot simpler than the effects in Moquette. Would be interesting to learn though.

Alex
15 Oct 2014, 18:36
Just for fun, I've open sourced Moquette for you... https://github.com/alexwarren/moquette

Silver
16 Oct 2014, 08:50
Ooh, cheers. Stealing code is much easier than having to think about it. :D

All I really need to know is how you faded in and out the title image and the code for waiting for files to be loaded sounds pretty useful too. Hopefully I can figure it out by looking at the code and the tips in the blog.