Game Maker Studio: How to Swim in Water, show Bubbles & Splashes.
Channel:
Subscribers:
272
Published on ● Video Link: https://www.youtube.com/watch?v=g4abHY8F8RM
Visit my anime and game site: http://mcanime1.wixsite.com/mcanime
GMX File: https://goo.gl/8t9KTp
right, left, nojumpright, nojumpleft:
Events:
Create
Actions:
swim_check = false
right, left, nojumpright, nojumpleft:
Events:
Collision with water
Actions:
swim_check = true
right, left, nojumpright, nojumpleft:
Events:
Collision with land
Actions:
vspeed = other.vspeed;
Press right key or mouse pressed for "right"
Actions:
if swim_check = true {hspeed = 5}
Press right key or mouse pressed for "left"
Actions:
if swim_check = true {hspeed = -5}
Press Up key or mouse pressed for "right and left"
Actions:
if swim_check = true {vspeed = -6}
Other Videos By MC Designs
Tags:
android
device
pc
computer
game
studio
maker
water
swim
bubbles
splash
sea
float
move
jump
gms
collision
check
learn
teach
how
find
action
create
hspeed
vspeed
key
mouse
true
false
code