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



Duration: 8:33
455 views
0


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


2018-05-20Game Maker Studio: How to Move to the Next Room after Collecting Certain Amount of Coins.
2018-04-07Game Maker Studio: How to Create Boss Movements with Custom Health bar.
2018-03-24Game Maker Studio: How to Create Enemy Hit Points.
2018-03-18Game Maker Studio: How to go from Day to Night, Night & Day.
2018-02-25Game Maker Studio: How to Create Random Objects.
2018-02-04Game Maker Studio: How to Create Special Effects.
2018-01-21Game Maker Studio: How to Make you’re File Image Icons Larger on Screen.
2018-01-13Game Maker Studio: How to Create a Mini Map.
2018-01-08Game Maker Studio: How to Create Lives & Healthbar for Player & Boss.
2017-12-09Game Maker Studio: How to select a player & continue background sound.
2017-12-01Game Maker Studio: How to Swim in Water, show Bubbles & Splashes.
2017-11-26Game Maker Studio: How to Stack & Use Objects in you’re game.
2017-11-23Game Maker Studio: How to Create Checkpoints in you’re game.
2017-11-19Game Maker Studio: How to Create Random Objects, Instances & Timing Objects Out.
2017-11-18Game Maker Studio: How to Animate an Object, using a Path, Alarms, & Images.
2017-10-31Game Maker Studio: Create a Custom Mouse Pointer & Gun Target Shooter. Plus, Collect Ammo & Score.
2017-09-26Game Maker Studio: How to Create a Path & Fire Weapon in all Directions.
2017-09-24Game Maker Studio: How to Create Alarms for you're Objects.
2017-09-16Game Maker Studio: How to Make Something Happen, Later in the Game.
2017-08-12Game Maker Studio: How to fire Ammo in all 4 Directions. Make barrels Move then Stop.
2017-07-29Game Maker Studio: How to Create Variables & Enemy Direction Follow.



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