www.xbdev.net
xbdev - software development
Monday November 30, 2020
home | about | contact | Donations
>>
     
 

Halloween and JavaScript

Mini editor/game demo...

 


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)












 

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