|
Post by adriancabouli on Jul 7, 2020 16:10:36 GMT
Hi . I am looking the way to create a shop. But outside gaming games. I mean. There is a asset that is used like a shop while gaming (a shopper, etc) but my idea is to implement in. A shooter game the chance to buy things previous to enter a mission (multiplayer in this case) there is a chance to integrate a shop? I imagine putting always a character hidden in main menu and trying to enter to its inventory, create a shop button in main menu. Access the hidden player inventory and show a shop option list That is obviously hidden in gameplay.
Like it’s possible to save items my idea is to integrate all but I am trying to figure it out how. Maybe a list that contains all buyable articles and cross information with current inventory list. If you have the article , weapon whateever , hide it from that list
|
|
|
Post by adriancabouli on Jul 7, 2020 18:48:46 GMT
my idea is to have a shop outside the room games.It’s better to have all inventory objects and “hide “ with a variable those that I didn’t bought , or create a parallel list and compare the once I have to the others that are in list that I didn’t bought yet??
|
|
|
Post by uberwiggett on Jul 8, 2020 4:07:14 GMT
the character can transfer between scenes without loading/unloading. So yeah you could make a scene with nothing in it but the player and have the shop UI there. When the character buys the item you just add it to their inventory, then you can load the next scene and the character will still retain that item.
|
|
|
Post by adriancabouli on Jul 8, 2020 15:00:08 GMT
Great but muy idea is to have the store outside the game. Like in main menu “join multiplayer” “Create multiplayer room” “Shop”
“Exit”
And shop open the inventory hidden . But no idea if I can use a list to compre the items I have . And those I haven’t , that I can buy it.
|
|
|
Post by adriancabouli on Jul 8, 2020 15:22:49 GMT
And in that case . That I create a shop in game, not screen , it can save it with inventory save? Using your asset? That in the case I can not implement my buy screen
|
|
|
Post by kingceryn on Aug 11, 2020 10:50:01 GMT
I cant get this to work, as anything that references the player in one scene wont work in the other, because the player isnt there. Any way to get around this?
Things like Generic actions and Unity Events, etc all break because the Player isnt in the scene.
|
|
zeker
Junior vMember
Posts: 47
|
Post by zeker on Aug 14, 2020 22:47:24 GMT
Maybe you can try Gameobject.find ?
|
|
|
Post by kingceryn on Sept 9, 2020 3:12:23 GMT
Hey, so I'm now using Dialogue Systems from pixel crushers, and it works fantastically! Their newest Invector integration from 9-2020 for 2.5.3 works fantastically with the GetItemId system, I have a ton of shops!
|
|
|
Post by chairiko on Sept 16, 2020 2:59:41 GMT
Hey, so I'm now using Dialogue Systems from pixel crushers, and it works fantastically! Their newest Invector integration from 9-2020 for 2.5.3 works fantastically with the GetItemId system, I have a ton of shops! Can you show us a youtube video example? I'm curious on how your set up looks! -chair
|
|
|
Post by kingceryn on Sept 16, 2020 4:04:01 GMT
Hey, so I'm now using Dialogue Systems from pixel crushers, and it works fantastically! Their newest Invector integration from 9-2020 for 2.5.3 works fantastically with the GetItemId system, I have a ton of shops! Can you show us a youtube video example? I'm curious on how your set up looks! -chair Here's the link to the thread where the Dialogue Systems Dev helped me get it working! the 3rd page has links to the updated integration for 2.5.3, but theres some script changes on the other pages as well so check those! www.pixelcrushers.com/phpbb/viewtopic.php?f=3&t=3436
|
|