The web site for Flash ActionScript 3.0 game developers

 
         
   

variables (strings) as text sprites

I would like to make sprites for a game whereby it has variable text in it. This is to be for math games. One version might be to practice one's times tables. I don't want to have all the drawn sprites with all the multiples from 2 to 10. I want to have a "log" sprite that I will randomly put a number on. In later levels of the game, I want to put problems to solve on the "logs" such as "3+5", eventually getting to variable expressions such as "X-1" and such.

Of course, I then want them to cross the screen, one after another, as "logs" in Frogger do.

I other games, I'd like to be able to click on them and drag them wherever.



Copyright Gary Rosenzweig