|
CSS GAME ENGINE
-
Version
1.0b1
This is a free game engine developed for programming
browser based games. It uses the Javascript language
and CSS to dress up the page. They run pretty
reliably together. Use this engine to create your own
game. This project is intended for beginners, wanting
to learn how to program video games. Better if you're
a web designer that knows some CSS.
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.
|