I am trying to make a shop system but i am literally stumped on what to do.
I attached a sample project to make it easier for you guys to help:
What I am trying to do
Basically in the home page there is a picture of a home.
In the shop page there is 4 pictures of homes.
Below each of them there is a buy button.
When you click on buy, you own the home.
If you go back to the home page, the picture of the home is shown.
If you buy more than 1 home, you can select which home you want to display on the home page.
What I have
I have added the 4 pictures of the home in the shop page with their buttons below (not setup as widgets.) (they also dont do anything)
I have a picture of a home on the home page.
And I have function buttons going to the shop/home page.
Problem
I basically dont know what to do from here.
I was going to a event listeners to the buttons but probably I will have to make the buttons into widgets first.
Anybody know what to do?
Attached again is the lua files and image files to make it easier for you.
Please help!
Sincerely
John Beluga