TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Actor Spam
Pages:
1
Actor Spam
AngelDog
Posts: 37
June 14, 2017, 10:50:49 pm
Both the player and the enemy fires bullets. I have them hooked up the same, except the player fires on button press and the enemy fires every two seconds. For some reason, when the enemy fires, it's just a volley of the bullet. I've checked everything three times over, why this pain.
beep bop
merrak
Posts: 2738
June 14, 2017, 10:53:35 pm
Code in a "when updating" event executes once every 1/100 second, and on each frame you're setting up a new "do every" loop.
`/\=======/\"-
Website! -
http://www.anorthogonaluniverse.com
Facebook -
http://www.facebook.com/rlwatson
Twitter -
https://twitter.com/merrak
gplar
Posts: 1115
June 26, 2017, 04:49:44 am
Stick the firing code "every 2 seconds" into "when created"-event for enemy.
Pages:
1