So i know how to make ammo using instance variable and subtract one everytime player shoots how do I show a number on screen so a player knows his amount of ammo left.
Develop games in your browser. Powerful, performant & highly capable.
Create a global variable to keep track of your bullets, and use a text object to display that global variable.
thanks I made two post somehow problem fixed now.