fuzzball45's Recent Forum Activity

  • So, it seems like the consensus here is use dictionaries, of some sort.

  • Then when you go to save the game you can download all the dictionaries as JSON data into a file or webstorage key and load them later on.

    But is that necessary since i can just save the game with System -> save game? And load the game with System load game? What do I get out of being able to download them as json data?

  • In an rpg, where the character has ststa, hp, mana, str, int, agi, stam, gold, etc..

    Is there any reason to use one over the other? I can easily give my player all the appropriate instance variables, but I could just as easily do this with an array. Is there any reason to use one over the other?

  • Let me just say you are a genius. I don't know why I wasn't thinking about using a for each loop every time i created a new item. Thank you so much!

  • Here's what I've come up with so far:

    On click Object,(Looting it)->Set GlobalVariable=1

                                -> Destroy Object

    And on my inventory layout:

    Every tick

    GlobalVariable=/=0 ->Spawn Object at Inventory Slot

                       ->Set GlobalVariable=0

    The only problem with this is that it populates all my inventory slots with the same item. I need to figure out how to select an empty Inventory slot (instance variable maybe?) and then only create it in that specific empty slot, and not every empty slot.

    Thoughts?

  • Perfect, Thank you!

  • Hi,

    I'm fuzzball45. I am currently a senior at a 4 year University. I am majoring in economics with a minor in poli-sci. I have always wanted to make a game for android/iphone, and construct 2 is a way for me to do that. I just recently started with the program and am trying to learn everything I can.

    See you around!

  • Is it possible to move objects between layouts? I want to be able to loot my monster on the world layout and then have the object appear in the inventory layout. I don't want to set the object to global, because then it shows up on my global layout even after the item has been "looted."

    Any ideas?

  • How many different sprites (approximately) are you looking to get done?

  • How do I change where an angle handle is located in a sprite so I can rotate around something other than it's center? E.G. rotate around a corner rather than the center?

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you! I did not know that clicking an object selected it, thank you very much!

  • Is it possible to get an objects UID when on click? For example, I have many instances of a sprite Object "weapon." I would like to be able to click on a weapon in the game, and on click have it set it UID to an instance variable.

    I am using an array to store all the weapon stats, eg, attack, rate of fire etc. I would like to be able to click on the weapon and then find the array by comparing the instance variable UID to the array and finding the appropriate stats.

    Is this possible or am I going about it all wrong?

fuzzball45's avatar

fuzzball45

Member since 28 Oct, 2013

None one is following fuzzball45 yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies