Game maker slope tutorial (easy) - cybergame-beauchamp.fr

Game maker slope tutorial (easy)

rexfurry
Views: 8801
Like: 43
This is one of the easiest tutorials on creating slopes in game maker! Here’s all the codes you need to follow this tutorial:

Key bored Left event:

if place_empty(x-4,y) then x-=4
else
{
if place_empty(x-4,y-6) then
{
x-=4
y-=6
move_contact_solid(270,6)
}
}

Key bored Right event:

if place_empty(x+4,y) then x+=4
else
{
if place_empty(x+4,y-6) then
{
x+=4
y-=6
move_contact_solid(270,6)
}
}

Credit for this tutorial goes to DarkShadow753

DarkShadow’s channel:

Original tutorial by DarkShadow: