Halloween game

 

Today in Chrises we have been granted some code thanks to Chris, with this code we were able to make a simple game as he gave an object named player mechanics. He had coded it to react with the ground and gave gravity and jump height variables allowing us to change them. He made an error in the code and our task was to search for this and fix it. Basically all he done was make the right key go left and the left key go right.

Chris hallo game snip.PNG

I added platforms which once stood on made the next part appear. this code was a lot more simple than I had thought. I had also made the beam on my ufo disappear once walked into. This also made a message happen.

left right code.PNG

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s