First, sorry for the question, I?m sure that it?s very silly but I can?t resolve this.
I?ve tried to do an object that shoot a specific number of times but I don?t understand very well the loops <img src="smileys/smiley7.gif" border="0" align="middle" />
Here?s the file:
Any help will be welcome.
You're making a neverending loop.
Here's what you need:
1. If the gun has more than 3 bullets in its barrel, then fire one every 0.3 seconds
2. every 3 seconds, reload the gun with bullets. Until then, nothing happens.
Develop games in your browser. Powerful, performant & highly capable.
Thanks!! that�s what I�m searchin for