Game Maker Studio: How to Fall through Quicksand?

Channel:
Subscribers:
268
Published on ● Video Link: https://www.youtube.com/watch?v=v4pmcJAIc8o



Duration: 3:16
99 views
0


GMX File: https://bit.ly/2TKzn7U


obj_person


Events:


Collision with quicksand, Do nbt make quicksand solid, he will not go through it.


Actions:


if place_meeting(x, y + 1, obj_quicksand)
{
vspeed = 0;
gravity = 0.5;
}


obj_land, solid


Events:


Collision with obj_land


Actions:


move_contact_solid(direction,0);
vspeed=0;


obj_wall, solid


Events:


Collision with obj_wall


Actions:


Move Free, direction and speed 0







Tags:
android
device
game
studio
how
learn
teach
try
sand
quick
move
fall
vspeed
speed
gravity
place
meet
collision
wall
set
direction
step
contact
solid
execute
obj
object
windows
pc
computer