Posted by Snake game collision issue

Echo|G2 HaliotisBomb
Piebald (#413598)

Impeccable
View Forum Posts


Posted on
2023-03-16 13:28:48
What gameplay feature is this bug affecting?
Snake game

What's the issue? Please include any error messages you receive and as much detail as possible.
I've noticed for some time the snake game has a problem with the hit boxes on the obstacles. When passing them closely it will some times count as a hit and end the game as a loss even though nothing was actually hit. Normally its not too bad since the easy and hard modes don't always require you to go close to the obstacles but the impossible difficultly is literally impossible since making any turn ends the game even though nothing was hit.

Any links relating to this bug? For example, if a particular lion is bugging, what is the link to that lion?


Any screenshots you can provide us with?


Please provide us with step by step explanation how this bug happened so we can attempt to replicate it. If it's complex, please include screenshots where possible:
If you play the snake game on impossible you'll probably run into the bug but its also prevalent in hard mode as well. The best way to replicate it is to bring your snake right along side of obstacles



Hrt Icon 0 players like this post! Like?

Michael (#16)

Famous
View Forum Posts


Posted on
2023-03-16 22:18:04
The game operates on X,Y coordinates and not traditional hit boxes (i.e., it isn't like Poacher Chase & Fire Escape which have hit boxes for the obstacles and the lion). What's happening is turning too early or too late, causing the game to end. With Impossible mode, it's much less forgiving as far as the timing goes. Since the turning animation renders in the grid block that you are turning into, the game ends immediately if the block is occupied.




In this example, when you press down, the move can only render if the grid block is unoccupied. When you turn too early (or too late), and the block is occupied, there won't be any animation to show that you turned too early/late (i.e., it can't show that you started to turn into an obstacle since each segment is a fixed width/height).

It would end up looking something like this:


I hope this helps explain what's going on!



Hrt Icon 0 players like this post! Like?







Memory Used: 622.96 KB - Queries: 0 - Query Time: 0.00000 - Total Time: 0.00367s