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 - ZeroRaven87

Pages: 1
Ask a Question / Actor collision on tiles.
« on: May 31, 2020, 04:02:31 pm »
Hi all,
So I'm working on a platformer game, and I'm having an issue with how the player actor is colliding with the tiles in the levels.
I have 3 animations, with 2 directions (using the run-jump behaviors that come with stencyl) and when the player is colliding with the tiles (ground) its supposed to be set to the idle animation. However the actor starts jittering between the idle animation and the jump animations. Even when walking/running it constantly jitters between the 2. The only time this doesn't happen is if my character actually manages to Jump, and then that animation plays accurately,
Of course once the actor lands back on the tiles, the jittering resumes.
I've tried making the tiles have collison shapes, and set them to no collision and used terrain shapes.
The player is set with Normal actor type and normal actor collision (box2d).
I've tried googling for similar problems and haven't had much luck.
If anyone has an idea, any help would be greatly appreciated.

Ask a Question / My scene/game testing wont show my tiles/player
« on: February 20, 2015, 04:05:44 pm »
So I've successfully  created a tile set (3 to be exact) and imported it onto my scene, as well as a Player with the run/jump behaviors, and camera follow behaviors.
Now my issue comes when I try to test out the basic behaviors and the game/scene in general.
Upon loading the game in the Flash Player, all I can is the background.  No tiles, no actors, nothing but the background image.
The background image is its own background layer, and is set behind the tile layer.

Ask a Question / Can an enemy actor follow the X-position of the Player?
« on: February 20, 2015, 01:02:25 pm »
I'm running into a rut when it comes to using this creator.
More to the point, I want to have generated enemy actors note and follow the X-Position of the player actor.
Previously I've used "Gamesalad" and it was a fairly straight forward matter of using a game attribute (PlayerPosX) to update with the player X Position every so often and then have the enemys reference that and move them towards it.

Presently my coding in Stencyl is:

Scene Behavior:
Do every 1 seconds:
  Set game attribute named (PlayerPosX) to (X) of (Player)

Actor (enemy) Behavior:
  Push (Self) (Gently) towards (xdir [PlayerPosX] ydir
  • ) at (10)

Said behaviors arent working. Is there a simpler idea to have an actor track the player?

Pages: 1