• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Check collision only in y axis

U

Unpedro

Guest
Hey, i'm triying to make a tetris ghost piece, but it glitchs only in this case

my code is if place_meeting(x, y, solid_o){

y -= 8}

if !place_meeting(x, y + 1, solid_o)and(!place_meeting(x, y + 1,wall_o)){

y += 8}

if place_meeting(x, y, wall_o){

y -= 8

}

Post image
 
Top