AaronJY
Rabby
I started working on a 2D, top-down game engine in JS/HTML5 yesterday evening and I've gotten pretty far with it over the past 24~ hours. I've not programmed a game using JS/HTML5 before however so this whole OO-JavaScript aproach is new to me. Regardless, I feel I'm doing a pretty good job so far (especially with the math -wink-).
I've opted not to use available JS libraries online (other than jQuery of course) so I'm petty much building everything myself. The game utilizes HTML5's canvas element for drawing content on your screen, jQuery's AJAX functions to interact with my web server and PHP for server-side stuff (basically anything I'm unable to do through JavaScript).
What I've currently got:
Find the src attached.
I've opted not to use available JS libraries online (other than jQuery of course) so I'm petty much building everything myself. The game utilizes HTML5's canvas element for drawing content on your screen, jQuery's AJAX functions to interact with my web server and PHP for server-side stuff (basically anything I'm unable to do through JavaScript).
What I've currently got:
- Level editor. It can currently load a saved level file up and you can edit it using the tiles given on the tileset panel.
- Tile engine. I'm happy with the way it is right now, but I'm sure I'll end up adding to it in the future. Right now it just holds functions 2 that convert cell positions to tile positions and vice versa and an object for tile groups while will be used later to sort tile ID's into different types.
- Levels. You're able to load a given level stored on the web server and it'll parse the data and draw it on the canvas.
- Tiles.
- Tileset. I'm not on about the tileset image (which currently showcases the peak of my graphic design talent (i.e. it's shit)). It holds an image object for the tileset image and holds several functions that converts tile ID's to different positions and all that.
- Player. The player class isn't done and has hardly been touched, but that's just because I'm not ready to work on it yet.
Find the src attached.