Page 1 of 1

"Inventory" Appear here for first time in Game-Editor?

PostPosted: Mon Apr 01, 2013 6:38 pm
by bat78
Hello, well a lot of you know that i'm making a game, with is not important here, but there is a fill things that i can't do as well. If someone seems interested and can get those demo of inventory "McDonalds" to work, im sure all in the community will be glad, because i don't see such as actions so far.

Generally somehow those are the tasks/tips/fixes for the making of inventory and ordering:
Task: 1
The items can stand behind two inventory slots.
Thats because then they making two of the strings (slots[]) to 1.
You have to make each of those two three items to not be abled to make more then one string to 1.

-

Task: 2:
If an item collide with another item, they changes their order.

Task: 3:
If an item collide with an inventory slot, the item become in the center of the inventory slot.

Pay Attention:
If the inventory slot is used by another item, the item return to his last position..

And here is the McDonalds Inventory that explain the problem:
McDonald's Inventory.rar
(139.86 KiB) Downloaded 151 times

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Mon Apr 01, 2013 7:30 pm
by Hblade
Oh bat I forgot to mention in PMs, PLEEASE back up your game O_O on a flash drive

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Mon Apr 01, 2013 7:39 pm
by bat78
My game that im developing? I have like 5 copies on the PC, 2 copies on the flash drive and 2 copies in a USB hard-disk, no way to loose that :D

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Mon Apr 01, 2013 7:50 pm
by Hblade
Haha good =D

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Mon Apr 01, 2013 7:59 pm
by bat78
So.. do you think you can help with one or more of the tasks about that?

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Mon Apr 01, 2013 10:14 pm
by Hblade
Probably not sorry :(

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Tue Apr 02, 2013 12:20 am
by bat78
Ok, my English is not that good, but i hope i wrote it right tho.

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Tue Apr 02, 2013 3:13 pm
by Hblade
I think you did =)

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Tue Apr 02, 2013 4:13 pm
by bat78
:roll: so no one knows how to set the inventory, so i can finish my game?

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Tue Apr 02, 2013 4:49 pm
by skydereign
bat78 wrote::roll: so no one knows how to set the inventory, so i can finish my game?

People do, there are several examples on the forums already. I know at least Bee-Ant has done one, and I've done a few for other users. At least from your first post, you never actually asked for any help, it sounds more like you are just trying to find interested users.

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Tue Apr 02, 2013 6:14 pm
by bat78
Thats y i said my english is bad, i make the things more complicated and not that understanding ... the thing i wanted it that inventory system ...the things are described in my first post in that topic.
1. If you press mouse button up (mbu) and the mouse is dragged outside the inventory, the item return to his LAST POSITION (the position before it was dragged out)
2. If an item collide with another item, they change their places. If is possible only if you press the mbu.. Thats it. If someone already have that (i didn't find) and you know, it would be easier to present link then? That resolve the problem :)

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Tue Apr 02, 2013 11:45 pm
by skydereign
bat78 wrote: If someone already have that (i didn't find) and you know, it would be easier to present link then? That resolve the problem :)

Well, I don't remember any tutorials that work exactly like that, but they get the idea across. Here's one that works in a somewhat similar way.
http://game-editor.com/forum/viewtopic.php?f=6&t=6673&p=47667#p47667
If you'd still like me to work on the version you posted, I would actually just redo it entirely. The code structure you used in it makes it hard to fix up cleanly.

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Wed Apr 03, 2013 12:22 am
by bat78
Its horrible that me or whoever think that he can't do it.. i believe that there is a way on that. I was reading a lot,. Ok. The think i exactly search for is with flagss:
D, S, C, D, E, R
With means the item can be:
D = Dragable - Simple dragging function
S = Stackable - Can be stacked
C = Changeable - If item is leaved on another item, they change their slot orders
D = Destroyable - The items can be destroyed
E = Equipable - The items can be equipped to an inventory slot/disequipped from the slot and equipped on a specific place. (flexibility)
R = Returnable - If the item is leaved nowhere (out from the inventory) the item is returned to his last slot position.

I do not know why i can't figure it out so long, it is out from my knowledge .. but i am too far in a really large project and i can't just give up, thats why i search for help like that. The only hope for me, is you. I saw stackable/destroyable inventory scripts from Bee-ant and super sonic. But they are a bit different from DSCDER type that i want, so maybe a few changes? I do not know. If i do something successful about that and i decide that it works 100% i will submit it, so i can help others that might try to compose it. I don't force you to do anything skydreign, really :)

As a matter of fact, i am really tired and sometimes maybe i sounds rude, i hope no one is mad at me because of that, i apologize.
Anything from those 4 parameters (SCER) will be really helpful for me. For the rest, i will try to improvise.

Also if i complete with all that mess, i will be glad to finish my game and finally present it to the whole community, with the deserved credits :)

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Thu Apr 04, 2013 11:33 pm
by skydereign
If you still need help by the weekend I can post a new and cleaned up version of what you had.

Re: "Inventory" Appear here for first time in Game-Editor?

PostPosted: Thu Apr 04, 2013 11:43 pm
by bat78
If you talk about the inventory module at the top of this post, i just included it to present the design of possible future-inventory on that way.
I need the functionality that i described, but if you have idea for one or more of the requirements ..please write free.