How to do mutliple vine swinging

0 favourites
  • 2 posts
  • Hi everybody,

    This is my first post. Last time i got the vine tutorial from constructdude before he delete it for a better tutorial.

    Right now i thinking, to do a vine swinging game.

    Unfortunately, the tutorial only cover for single vine. can anybody help me?

    the event sheet look like this

    global variable

    Vine=0

    --------------

    Player collide with vine

    1.Event

    Player >> on collision with vine

    Action

    system>> set 1 to Vine

    ---------------

    player stick at vine

    2.Event

    System >> Every tick

    System >> compare Vine Variable = 1

    Action

    Player >> set position to Vine at image point 1

    -------------------

    Player pressed left or right arrow to get off the vine

    3. Event

    Right arrow key pressed

    Action

    system >> set Vine value to 0

    Player >> set platform enable

    player >> set vector X to 500

    4. Event

    Left arrow key pressed

    Action

    system >> set Vine value to 0

    Player >> set platform enable

    player >> set vector X to -500

    -----------

    i apologize because i cant post the capx because im a first timer here.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i forgot to tell that the vine, i use angle sine behaviour

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