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
→
How do i make Sword attack behavior possible with 1 actor?
Pages:
1
2
How do i make Sword attack behavior possible with 1 actor?
Raseru09
Posts: 22
July 27, 2014, 11:17:02 pm
This is how it looks like now. I'm having a problem calling the Facing right? right to make it false to do the left attack..
« Last Edit: July 27, 2014, 11:39:59 pm by Raseru09 »
Jersmall
Posts: 30
July 28, 2014, 07:49:59 am
here is an example of what i was able to create.
http://www.newgrounds.com/portal/view/643017
here is an extremely simple way to do a slashing behavior as a good starting point i attached this post.
so basically the idle image the hitbox is over the player and when you hit a button to slash the hitbox is covering the sword. this means the collision is projected infront of you and if it hits any member of a group an action happens. (kill + Score)
also a sensor under the player. so idle image lets arrows pass trough and hit the sensor but collide with it. so if i do the slashing image the hitbox sensor stops arrows (unless u push too late)
LEARN PROFESSIONAL PHOTO EDITING,
CLICK HERE
Raseru09
Posts: 22
September 03, 2014, 05:00:07 am
Here's how my game looks now, I managed to make it with more actors
I summoned the slashing actor while hiding the main sprite then I destroyed the actor, and showed the main.
the new slashing actor had the inflicts damage effect so it hits and damages.
Pages:
1
2