you need to assign a value above zero to entity types
try adding
global type_player=1
global type_ground=2
each entity group needs it own entitytype eg different value
btw collisions is only relative to the moving entity
Collisions type_player, type_ground, 2, 3
will only check if entity player hit entity ground
and not vice verser
add a reversed set if checking 2 entitys for collision
eg Collisions type_player2, type_player1, 2, 3
eg Collisions type_player1, type_player2, 2, 3
not forgetting to do globals at start of code :)
this also lets you work out who hit who o/
try adding
global type_player=1
global type_ground=2
each entity group needs it own entitytype eg different value
btw collisions is only relative to the moving entity
Collisions type_player, type_ground, 2, 3
will only check if entity player hit entity ground
and not vice verser
add a reversed set if checking 2 entitys for collision
eg Collisions type_player2, type_player1, 2, 3
eg Collisions type_player1, type_player2, 2, 3
not forgetting to do globals at start of code :)
this also lets you work out who hit who o/