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.


Messages - ZeroRaven87

Pages: 1
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.

2
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.

3
OK so do you know if there is a better alternative to achieve me desired effect?

4
Thanks Phillrby.
Glad to see the members on here are as helpful if not more so then the members on the Gamesalad forum.

5
Removing the set distance Y block as well as changing the Y values in the following 2 blocks yielded satisfactory results. No will this also work for enemy actors which are created as the scene progresses? Or will it only apply to enemy actors already preplaced in the scene?

6
Stencyl has a prepackaged  Follow Target behavior.  In the Dashboard  open an actor type  that you want to have  the behavior- select behavior tab and select the + at bottom left, look in the motion folder.

But the follow target behavior will track the X and Y values of the Player actor.
Would the best way to solve that be to edit said behavior and remove the blocks for tracking the Y values?

7
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:
Always
  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