Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Northfield82

Pages: 1 ... 13 14 15
211
Resolved Questions / Physical collisions with zero gravity [solved]
« on: December 28, 2014, 02:36:01 am »
Hello,

I'm making a vertical 'shooter' type game like the old-style Commando game.  I want the Actors to be able to collide with the Player as when they do, they then attack i.e with a sword.

If I have an enemy actor not moving and the player runs into him he currently flies off screen because there is no gravity.  How do I allow physical collisions in this style of vertical game so they rebound a little  without flying off into space?

Thanks

212
Resolved Questions / Enemy actors swinging weapons on player collision
« on: December 27, 2014, 04:23:18 pm »
Hello,

I'm very new to Stencyl.

I am trying to set up 2 enemy actors (Knights) that chase the player using 'Follow Target' behaviour.  When they collide, I want another actor, Sword, to be created and to play the animation of it swinging.

To achieve this, the best I have managed is when the enemy actor is created, to also create the Sword actor under an idle animation placed upon the x,y of the Enemy.  This sword then follows the enemy actor around screen.

The problem I am having is the actions of the created Sword actors all activate in unison, if 1 swings upon collision with the player they all do.  Also, because they are linked to the Enemy Actors created and following 'Last Created Actor' only 1 Sword tracks their respective Enemy Actor, the other stays still.

Ideally, I want to create a scene with multiple Knights that chase the player around screen, upon collision they swing a sword (Not to be shown til this point), when there is no collision, there is no Sword.  I'm trying to do it this way to learn so I can have various Actors / Player picking up new weapons along the way without redoing lots of Artwork i.e Zelda Dilemma.

Thanks

Pages: 1 ... 13 14 15