Skip to content

kisa002/GMS2-Slope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GMS2-Slope

Slope implementation for GameMaker: Studio 2

How to work?

Very simple. Movement, jumping, slope, all in just 88 lines on Create in objPlayer.

It just used place_free to calculate the player position and direction for the slope.

Status

You can see the value of status in Create on objPlayer.

/// Create in objPlayer
spd = 8; // speed
jmp = 12; // jump power
dir = 32; // max direction(angle)
gra = 1; // gravity

isJump = false; //jump check

Demo Video

GameMaker: Studio 2 Slope

About

GameMaker: Studio 2 Slope

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published