Help for a shop system

Posted by AouabAdYT
Hello guys!

I'm working on a major update on my game and I'm trying to implement a multiple type item shop , let me explain myself :

I wanna implement a shop with multiple categories , like skins , emotes , passes , swords etc... and I'm looking for an easy method to do that instead of using a heavy method that will take a lot of time as I already spend hours working on that update.

I have already implemented a shop but only for items in the first version of the game , but it wasn't that big.

If you have any ideas , methods you already used like a button shop with categories , or only a shop with scrolling etc... that would be amazing !

Thanks guys!

Replies (4)

Last message on 23 Sep 2018

rggames on 23 Sep 2018, 04:26:36
When i had to do stuff like that i make sprites and i animate them to simulate the stuff.
For example, a background sprite that has a subimage for every category, another one with the miniature of every item on different subimages, another one for the swords, skins, etc. And the idea is to make obejcts that animate those sprites to simulate the effect of navigating on a fully proggramed shop, and , for example, if the user press left, the sprites change so the game shows how the user changes the category, ant when he taps z, some code shows the message of confirming the buying. It is hard to explain, because the animations you use depends on the design of the shop, and also, ny first lenguage is spanish so it is even harder xd
TehAwesomestKitteh on 14 Sep 2018, 14:05:21
By shop I'm assuming a shop with UI. If that's the case, there is no "easy" method. The simplest I can think of is making a 3d array and displaying each based on what's the active category that the player has selected.
AouabAdYT (Topicstarter) on 15 Sep 2018, 16:08:22
How will I implement a 3d array?
TehAwesomestKitteh on 19 Sep 2018, 11:03:38
A ds_grid could work as a form of 3d array. Here's the documentation link on it:https://docs.yoyogames.com/source/dadiospice/002_reference/data%20structures/ds%20grids/index.html