GMS: How to Create a Running Dash?

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



Duration: 10:00
51 views
0


GMS File: https://bit.ly/3j8hPMy

Be sure to put the dashimage image in the room, before testing game.

obj_dash

Events:

Create

Actions:

target = obj_stand
myspeed = 0;
length = 0;
place = 0;

Events:

Step

Actions:

x = obj_stand.x + lengthdir_x(length,place);
y = obj_stand.y + lengthdir_y(length,place);
place += myspeed;

Learn How to Create true 3D First Person Shooter Games, ​https://bit.ly/3ypKtxN

Next Video: GM: How to Control when to Spawn?

Next Video: GMS: How to Save & Load Player's Position?







Tags:
game
maker
studio
gms
teach
learn
show
how
find
move
dash
run
running
target
step
direction
go
stop
create
set
lengthdir