External Exam Download Resources Web Applications Games Recycle Bin

Walls

SpriteImages
sprBrick
sprSmiley

ObjectSpriteProperties
objSmileysprSmileyVisible
objBricksprBrickVisible, Solid (shown below)

room layout:

objSmileyKey Down → Left event

objSmileyKey Down → Right event

objSmileyKey Down → Up event

objSmileyKey Down → Down event

objSmileyKey Down → Any event

objSmileyKey Down → No Key event

objSmileyCollision → objBrick event

extension activities:

  1. Explain what each of the events do. Note - the collision event triggers when the collision mask for each of the instances involved is touching. The solid property does not allow instances to pass through. The solid property wouldn't be advisable for things like coins, health pickups or finish lines (i.e. collisions that I have to be able to pass through).
  2. Can you add another frame of animation to the sprSmiley sprite so that its eyes flash?
  3. Can you speed up the movement of the smiley in the room? The default room_speed is (usually) 30 "steps per second" (this isn't frames per second, although while you are a GameMaker beginner, you can think of it in this way). So a speed of 3 is one tenth of the room speed.