place
and set your objectto collide with
Const world_col=1,playr=2,enem=3,bul=4,ebul=5,pikup=6 Collisions playr,world_col,2,3at the begining of your code
and set your objectto collide with
entitytype object,playrthen in your main loop call updateworld