I found out why it froze :x
I forgot to set the `next` property for World-04 to World-05 O~O I'm not sure if I can fix it during judging...
I like the idea for you game. It would be interesting if there was multiple cars, and each car would slow down the other.
Also it seems there is a bug with Firefox where Godot misses multiple input events. This cause the car to spin uncontrollable. After looking at the source code, I noticed these if statements:
if (user_input.x > 1 || user_input.x < -1): print("Godot missed a key up event.") user_input.x = user_input.x / 2 if (user_input.y > 1 || user_input.y < -1): print("Godot missed a key up event.") user_input.y = user_input.y / 2
I weed out to problems with the above code:
By changing the code to use clamp(value, min, max) and limiting user_input.x to the range [-0.25, 0.25]:
if (user_input.x > 0.25 || user_input.x < -0.25): print("Godot missed a key up event.") user_input.x = clamp(user_input.x, -0.25, 0.25) if (user_input.y > 1 || user_input.y < -1): print("Godot missed a key up event.") user_input.y = clamp(user_input.y, -1, -1)
the bug was gone.
I'm glad you like the idea! I only wish I thought of the shadow ability earlier in the jam. I realized far too late I need something to force the player to plan ahead.
I just checked the source... in my rush I forgot to set the next level for World-04.tscn... whoops ( .~.)
The controls definitely need to be changed. Originally the controls where [Z -- Jump], [X -- Place Warp], [C -- Goto Warp]... it was quite bad.
Whoa, it did?
Did it just go caput, or was there a full error?
P.S: I only had time to do testing on Chrome ;-;
IE seems to give an out of memory error :/
I might have to reduce the memory the game allocates.