Im having a bit of trouble with my code for a map maker, I can make the player place blocks, but not remove them, any ideas on how to do that?
x = (missile0x-18)/4 : y = (missile0y)/8 x = (missile0x-18)/4 : y = (missile0y)/8 if joy0fire && collision(playfield,missile0) then pfpixel x y off if joy0fire then pfpixel x y on
I figured it out... I just had to swap places with these 2 lines:
if joy0fire then pfpixel x y on if joy0fire && collision(playfield,missile0) then pfpixel x y off
Edited by Captain Spazer, Fri Jan 25, 2019 2:47 PM.