Version: 2 Last Updated: 24 Feb 2017 Release: 15 Mar 2012 Category: Programming
Rate this software:
341 downloads
View Screenshots(1)
Comments
Download
Liked it? Tell others:
CSS GAME ENGINE Details
Works on: Windows 10 | Windows 8.1 | Windows 8 | Windows 7 | Windows 2012 SHA1 Hash: f3d354aabe25cf6855d8a16bf47a12e8deff9e9d Size: 1.08 MB File Format: zip
Rating: 2.173913043
out of 5
based on 23 user ratings
Downloads: 341 License: Free
CSS GAME ENGINE is a free software by Cssgameengine and works on Windows 10, Windows 8.1, Windows 8, Windows 7, Windows 2012.
You can download CSS GAME ENGINE which is 1.08 MB in size and belongs to the software category Programming. CSS GAME ENGINE was released on 2012-03-15 and last updated on our database on 2017-02-24 and is currently at version 2.
Thank you for downloading from SoftPaz! Your download should start any moment now. It would be great if you could rate and share:
Rate this software:
Share in your network:
CSS GAME ENGINE Description
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.
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.