ageiser's Forum Posts

  • I was thinking I might use to-hit tables. A la Dungeons & Dragons.

  • What is a good equation/algorithm to determine the outcome of a battle between two players?

    For example, I want the game to take into account the relative strengths and weaknesses of the players (strength, level, armor, buffs, weapons used, etc.) and apply damage to both players accordingly.

    Any suggestions?

  • It's not the smartphone, it's the apps. Same for the Ouya I think.

  • Yes. The animation now works as I intended.

    See Ramones' post from July 6, 2012 - 3:48 pm for the capx.

  • Wow! Thanks.

    I didn't think to separate the animations from the player object size. Also, thanks for the heads up on instance variables. I tried doing something similar (vaguely) with global variables, but it never worked.

  • "To prevent the player standing up inside a wall do something like:

    If the player is crawling and down is not pressed then

       change the player size to (39,126)

       if the player is not overlapping wall at offset 0,-1 then

          stand up... set animations etc..

       else

          set size back to (39,126) + stay crouching"

    After spending many hours breaking my capx, I haven't been able to get this to work either. <img src="smileys/smiley5.gif" border="0" align="middle" />

  • What do you think the advantage would be doing it the way you propose? Speed?

  • Have you been able to do this?

  • Outstanding! Thank you. Sometimes you get so buried in the code blocks it's hard to step back and see the big picture.

    I truly believe this is the best community on the web.

    I found the 'On Animation Finished' condition yesterday, believe it or not. Thanks for showing me how to use it.

    When I have fixed the other issues I'll post the revised .capx here for C2 users, who find it useful, to implement in their own projects.

    Thanks again.

  • Still not working.

  • Thanks for the advice. Have you been able to get this to work? I have not.

    I wonder if this is a bug?

  • .capx fileAnimation Test

    I'm having the following issues with this layout:

    1. When the character is crawling (down arrow + left or right arrow), the crawling animation doesn't play. Instead, only one frame of the crawling animation is displayed and the character appears to slide along on all fours. NOTE: This code block also changes the size of the player object.

    2. While crawling under the obstacle on the layout, if the player releases the down arrow, the character will become stuck. I'm sure it is because the player object changes size, by design, but I don't know how to fix this.

    3. When the player executes a forward flip (left or right arrow while falling to floor), the character animation should change to the running animation. Instead, the character freezes, and appears to skate along while standing upright.

    **UPDATE-CLARIFICATION** The animation will reset to the proper running animation when the player releases the arrow and allows the character to stop.

    **UPDATE-SOLVED (SORT OF)** I imported my running sprite sheet to the end of the flipping sprite sheet. I then set the new flipping sprite strip to repeat at the frame where the running begins. The effect is to make the character appear to flip and then continue running as originally envisioned.

    The revised .capx can be downloaded here: Revised Animation Test .Capx

    Bonus points: keep the animations from activating when flying (space bar) against the ceiling.

    Thanks,

    Tony

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey now,

    I'm Tony and I am excited to get to be a part of this community.

  • Ashley,

    Would you mind sharing your to-do list?