gbusto / BrickBreak

An attempt to make a game like "Ballz" or "Bricks and Balls".
1 stars 0 forks source link

Ball and Block Hit Count Get Out of Sync Sometimes #609

Closed gbusto closed 5 years ago

gbusto commented 5 years ago

Similar to #573, except the ItemGenerator things the user has more balls than they actually do. Block hit counts are supposed to be x1 or x2 the number of balls the user has, but there are some cases where the block count starts exceeding the number of balls the user has. Not sure why.

gbusto commented 5 years ago

This might happen when the user undoes their turn. The ItemGenerator doesn't go back to the previous number of balls that the user had! Need to double check this but I'm pretty sure that's what it is.