Setting the stage: I’m a couple of months into my Studio/Scripting learning, and a good 2.5x + older than the average dev here I’m sure (so take pity)
Not looking for anyone to write a single line of script for me here, just a nudge in the right direction to orient my thinking, and perhaps point toward the right resources for techniques I need to learn.
tl;dr – Placing stickers from a local inventory onto a surface GUI that everyone can see, and is saved. What is the best way to do this? See Vid Below.
I’m building a skateboarding game where a player will earn stickers they place on a large picture of their board. I have this working but in very hacky ways for a few stickers and board slots. I’m sure I won’t be able to scale it, and I’m not able to figure out how to disable a sticker from my inventory once its placed on the board.
Local – Player GUI Sticker Inventory: includes image buttons for every possible sticker, which are made visible if the player has earned the sticker. (i.e – player value “OllieLearned.Value = true” the corresponding sticker is visible in the local inventory.
Server - Board GUI placed in parts on the Workspace. It gets claimed by a player who touches a specific claim-part, and can then only be accessed by that player. The board is covered with a frame full of image buttons.
When the player clicks the sticker in their inventory, a value in the player called “SelectedSticker” is set to that sticker’s image url. When the player clicks an open spot on the board GUI, that board image button’s image is set to the image url in the player value “SelectedSticker.
Here is a video of this working – again, completely hacked together. My goal is a system like this, but with ~50 potential stickers and board slots, and of course, saved to data store which reloads in when the player rejoins and claims a spot.
If you’ve ever played Bee Swarm Simulator, think of the board as the hive.
Like I said - Only looking for general guidance here: A summary of how some of you pros would go about this.
Thanks very much!