User Tag List

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

Thread: Inventory List

  1. #1
    No Products Registered

    Join Date
    May 2008
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Inventory List

    Hey all,

    I am making an inventory system for a game that will potentially have hundreds of items. I am not very fond of using the standard array object however, and if I could use a graphical spreadsheet or database to store inventory data for characters and the game, it would make development much easier.
    I am asking the community what my options are for this. I know some objects can interface with excel spreadsheets or SQL DBs. If these objects are used, does that require the end user to have the associated software installed on their machine? (Such as in the case of using XLS files, they would have to have a copy of Office, no?)
    Are there other objects or options I'm not aware of that would allow me to quickly enter and retrieve data in an organized fashion similar to these methods?
    More than just the inventory items will be stored. For me, the ideal form for this would be a spreadsheet where each item would take up a row, and each column in that row would hold the items associated data such as name, number, description, cost, rarity, etc.

    As always, any advice is appreciated! Thank you!


  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Master_Maker's Avatar
    Join Date
    Nov 2006
    Location
    Rio de Janeiro, Brasil
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inventory List

    Use string parser and INI++ the best for this.
    I have one little inventory sistem using this objects.

  3. #3
    No Products Registered

    Join Date
    May 2008
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inventory List

    Thank you very much! I will research your suggestion.

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Inventory List

    Also maybe try the List Object. It can be saved and loaded. It can hold many items and each item in the list can be called on or deleted.
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    No Products Registered

    Join Date
    May 2008
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inventory List

    Just thought I'd bump this thread to see if anyone could answer my initial question.

    Thanks.


  6. #6
    No Products Registered

    Join Date
    Oct 2008
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inventory List

    There is a Database object, and I don't think you have to have any database/SQL programs installed on your computer.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inventory List

    In one of my games, I have a list of all possible inventory items in an INI file, looking like this:

    Code:
    [Small Bomb]
    Owned=1
    Price=2000
    
    [Big Bomb]
    Owned=0
    Price=5000
    Using INI++, I loop through all these items. If their "Owned" value is 1, I add it to the list. If not, it remains excluded.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Master_Maker's Avatar
    Join Date
    Nov 2006
    Location
    Rio de Janeiro, Brasil
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inventory List

    I create little example for you...

  9. #9
    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: Inventory List

    I tried somthing similar once. you might be better off usingg something like this instead:

    Code:
    [0]
    Name=Small Bomb
    Owned=1
    Cost=2500
    
    [1]
    Name=Big Bomb
    Owned=2
    Cost=5000
    This way you can reference the group name using the loop index and it might make it easier to populate the list

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inventory List

    It's easy enough my way just using INI++'s iteration features.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. List object simply doesn't load a list file...
    By Pedro Almeida in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 10th February 2012, 12:46 AM
  2. Keyboard controlled unlimited list inventory
    By FGRaptor in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd September 2011, 07:14 PM
  3. Cannot "Load File List" for List & Combo Objects
    By Annie in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st February 2007, 02:34 PM
  4. bug: List object doesnt show list of files ...
    By Rushino in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st November 2006, 11:46 PM
  5. Simple Inventory system using List Boxes
    By Sarah in forum File Archive
    Replies: 11
    Last Post: 20th July 2006, 03:55 PM

Posting Permissions

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