User Tag List

Results 1 to 3 of 3

Thread: Checkpoint/savepoint

  1. #1
    Clicker Fusion 2.5Android Export Module

    Join Date
    Jan 2014
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Checkpoint/savepoint

    I am wondering how to make a checkpoint when the player touches the object. And have it so that when the player dies he will respawn at the checkpoint. Thanks!

  2. #2
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,165
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Could you store the checkpoint's X,Y coordinates somewhere and use those for the location to transport/create the player object at when it dies?

  3. #3
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's what I was going to suggest.

    Make two variables in player object for Checkpoint_X and Checkpoint_Y.

    Player collides with Checkpoint Object:
    -->Set Checkpoint_X(Player) to X(Checkpoint)
    -->Set Checkpoint_Y(Player) to Y(Checkpoint)
    -->Destroy Checkpoint

    Player dies:
    -->Set X(Player) to Checkpoint_X(Player)
    -->Set Y(Player) to Checkpoint_Y(Player)

    _____________

    Another easier way if you're only going to have one checkpoint per level would be:

    Player collides with Checkpoint:
    -->Set Flag 1(Checkpoint) On
    -->Make Checkpoint Invisible

    Player dies
    +Flag 1(Checkpoint) On:
    -->Set position(Player) to position(Checkpoint)

Similar Threads

  1. How to make a checkpoint?
    By Daniel_M in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th May 2012, 12:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •