www.xbdev.net
xbdev - software development
Friday April 19, 2024
home | contact | Support | Halloween and JavaScript Mini editor/game demo...

     
 

Halloween and JavaScript

Mini editor/game demo...

 

Halloween Game Example/Web-Based Editor (2D Sprite Game)



The web-based editor is a mini project to create/customize and develop simple 2D sprite-like games. At the heart of the editor was to keep it simple and uncomplicated. Hence, no external libraries and is written in Native JavaScript. You can add 'pages', and each page can have custom art/details added, such as text boxes, graphics and so on. Then you can save out the details to a json file.

The editor is available here, and is a single html file (for the demo game below, there are a few hacks in the editor so it runs as a simple game, such as, checking the gamestate, game over etc.).

Note you toggle the editor window by clicking the 'X' in the bottom left.

Key features:
* Simple AI mechanics for enemies
* User input/control
* Collision detection
* Add/edit separate screens/pages
* Game state logic (menu, playing, gameover, ..)
* Simple particle/effect system (visual feedback..)
* ..

TODOS:
* Preloading (waiting) for assets before starting game
* More AI/Gamestate feedback features
* Particle editor (currently 'hacked' together)
*

Open Editor(Link)

Run Halloween Demo (Link)












 
Advert (Support Website)

 
 Visitor:
Copyright (c) 2002-2024 xbdev.net - All rights reserved.
Designated articles, tutorials and software are the property of their respective owners.