N
Nexusrex
Guest
Hello, i've been working on a little platformer. And i've been creating some type of effect by an object that spawns when landing on the wall. But, i did find that the object is created when the player is in collision with any walls..I did like to let the object creates at the landing.
Here is the code i'm using:
And thanks in advance.
Here is the code i'm using:
Code:
move_contact_solid(direction,12);
on_ground = true;
vspeed=0;
instance_create(x,y,obj_dust);