Sprites as Actors

Posted by Scán on Game Development See other posts from Game Development or by Scán
Published on 2011-03-12T11:19:45Z Indexed on 2011/03/12 16:18 UTC
Read the original article Hit count: 355

Filed under:
|
|

Hello,

I'm not experienced in GameDev questions, but as a programmer. In the language Scala, you can have scalable multi-tasking with Actors, very stable, as I hear. You can even habe hundreds of thousands of them running at once without a problem.

So I thought, maybe you can use these as a base class for 2D-Sprites, to break out of the game-loop thing that requires to go through all the sprites and move them. They'd basically move themselves, event-driven.

Would that make sense for a game? Having it multitasked like that? After all, it will run on the JVM, though that should not be much of a problem nowadays.

© Game Development or respective owner

Related posts about java

Related posts about sprites