do you get any method? can anyone help to create a horizontal scrollable list, having buttons as item.
If someone can figure out how to attach one object to another in a UI, then I might be able to get it to work. That's the only barrier I'm facing right now
I get some trace how to spawn items in a UI Object component. we can use spawn node, but with just one change.... at line no. 22: Code: let ent = this.scene().create(asset); //Remove this line // replace above code with this code let ent = this.ui().create(asset); // this will spawn the items (Objects) to the screen so basically this will do work to create buttons as items in a list. but to scroll that list you have to place "Touch Move" node with combination of "Position Limiter" node(to stop the touch at a certain value). and also its depends upon you how you create that list Horizontal or vertical, you have to customise the "Touch Move" node and "Position Limiter" node.
also note that on "Spawn" node, Asset Attribute contains the name(string) of object that you want to spawn on screen so, basically this means you can replace the Asset Manager attribute with a new Text Attribute. see this for clearification: https://drive.google.com/file/d/1mZKplsVSa86s-l3dTBnHvzQnNkuvcvpi/view?usp=sharing
You sir may have just found an excellent solution!!! I'll upload a functioning scrollable coin shop ASAP
Absolutely!!! Sorry for the late reply - attached below is a fully functioning scrollable coin shop template! I was having a bunch of issues spawning the character select to the scroll so I settled on a different solution: making the character select itself scroll and having the background stationary. You'll understand when you download! I also want to thank @Hanomax for the incredible tutorial on building out a coin shop. This template is my own spin-off of what they did, but they did a phenomenal job setting up the foundation which you can watch here: https://www.hanomaxgames.com/character-shop-system/ Download the coin shop template here! Good luck!
Its good thing that you give best of your efforts for community, i also have created a shop system actually all the basic concept is same but with more bells and whistles, anyway the conclusion is when i merge it in the main project it works but crash the whole game when i opt any character from it and continue to play from last saved checkpoint. so i have to drop that system from the game. I literally give it much of my time to create it but it crash the game so i drop it. Anyways I will post that shop system soon, whenever i get a little free time. ya thank you again for your contribution for the community, this may help many of boxers who still are in pain.
Thank you!!! I appreciate the kind words a lot. I'd love to see your store with the "bells and whistles" if you'd be willing to share it! Great job on figuring out an option that works for you - glad it could work out!