Tag Archives: canvas

Sumsumsum.com updates

If you are following along with the recent posts of what has been going on around here then you will know that I have been on a bit of a javascript kick for the past few months. Because of this kick I have decided to start writing some lessons for those that are interested in learning javascript.

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.

HTML5 Plat-former Engine Update 1

I have now added in some gravity and velocity to the game. I still need to tweek a few things to make it a little more enjoyable and give it a better transition of movement. At the moment everything tends to happen rather quickly and it looks really blocky and buggy.

At the start of the round the player drops from the top left and lands on the floor. This is the first proof of concept that the dropping of the character is working.

picture!

The next thing on the list is to go through the blocks that the character can land on. This is going to involve creating an array of platforms and checking to see if the character should have landed on it based on where it came from, where the platform is and where it is going.

Yay math! Yay branching statements!

HTML5 Plat-former Engine

Currently working on a little plat-former game engine that is currently being built rather slowly but I am happy with the current rounds of performance and how well everything has been coming together. I now have colliding objects and an integration of tweening motion between points with movement levels. An example of this is the sun moving right, down, left and up again by 50 blocks per 50 or so cycles.


 

The next step in the project is to built a proper gravity engine that will allow for player velocity through the x and y co-ordinates along with object collision with all blocks that will act as ground blocks meaning that if the player hits them they will then be registered on that level and will be able to be moved with the keyboard again.