Rhindon's Recent Forum Activity

  • Ashley - I went to use the Sort Z Order system action and it's asking me for an instance variable for the object whose instances I want sorted. There's no ascending or descending option. Per the manual, it also does not make any mention of having to use an instance variable.

    For clarity, I selected an event line, pressed A to open the Actions menu, chose System, and then Sort Z Order.

    I've never used this feature before so I'm not sure if there's something I'm missing.

  • I plugged in the actions as you have in your update and it definitely worked as promised. Tests did result in very minor occurrences of the problem while continuing to hold a direction into a wall. I also repeatedly pushed the direction into a wall while already up against it but there didn't seem to be any rhyme or reason as to exactly what triggers the brief about-face.

    However, the problem seems 99% resolved and hopefully doesn't prove to be any kind of significant issue...

    Thanks again!

  • Aaaah! That seems to coincide with what I noticed in the debugger. I just couldn't make heads or tails of it. Thank you, again! I'll plug this in later and see that I get the same results.

  • blackhornet - Might I get your insight, please?

  • *bump*

  • What this does is to set up a system for me to gauge the movement of my main character, Buster... Is he moving up, down, left, or right? And then to compare whether his horizontal movement is greater than or less than his vertical movement.

    From there, I determine which visual animation to play, and/or whether or not to mirror the image. (I know someone will ask why I don't just set the animation to play based on what keyboard keys I press...and I had a specific reason but right now it's completely escaping my mind.)

    What I have noticed, however, is when Buster is "pushing" against a wall while going to the left or up his body doesn't appear to be "flickering" between animations. But going in either of the other two directions will show his body rapidly alternating between two animations. For instance, if Buster is moving to the right against a wall, it looks as if he is switching between left and right animations. (This doesn't happen, though, when moving against a wall immediately to his left while going to the left.)

    I suspect it has to do with the BusterBody object being "pushed back" when it briefly overlaps the wall (which has the Solid behavior). So for a brief tick, Buster is moving in the opposite direction than what the player is moving him in. The question, though, is why this only happens for two of the four directions?

    .c3p file: https://www.dropbox.com/s/63vyu90r8r7jp5l/busters%20escape%20v8-2%20.c3p?dl=1

  • That's understandable, however unfortunate.

    If you ever change your mind, know that we'd be extremely grateful.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What's the word on a possible C3 update?

  • I'm still working with a general understanding even after that explanation - for all my intelligence, some things still are slow to click with me. But in the end I'm extremely grateful for your help.

    If there is a way to fine-tune it so I might edit the parameters easier, I'd appreciate that. But, in the end, it works splendidly!

    OH! One thing I meant to ask...

    I was further wanting to make it "bounce" a time or two more after its initial bounce. I'd want to check for when it has "touched ground" again but I don't know/comprehend which value(s) to check for before making it bounce again (and at a smaller scale). Is there a "flow chart" you could list to explain the process?

    Thank you again.

  • Ha HAAA!! It works! Thank you!!!

  • AH! Okay. Thank you, sir! I will plug that in and make some magic happen! (I'm always grateful for your help.)

  • Also, the second event line is just written as sprite: add self.vz*dt. What am I adding that to?

Rhindon's avatar

Rhindon

Early Adopter

Member since 8 Jan, 2013

Twitter
Rhindon has 2 followers

Connect with Rhindon

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies