Particles will allow rapid development and prototyping of canvas based applications. Some of the features are:
- Error logging through console and stored in the application as a stack allowing displaying of different levels.
- Handlers that will allow different renders to the canvas. ie: Isometric, 2d, faux 3d, etc.
- Easy set-up for browser application, or mobile.
- Configurable resource loading.
- Application state handling.
- Dynamic canvas resizing.
All of the code for the application will be stored on Github. Which can be accessed here. If you would like to partake or use the code base feel free to use the fork although I am looking for people to work on the original code base.
I plan on posting these lessons not only to http://sumsumsum.com but also to http://codewithdesign.com If you are interested in reading over these articles I will provide the links.
Along with the updates to sum3 I have been writing more articles for code with design.
The game thus far has gotten a little more complicated. The graphics are less than ideal but I have spoken to a man that knows graphics so hopefully that will get going soon enough. I worked on porting to Android last night and the whole process took about 2 hours which wasn’t bad. (time includes environment set up).
The problems I am currently facing are the following: the canvas on android is slow. I haven’t hit any issues yet and the game is running at 20 frames per second but I feel like this is going to lag with long lasting games so cleanup will need to be done on some of the objects in the game. The second problem is that I am using Cordova (formerly PhoneGap) which is an excellent product but it is not built for game development so there is a lot of un-necessary overhead which makes me want to do it all again in Java.
There is a demo version located here but it doesn’t include a pretty large list of features.
The linked version is lacking randomly generated map, units unbalanced, specific logic, large list of bug fixes.
I will not be working on the game today but there is a very large list of things to do that will make this game a little more unique. One of which is sound…