RafaelMatos's Forum Posts

  • C-7

    Thanks man.

    My inventory is working partially because I didn't figure out how I can drop an item "visually". In other words, the picking and dropping is working on my array, but I need to drop right next to my character that item. And that's the problem because i'm using family. I'm trying to get the information on my array that identifies which item I had stored and relate to the object that I must spawn right next to him.

  • Anyone?

  • Alright, I'm facing another problem and I don't see how can I solve it.

    After picking the itens....

    I'm trying to put the objects in their repective slots. I tried to set it's animation to the same icon of the item but it seams a bad way to do it since I'll have too many itens in the game. The idea of having hundreds and hundreds of animations in each slot seams really bad.

    Someone knows how to do it?

  • Did you use the 3d tool from illustrator to draw that ball?=p

  • I guess you can put the overlapping condition before all the conditions. so your spawn mechanic will run correctly always.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, I can't help you but I must say that, so far, it has a pretty nice looking.

  • If you need to make it work with several objects, yes families are perfect for that.

    click on "item_family" > push to array

    But using families can I get every single instance variables working with arrays?

    Edit: Nevermind, I got it. Thanks.

  • I need to make it general to work with any objects (itens) and not only for this object that I chose. Someone knows how to do that?

    Edit: Using families would work well for that? Because the game will have too many items with different characteristics like an sword or armor that can't be inserted more than one per slot, their different attributes, etc

  • hey, I'm trying to do it but I have a problem

    My array has 5 width,2 Height,1 depth

    X = itens

    Y= amounts.

    So, If I have 5 apples, it's ID would be, for an example, in index(0,0) and it's amount in index(0,1).

    The amounts will be right below of each item.

    But how can I stop to adding apples to all slots, since it's 0 by default?

    and how can I add +1 to amount everytime I "add" a new apple to that slot?

  • scirra.com/tutorials/307/arrays-for-beginners

    https://www.scirra.com/tutorials/670/ze ... e-easy-way

    I know this isnt the answer bud, but i found this array tutorial pretty awesome

    also the inventory one is damn good hope it helps until someone can offer an alternative

    This is the tutorial which I mentioned <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad" /> . I just can't understand this sh**t. Thats why I asked someone to explain me in details. I'd like to know how to do it by myself, because It's a big and important feature in my game and I need to learn it, otherwise, I wont be able to solve any future bugs that may occur.

    But Thanks. I'll keep trying to understand arrays.

    However, I'd like to know if is there a way to do an inventory using just variables, since they can store information, which is what an inventory does, essentially.

    Edit: I'm starting to get it a bit thanks to this tutorial for beginners. Thank you for sharing it.

  • I was studying the manual and this tutorial (https://www.scirra.com/tutorials/583/ea ... ray/page-2) and I couldn't understand at all, specially the expressions and the theory behind the array.

    Please, someone with a good patience could teach me?

  • > C-7

    >

    > Wow...After 1 year the game is still in alpha?Are you developing the game alone?If it's just you, gratz in double.

    >

    Haha yes, still in alpha. I had to take a little time from it for a little of that for life reasons, but I work on this game around my irregularly-houred day job (and family!). Mostly late at night when the wife and kids are sleeping. And, yes, I work on the game on my own. Thanks!

    The definition of Warrior right here!

  • NateB

    Thank you

  • C-7

    Wow...After 1 year the game is still in alpha?Are you developing the game alone?If it's just you, gratz in double.

  • Are you going to sell it?Because it looks like a great game and would sell easily.