Scrolling text for game ending and credits

NecroDeath

I would like my game end screen credits to scroll, rather than dumping it all in one block, is there an elegant way of doing this other than inserting delays in between 'print message' commands?


DarkLizerd

Typewriter function???
Don't know, haven't tried it...
But it does sounds cool!!!


The Pixie

Maybe not quite what you want, but you could set up a timer that will print a string from a string list every 10 seconds. Say the string list is in game.credits, the code for the timer would be:

if (ListCount(game.credits) > 0) {
  s = StringListItem(game.credits, 0)
  msg(s)
  list remove (game.credits, s)
}


Silver

Alex did some pretty smart text effects in his game Moquette using JQuery; he explains some of it here in this blog post:

https://blog.textadventures.co.uk/2013/11/26/building-moquette-simulating-the-london-underground-and-doing-pretty-things-with-text/

I know JQuery has scrolling text effects - if you can work out how to implement it.

You can play Moquette here:

http://textadventures.co.uk/games/view/zbzfpcnknu_vdjog-cbihw/moquette


Log in to post a reply.

Support

Forums