#killzone to big
1 messages · Page 1 of 1 (latest)
I tried it but the it dosen't work
and I think that in the game killzone radius is something like this
Then the issue must be because of something else if the kill zone is that big
maybe something with the code? if you want I can show it to you
Ok
It seems that it starts the timer when any body enters the area
Is there more than just the player than can enter the kill zone?
no its just simple code from tutorial
So there are no other bodies in the scene beside the player?
ohh sou you are talking about this
yes there are other bodies
there are 5 platforms 1 moving platform and 11 coins that you can pick up
Does the enemy touch any of them?
no but the moving platform stops in this circle and start animation again when its suppose to go to another end of the gap
When does the game restart exactly?
When the player gets too close to the enemy?
Or just after some time
Can you turn on collision shapes in the debug menu?
That way you can see the shapes when you run the game
yes I turn it on
Ok turn it on and run the game
You should be able to see the blue shapes when running the game
so the monster's killzone is not overlapping with any bodies?
maybe it's the timer that's the issue then
is the timer autostart?
no its not but I'll give you screen shot anyways
it starts when body enters on collision shape and when it ends it just restarting the game
No, i mean does the timer have the autostart property turned on?
no
for those with the same problem:you have to set collision layer of player on layer 2 and collision mask of monster on layer 2