User Tag List

Results 1 to 3 of 3

Thread: Simple cave story like inventory

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple cave story like inventory

    I've made a super easy inventory using the list object.
    There are two frames: The first shows the basic concept using 7 events, and the second includes a inventory selector.
    inventoryList-08.mfa

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    536
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi nice example, I was wondering how you can add more numbers into it. Now you have 1 2 3, if I wanted 20 numbers. Is that possible? Also the random of numbers on start, how can I change that? Thanks

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The items, or numbers, are all instances of the same object displaying a certain animation representing an item. So the way it's set up you can add as many items as MMF support animations for a single active object. I don't know if there's a cap on animations, but I guess I should have designed it another way. It's easy to tweak.

    The animation for each instance of "Item1" are controlled through the list object.
    1 = "Item1" animation 12
    2 = "Item1" animation 13
    3 = "Item1" animation 14
    etc.

    To add another object to be available in the inventory (a 4th item):
    Add a new animation for the "Item1" object. Make sure the animation is looping.

    Changing the initial inventory
    Open the list object and change the numbers. Separate items in inventory with a line. If you've created a new animation for "Item1", you may add the value "4" and the instance will display Item1's animation 15.

    The numbers on the list will render onto the inventory in the same order it has been added to the list.

Similar Threads

  1. [PROTOTYPE] Simple inventory
    By Algul in forum Extension Development
    Replies: 5
    Last Post: 24th November 2018, 02:05 PM
  2. Random Cave Generation...
    By MatthewJTabin in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 10th July 2011, 04:39 PM
  3. Cave story camera
    By EdibleWare in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st January 2011, 01:15 AM
  4. Cave Jumper 1.5 Released!
    By Kisguri in forum News
    Replies: 0
    Last Post: 21st August 2009, 04:28 PM
  5. Simple Inventory system using List Boxes
    By Sarah in forum File Archive
    Replies: 11
    Last Post: 20th July 2006, 04:55 PM

Tags for this Thread

Posting Permissions

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