Flash Halloween game

Today in Chris’s lesson we were tasked of making a basic plat former including of the player be able to jump and being able to collect something, I chose pumpkins. When we had the code for the player moving the controls were inverted so we had to go in the code and change that as well as put a few comments on to see how well we know the code. This is the comments that I added as it allows me to understand what the code is doing just by the note. This is also where we had to change the code as when you pressed left you went right.


We then did the coding for the collectable which had us delete the item and the listener code when it would touch the player, there were no problems with this code apart from having to rename a few of the variables.platform-movecode-coin


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s