-
What do you want to achieve? I want to make a purchasing system in a tycoon with clear and clean code
-
What is the issue? The issue is that im trying to make a tycoon from scratch without help and its going good but i have no idea how to tackle the purchasing system without writing a million blocks of code, i want to keep it tidy and easy
-
What solutions have you tried so far? I’ve tried to look for answers and tried to take a crack at it myself and nothings working.
Thank you for everyone who helps
Like display the prompt purchase and if they pay they will receive an item or smt like that?
Well, the main system of a tycoon is something in itself that has many lines of code compared to other types of games, so I recommend that in the beginning
- you be a little more open with writing more code than you expect
In my specific case, a system that I made a while ago has about 180 lines of code in the main tycoon script (this does not include tycoon minigames, the system that is in charge of saving the player data, boost, code claim system, etc.)
Actually the clearest solution would be the recommendation I gave you above or if you want to skip having to write a lot of code, pay someone
im making a classic esque tycoon, like when you step on the button it buys the thing for you, the problem is im gonna have lots of buttons and i want the code to be organized but i dont know how to achieve this
is there anyway to use module scripts or something?