landgreen / n-gon

2-d physics rogue-lite platformer shooter
https://landgreen.github.io/n-gon/
GNU General Public License v3.0
151 stars 221 forks source link

(Bug?) Damage decreased at the start of runs #177

Closed jo9182 closed 6 months ago

jo9182 commented 7 months ago

Occasionally, after dying and starting a new run, the damage stat will be decreased. The lowest I've seen it start at is something around 0.05. This can be fixed by refreshing.

landgreen commented 7 months ago

Not much I don't until we know what causes it. Sounds like something isn't resetting when you die. I almost never play 2 games in a row so I don't test for resetting variable bugs.

jo9182 commented 7 months ago

I was thinking that you could just manually set the player’s damage to 1.0 at the start of every game, unless it already does that of course. Would it be in any way related with the fact that energy from the previous game carries over?

landgreen commented 7 months ago

damage depends on about 100 different variables. One of them may not reset if you die and play again.

Energy doesn't carry over for me.

Are you getting JUNK tech? Because JUNK tech can do anything. It can effect future runs and pretty much whatever it wants, but JUNK is never bugged, because it's already JUNK.

jo9182 commented 7 months ago

Not a result of JUNK tech, it will happen in successive runs regardless of whether I have JUNK tech or not.

AnnonymousNerd87 commented 6 months ago

Has anyone else had this problem? I haven't noticed it much, but I often play a few long runs per patch rather than many short ones, so it might not affect me as much because I delete and redownload the entire file with each new update. I just feel that this has been open for a while without much comment.

jo9182 commented 6 months ago

Still happens to me, I play on both the website and occasionally from the zip file.

landgreen commented 6 months ago

I went hunting. I found 5 potential situations that I fixed. Until the next patch goes through reload before new games.