I have a cannon which creates a bullet every 3 seconds but when i put two of the same cannons only one creates a bullets. I want both cannon to fire
try using Families
Did you insert a new cannon with a different sprite name?
Develop games in your browser. Powerful, performant & highly capable.
roberty No same sprite dragged and dropped it twice
isasaurio What do you mean?
garyrossiter try inserting another cannon to spawn the bullet
is that the only way of doing it?
Take a screenshot of your event or share a .capx so we can see where your code is going wrong
a quick way is to set 1 more created object bullet in every 3 seconds event, i mean copy paste the action create bullet in the same event
add the condition For Each (cannon) make sure its under the every 3 seconds
volkiller730 Thanks. It worked
markoza1986 Not working. One cannon is firing two bullets
Every 3 sec.........cannon ..Spawn another object...(object- click to choose)...Bullet on layer 0 ,image point ..
Don't use the system exspretion, but from the object's actions choose spawn another object.