0 Favourites

Items that change behaviors

This forum is currently in read-only mode.
  • So I'm really new to this but I've managed to get a basic platforming game created. I wanted to add ridable mechs that operate differently than the regular player (i.e larger, jump higher, run faster, better weapons). I have created an object with all of the behaviors I wanted but what would be the best way to make it so you can ride it once you touch it. Is there a way to switch the object which the player controls or do you have to do a sprite swap and then change all of the behaviors individually? If the second option how would you change the behaviors?

  • It's easy to get a player to ride a mech in Construct. Both need to have the Platform behavior. At the start of layout, deactivate platform movement for the mech.

    Next, set an event for when the player touches the mech (say, on collision between player and mech). In a nutshell, the actions for this event should be as follows:

    1. Deactivate platform movement for the player.
    2. Make the player sprite disappear.
    3. Activate platform movement for the mech.
  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Thanks! That worked perfectly!

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