The Helicopter Game
RhinoRunner (112)

Move the helicopter around with the arrow keys. Try to beat all of the 3 levels. Click the screen to start. Use the following link to play it in a larger window.

You are viewing a single comment. View All
RahulChoubey1 (23)

What's with all of the <Event(number-eventname dict)>? Is it for debugging?

RahulChoubey1 (23)

@RhinoRunner In this view on the bottom right

firefish (580)

@RahulChoubey1 That is the event of the mouse moving. pygame for some reason prints it. (or I cannot find the code that prints it)#


RhinoRunner (112)

@RahulChoubey1 by using print(event) I can tell what is happening, such as when an enemy spawns it will print "<Event(25-UserEvent {'code': 0})>". It is mostly just for when I'm making the game I'll know if something is wrong.

bluemoon46 (1)

@RhinoRunner, I learned that today. I made a snake game.