Valks-Games / AvoidTheEnemies

Lets make a game like Vampire Survivors and Halls of Torment!
MIT License
5 stars 1 forks source link

Extra cards added #3

Open valkyrienyanko opened 1 year ago

valkyrienyanko commented 1 year ago

Only 3 cards were suppose to be added but 6 were added. This happened after around the 15th level up. Even more cards started getting added after that. Sometimes it was 3, other times it was 6, 9, then 12, and so on.

Steps to Reproduce

  1. Crank up enemy spawns
  2. Crank up player firerate
  3. Set XP orb value to the maximum needed to level up
  4. Kill lots of enemies in a concentrated area
  5. Pickup xp orbs in clusters

Possible Solution

Once enough xp is gained for a level up, wait an additional second to see if more xp is earned on top of that. If so then keep track of this. Spawn the first 3 cards, then once the player selects a card, instantly spawn the next 3 cards. And so on for how many level ups the player achieved in that short amount of time.

Untitled