Roger3471's Forum Posts

  • 5 posts
  • Certainly did, thanks.

  • Oh right, got it thanks! Loved the passive aggression in your answer as well, totally uncalled for, but hilarious! Keep it up.

    By the way, the quote does not say "it only checks the condition once, and then runs all sub events in order" it says that "events are run from top-to-bottom". It does not say that if a condition is satisfied, the next sub event runs anyway, which is what you have clarified for me.

  • Hi,

    On pg.7 of the Jungle Beginners tute it says:

    [quote:ztt5h4bf]Now to flip the snail's direction on the edges:

    Event: SnailEnemy -> On collision with another object -> EdgeMarker

    Subevent: SnailEnemy -> Compare instance variable -> action equal to "right"

    Action: SnailEnemy -> Set value -> action to "left"

    Subevent: Else

    Action: SnailEnemy -> Set value -> action to "right"

    It's important to use Else here, because events are run from top-to-bottom. If instead of 'else' we said 'action equal to "left"', notice the previous event would have just set it to that. So it'd just set it right back again, having no overall effect. By using 'else', we prevent the second event running if the first was true.

    If instead of 'else' we said 'action equal to "left"' wouldn't the snail still move left because it is no longer "on collision with EdgeMarker"? Or if it is, then shouldn't the snail keep turning left, then turning right indefinately? What actually happens is the snail continues as if the collision with EdgeMarker does not mean anything. Why is that?

  • Hi,

    Im doing the beginners tute and "JumpFromStand" is not triggering. The only animation which works when jumping is "JumpFromRun". I've attached a screenshot of the event page. I've checked the logic many times, seems right. I've checked the animations, they seem to be right as well. I've tried implimenting the logic in a few different ways, still not working.

    It seems to only be triggering "JumpFromRun", any idea why?

    Thanks,

    Jim

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Im Roger. I wabt to create a Super Mario like game with items found in levels to collect and use in the game (and switch at will). Never been good at programming, but going to give this a go.

  • 5 posts