User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Making Treasure Chests

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making Treasure Chests

    Ok my menu system is workin great, but now what i need is a simle method of making chests, and making them one time accessable, without using Global Variables or strings. Makng it so that i can add as many chests as i want, and the same set of events will have the same effect of opening that chest one time.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Making Treasure Chests

    Widgets create a list of actions for the chest object and just duplicate it over your map.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making Treasure Chests

    is that an extension?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making Treasure Chests

    Ok but how do i make it so that when i leave a frame and come back to the same one it will still be open? I know I sound like a n00b but im not, ive been using the program for about 2 yrs now, but i havent tried somthing like this before, i want to make it so that i dont have to use global variables to make the chests stay open.

  5. #5
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making Treasure Chests

    why not make the object global, set alt val A. to 1 - 0, 1 being an opened state and 0 being a closed state?

    When u come back to the frame the chest should be open.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Making Treasure Chests

    Quote Originally Posted by ZayLong
    without using Global Variables or strings.
    Why don't you want to use global vars or strings?
    You have shot yourself in the foot unless you write the settings to a file on then end of the frame..

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making Treasure Chests

    [quote=DJFuego

    Why don't you want to use global vars or strings?
    You have shot yourself in the foot unless you write the settings to a file on then end of the frame.. [/quote]

    beacuze using global values is too tedius, and if i want to make alot of treasure chests then there are letters in the alphabet then im screwd.

  8. #8
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making Treasure Chests

    you coukd use an array then i suppose. this may combat the problem. spread a value through the chests at the start of the application/level and then use the alt value of the chest in the array and denote 1 or 0 for open or closed

  9. #9
    Clicker Multimedia Fusion 2

    Join Date
    May 2007
    Location
    NJ
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making Treasure Chests

    ...you do know you can have more then those A-Z global values, right?

    Click on the application in your toolbar thing, then the tab that looks like the events screen, then add new value. you can add as much as you want.

  10. #10
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Apr 2008
    Location
    California
    Posts
    357
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making Treasure Chests

    Be careful with that though, if you start renaming the global values (like I`ve done quite a few times before) and plan on saving them to an editable file like an .ini it becomes a hassle to figure out which value in the file affects which. Often ruining your gameplay if an unchangeable value gets changed between play.
    Just a tip.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Treasure Scratch
    By Jeff in forum iOS Released Games & Apps
    Replies: 1
    Last Post: 10th November 2011, 06:17 PM
  2. Replies: 0
    Last Post: 10th November 2011, 04:51 PM
  3. How to randomly populate treasure chests?
    By timcclayton in forum Multimedia Fusion 2 - Technical Support
    Replies: 27
    Last Post: 13th November 2010, 12:08 AM
  4. Random Treasure Example for timcclayton
    By TreeHugger in forum File Archive
    Replies: 3
    Last Post: 11th November 2010, 10:57 AM
  5. Random Treasure
    By tonycrew in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th May 2010, 04:03 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
  •