push a rock
First you’ll need to make a pushing character and a rock to be pushed.
The pusher will need to move the same as problem 3 so that it can move the rock.
Once you’ve done that you can put a collision event with the character in the rock.
Control Tab, If an expression is true, “pusher objects name”.direction=0 in the pop up menu.
then create a start of block and end of block and inbetween them put:
Move Tab, Start moving in a direction, click the right arrow and enter the same speed as the pusher.
Main2 Tab, Set an alarm clock
- steps=1.5
- alarm=alarm0.
Now you need to create an alarm event and put in start moving in a direction from the move tab. Click the middle square and leave the speed at 0.
Now your character can push a rock naturally.
this wasn’t too hard although i did follow a blog by pikmik’s friend from that other class, and couldn’t get the rock to stay in the room for a while