Whythis easy thing doesnt work?

0 favourites
  • 5 posts
From the Asset Store
_______ Huge collection of metal fixtures ________
  • I have a fish that can do Ecco the Dolphin, but when he goes somewhere he shouldnt and lands on ground, he can move back to water for a certain period of time before dying (wthats what the timer is for, restart layout on timer) and can only move left or right like a fish out of water... but this logic that should work, doesnt. Can i get an explanation on why, please?

  • I forgot to say, i have the flash so it gives me feedback, but it doesnt flash at all in any action except the landing on ground flash, doesnt move or anything

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • looks to me like it's only firing that whole action set on the first collision.

    You have the other events nested below the initial collision condition trigger?

    -remove them from being under the collision trigger.

    I'd try setting it up slightly differently and not use the overlapping event.

    -set a bool on your fish when it hits the ground."bOutOfWater", set it's max speed ,acceleration and animation at that point.

    -turn it off, and change it's control, max speed and acceleration back if it gets back in water, or perhaps if you can detect it falling off a platform.

    I believe the movement pressing control is the only thing that needs to happen when the gamepad input event happens.

    You can add the action condition bOutOfWater is on.

    You could also check at that point if it's pointing the right way.

    Hope it helps

    -kb

  • I tried many ways, out of the nest and in the nest and all

    but... doing your logic... It worked! And it did exactly what i was going for, thank you so much!!!!

  • nice! great stuff!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)