The Menace from Triton

Page 4/4
1 | 2 | 3 |

By ARTRAG

Enlighted (6396)

ARTRAG's picture

15-07-2020, 21:34

santiontanon wrote:

About respawning, you should have immunity for a couple of seconds, but it's a good point! I'll maintain the immunity longer and maybe keep it until you get out of the part you are colliding with (up to a limit, other wise you couk=ld cheat by going quickly to the lower part of the screen and hide inside the wall until the level is over haha)

You could test if you are colliding when you respawn and stop immunity just after you end colliding (once the normal 2 seconds have passed)

By santiontanon

Paladin (1014)

santiontanon's picture

16-07-2020, 08:19

Yep, I agree, I think I need some collision detection during the invulnerability time (or the multiple respawn points you suggested earlier). In the most recent update, for now I increased the invulnerability time from 80 frames to 128 frames, just to lessen this problem. But I'll code a better solution, maybe during the weekend!

New version v1.0.2, which I have verified can be now played beginning to end and the last boss should spawn (such a stupid bug, really haha): https://github.com/santiontanon/triton/releases/tag/v1.0.2

By Sandy Brand

Master (178)

Sandy Brand's picture

20-07-2020, 21:22

Nice game! Smile

By santiontanon

Paladin (1014)

santiontanon's picture

20-07-2020, 23:40

Thanks Sandy!

And game was updated to v1.1: https://github.com/santiontanon/triton/releases/tag/v1.1

Page 4/4
1 | 2 | 3 |