Reputation
852
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
9 23
Impact
~62k people reached

Jan
15
awarded  Popular Question
Jan
2
awarded  Notable Question
Dec
6
comment How to check for every n value interval, but not exactly n
Accepting this answer since it doesn't rely on maintaining state between frames.
Dec
6
accepted How to check for every n value interval, but not exactly n
Dec
6
comment How to check for every n value interval, but not exactly n
Yep, oneUpsEarned needs to be initialized to 1. Didn't see your comment when I made my comment edit.
Dec
6
comment How to check for every n value interval, but not exactly n
I don't see how this would work. With your code, player earns 205 points, they get an extra life. Player earns 210 points, they would still get an extra life, but I don't want to give them another extra life until they've earned >= 400 points, and then again at >= 600, etc. Edit: Perhaps onesUpEarned should be initialized to 1, not 0, to make this work.
Dec
6
reviewed Approve How to check for every n value interval, but not exactly n
Dec
6
revised How to check for every n value interval, but not exactly n
edited title
Dec
6
asked How to check for every n value interval, but not exactly n
Nov
22
answered What's a simple way to send statistics from my game back to me?
Oct
22
awarded  Popular Question
Sep
30
awarded  Notable Question
Sep
19
awarded  Popular Question
Aug
20
accepted Create a trailing, ghosting effect of a sprite
Jul
10
awarded  Yearling
May
17
comment Particles in particle system not being lit
Just tried this, to no avail.
May
17
comment Particles in particle system not being lit
I can confirm that the particular shader applied to the materials being used in the particle system does react to light, just not when used in particle systems; same material and shader combination used elsewhere in the scene react to light fine.
May
17
awarded  Promoter
May
7
awarded  Tumbleweed
Apr
30
asked Particles in particle system not being lit