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
→
Shooting and Follow
Pages:
1
Shooting and Follow
digdug678
Posts: 9
September 07, 2013, 10:39:28 am
So i don't know how to script and none of the pre packaged scripts are doing it. i need to know how to make the players bullet go depending on which way the player is facing. Also i have zombies i got them to spawn but cant get them to follow the player or change animations depending what way they are facing.
He who smelt it, dealt it
Wilson2
Posts: 1
October 02, 2013, 06:37:37 pm
I'm currently working on a "top down walk and shoot towards the mouse" actor behavior. It's still glitchy but close to being done. The zombie facing the player shouldn't be that hard either... I'll see if I could figure that out. If not keep me posted.
gamegirlxl
Posts: 713
October 04, 2013, 05:53:30 am
Make a blue attribute number called x (or whatever I'm using x).
So, always change x to match the animation number, or however you know what direction you're facing.
Then when you fire,
if x=1
fire up
if x=2
fire down
etc.
Pages:
1