EzekielRage's Forum Posts

  • sure thing, there ya go:

    dropbox.com/s/3y28j0ikgpp95w9/Game.capx

    controls:

    arrow keys and dpad: move left, right, duck and aim up

    XCV on keyboard and AXY on gamepad are jump, fire arrow and punch

    i removed a few functions earlier to narrow down my problem so not all features of sooting upwards and such are implemented - no use if the animation wont play.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hello there :)

    so after hours of hard work i finally came to the point where i put some battles into my game.

    i am developing a sidescrolling action game. the general idea is it to be able to fire arrows in three directions: left, right and up.

    the left and right part was tricky with the system I use but it works perfectly now. However I have a problem with firing upwards. that problem is connected to the enemies not playing their death animation funny enough.

    you see the eventing is made in a way that the player has his shoot animation and at the end of said animation the arrow fires. and that works. however for some unknown reason when i press up and shoot the animation starts and then hangs on the first frame.

    curiously enough the death animation of the enemies has the same problem. it hangs on the first frame and does nothing after that first frame. somehow this seems to be connected because when I want to add the injured animation for enemies that got hit the engine does what it should, stop the enemy shortly and reduce its health but the walking animation keeps playing instead of the injured animation as should.

    i double checked all the names and they are correctly typed. its alos strange that this problem only applies to some animations but not all. most animations work fine.

    any ideas?

  • That exactly did the trick. Works flawless now. Thank you very much for your quick help :)

  • Hi there,

    I am fairly new to C2 but not new to game development at all. I read a few tutorial and made a few test games and everything works fine so far.

    Since I am experienced in other engines and game design in general I figured I try a project of mine I had in my head for a while. It's a small open world game. And so far everything worked exactly the way it should. My layouts load, the player moves in between them and everything looks very nice.

    Until I started to create multiple doors into different parts of the same layout.

    You see, I figured I measure the X and Y cooridnates of the door to determine what door it is. This is then stored in a global variable. So if the player goes through a door, the variable is read and puts the player to the correct position. And this works exactly as I want it to - with ONE flaw: The player is kinda stuck in a jumping up and down motion and cant get to anywhere.

    Now of course I tried to find the problem. So I removed the "Set Position" aspect of the events and all of a sudden changing layouts works asit should. But I need to set the player to the correct position of course, otherwise it won't make much sense to have multiple doors into a layout.

    So now I need help to fix my jumpy problem. Here is how my event sheet is set up for that file:

    <img src="http://www.ezekiel-rage.com/images/problem.png" border="0" />

    If I remove the red circled part, the level changing works. The way its now the player seems to be stuck in a falling/jumping loop but cant move.

    Any ideas?

    Thanx!