Javascript Game Engine 1.2
Posted by | Posted in arcade, games-entertainment | Posted on 13-03-2010
Cost: $0.00
Size: 934.22 kB
Release date: 05 Sep 2009
Platform: WinXP,Mac OS X,Mac Other,Win98,Unix,Linux,Java,Linux Gnome,Linux GPL
Download: Javascript Game Engine Freeware
This engine uses threads for animation by looping through frames, each frame being a single thread of execution, enabling us to have more control over animation. Therefore we can coordinating two entities running independently to lock them both by their id’s. For example, a character can block a punch from another character, which "locks" in place independent frames from two mutual entities running concurrently in their own time zones, by using their thread id’s. There we can invoke instance() function to inject additional algorithm before having the two halted threads (or the entire game) to proceed.
Javascript is event driven so you can program images to move across the screen just by changing the coordinates, x and y and the browser will do this for us. On our part we’re just basically changing the CSS stuff like top:1px; and left:1px; with position:absolute;
That’s how it’s done mainly, but this engine coordinates threaded animation frames along with the speed of coordinates changing.
Background and foreground and character overlaps are managed by setting z-index.






