Problem Eleven

Porblem: Push a rock. 

Solution: 

Object Pushing:
Keyboard Event for <Right> Key: move relative to position (4,0)

Object Being Pushed: 
Alarm Event for alarm 0: start moving in directions 000010000 with speed set to 0
Collision Event with object obj_cricketbat: if expression obj_cricketbat.direction=0 is true, if position (24,0) is collision free for Only solid objects, move relative to position (10,0), start moving in directions 000001000 with speed set to 2, set Alarm 0 to 1.5

Advertisement

Leave a Comment

Filed under GameMaker

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 )

Connecting to %s