Open your game file by going to File > Recent Files … to open your game again quickly.

Make sure you see these extra folders. If not, go to File > Advanced Mode

Block Moving

Go into the block object. Add the Collision with person event:

  • Check Empty: objects = “All”, relative
    x = 4*other.hspeed
    y = 4*other.vspeed
  • Jump to Position: relative
    x = 4*other.hspeed
    y = 4*other.vspeed

Person

Go into your person object and add a Collision with block event – add the Comment “do nothing” (this just helps make it work, prevents some other action from automatically happening).

Testing Room

Test it out – does the person push them in all directions?

Block goes into hole

Go into the hole object. Add the event Collision with block with the following actions:

  • Destroy instance (self = hole)
  • Destroy instance (other = block )

Person pushing block

Go into your block object.

After doing the steps below, it will look like this…

  1. Copy the Jump to Position action and paste it below.
  1. Now add Else and then Start and End blocks around it.
  1. Inside the bottom section, add Check Object:
  • object “hole”, relative
    • x = 4*other.hspeed
    • y = 4*other.vspeed

So the Collision with Person event should look like this…

Check if you did it right, go to Show Information … make sure you have “h” and “v” speeds…

Test it out:

  • your person should not be able to go through them, and
  • if the block collides, the hole should disappear.

Get the functionality checked off – keep it open in play mode.

Playing Level

Go to the next room and play it.

Keep it open, showing you’ve completed it with the “room done” pop-up window.

Strategy tips:

Get rid of the holes on the edges, not the middle. Also collect the diamonds inside before approaching the bottom.

Get rid of the outside holes again and the diamonds just below…

Get rid of the diamonds and push the last 2 blocks to block the monsters like this…