Currently I am trying to set a shield object to spawn if the player uses the right analog stick. Currently if the player flicks the stick its fine, but if they hold it, too many are spawned. What is the best way for me to navigate this? Thanks
Develop games in your browser. Powerful, performant & highly capable.
if you only want 1 max, you could do something like,
shield.count=0 - create shield