Need help with my new game.

TheArtisan

  • Posts: 11
http://tagbagmage.tumblr.com/

Hello again, I'm making a much more simple game called Scrat the Bat, but there are few bugs with it, please leave some solutions to sort these problems out.

1. Enemies don't change sprites when turning around.
2. The behaviour for dying lets Scrat die from only one enemy.
3. I made my own tileset, but all the tiles are all scrambled, the ones in this picture should be brown.
4. Sometimes Scrat will slip inside the tiles by walking into the side of them.

I'll update this if I run into any more problems. Hope you can solve them.

Warzone Gamez

  • Posts: 711
1. You don't need to change sprits, you should change them by animation. And coding for that should be somthing like...

ALWAYS
IF X Speed of self = ( what ever your right movement speed is) ... Set aminamtion to ,move right,?

If X speed of self = ( what ever your left movement speed is).. Set animation to , move left,?

I think this will work? But I've never tested it? It sounds like it will work though?

2. For the death behavior for scrat, do....

If actortype (enemy actor type you want), collides with actor type( scrat )... kill self, reload scene.... Just do that with every actor type you want to kill scrat... Or you can do it where you can make a new actor group called enemy, and make it where if scrat collides with any actor type in the group , enemy , he dies and reloads?

3. Obviously, you messed up somewhere with the tiles? So I would probably just download a tile from Stencyl Forge.

4.  One reason that scrat might be falling from tiles, is that not all the tiles have collisions shapes on them? Another reason could be, that scrats collision boxes are out of place and misshaped? Or the reson could be, some animations don't have any collision boxes?
Making Dubstep is my passion.  Following
Christ is my greater passion.

View my SoundCloud page here... https://soundcloud.com/noobstep-544260267

TheArtisan

  • Posts: 11
Thanks for those, I think I have to use events for these, It's just that I can't find any IF Blocks.

dtrungle

  • Posts: 1938
If you need more help with this you'll need to provide more information. A demo, images of the issue, images of the behaviors.

And the best advice is to look at tutorials and stencylpedia until you can understand how stencyl works.

TheArtisan

  • Posts: 11
Well, I've made this along with a description that states what I want the game to do.
http://www.stencyl.com/game/play/22560

dtrungle

  • Posts: 1938
Your problems are the basics of Stencyl. Go through the articles/tutorial on Stencylpedia, read and complete them all. Unless you can grasp how Stencyl works you will not get far on your project.