snazzydrew's Forum Posts

  • 8 posts
  • In a platformer I'm designing, I have a few animations for attack. Some 3 frames long, some 4. I was wanting to spawn hitboxes at certain frames in each attack animation. Each of these hitboxes would then, on collision with something in the enemy family, add to it's damage private variable and push them back a x amount of pixels.

    I was wondering how would I tell the hitbox to spawn only during certain frames?

  • Thank you! I really need to get the logic of Construct more understood.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I finally got platform behavior working right and know I'm trying to work on some custom movements, however I'm running into strange occurrences here.

    I'm an trying to make an event that allows the player to fall to the ground faster.

    While in the air the player could press down to stop all forward momentum and drop to the ground. When the player hits the ground, the animation would change, then pause, and then the player's movement will be hindered for 50 milliseconds. After the 50 milliseconds, player animation would resume, return to normal, and player would be allowed to move again.

    I ran into an issue early on. When dropping from the air after pressing down, the player tends to get stuck in the ground... and his animation doesn't change.

    The event:

    <img src="http://cdn.lts.cr/files/dfe363ab641ac16967dc/Faster%20Fall%20.png">

    The .cap: http://lts.cr/g1h

  • The first one I did was the Construct 1.2 version. I only tried the Construct 1 version after I misunderstood what you said.

    So. After rebuilding it in 1.2 again, this time it worked! ^_^ I suppose the version could've though that it was up-to-date or something.

    Thank. ^_^

    Edit: Nope. Didn't work. Here's the new cap built in 1.2... again.

    http://lts.cr/gqh

    Edit: Finally got it working...

  • Sigh. D; You told me the opposite. Regardless... It does the same thing in both versions of Construct.

    Edit: Oooooooh. I see what you were saying... D; Sadly that still isn't the issue.

    The cap from Construct 1.2: http://lts.cr/gd9

  • Okay. I've tried using Construct 1 and it still does the same thing. With even less of changes on my part.

    New .cap: http://lts.cr/gpZ

  • Why thank you! :]

    I'm silently screaming and torturous agony right now over this fact. x___x I've been trying to work around these issues while also being new to construct. Thanks for the info.

  • I have not a clue why my player sprite keeps flying off to the right. It seems to be some inherent property of something with platform behavior, but honestly, I don't know.

    What I do know is that it the behavior has nothing to do with how his event sheet is set up (I disabled them and received the same result), and he that has all the defaults for platform behavior. I've followed the procedures from the tutorials here and on the wiki and got nothing.

    Edit: It seems to be an issue of the gravity acting on a diagonal axis. (Down gravity =Down + Right, Right gravity = Right + Up, Up gravity = Up + Left, and Left = Left + Down)

    Any thoughts?

    .cap: http://lts.cr/gqh

  • 8 posts