![](/uploads/1/2/5/5/125559632/484905439.jpg)
Hi All, My project objective is to create a game that helps anyone to learn how to manage money wisely through a business (in this case, it is a theme park business) within 12 days (12 project days). User will be given a sum of money to manage the business ($10,000). User has a goal. The goal is to reach 3 targeted profits (Level 1 - $2000, Level 2 - $5000, Level 3 - $10,000).
Rule your theme park and become the richest manager! Because Idle Theme Park Tycoon is a simulation game, the manufacturer had to design it for a long time to create the most beautiful images. With full 3D format, the game does not make players disappointed when playing. Check out Theme Park Tycoon 2. It’s one of the millions of unique, user-generated 3D experiences created on Roblox. In Theme Park Tycoon 2 you get your own plot of land to build your own theme park on, together with your friends! Construct a range of rides the way you want and design your own roller coasters to truly make your park your own!
Upon reaching all 3 targeted profits, they get a contract to take over the theme park from the original owner. If they failed to reach any targeted profit, the game ends. At the end of each day, a profit and loss report will appear to tell user their total expenses of the day, total visitors of the day, total profit and amount left. Upon reaching a targeted profit, user gets more items to buy and more space to build the rides, shops, utilities (toilet), scenery.
User gets to hire cleaner to clean the litters made by visitors. User gets to hire mechanic to repair rides that are faulty. User gets to advertise the theme park through print, tv, celebrity. Currently I need help on how to create the scripts for the following game flow idea:.
User clicks on an item (e.g. A rollercoaster). A message appears to ask if user need to buy the item. If user clicks on the buy button, the price of the item (e.g. $100) is subtracted from the initial allowance ($10000). Each item can only be bought once.
Once bought, it is not available. User cannot buy that not available item. When user buys an item, they can place the item on theme park ground (perhaps a flat rectangle shape with paths drawn). If user click on don't buy button, the message, buy button and don't buy button hides. The number of visitors is affected by the news report (bad weather/bad news = less visitors, good weather/good news = more visitors) - The ticket price can be set by user.
User opens the theme park. The theme park shows visitors moving around the theme park. When a visitor visits a shop, a sale is generated and added to bank account. Visitor can give positive or negative feedbacks. Once the theme park closed for the day, a profit and loss report appears.
On the profit and loss report, it should show how many visitors came, total expenses, total profit (is it allowance - expenses?), current allowance left. Proceed to next day, all the items bought in previous days shall remains on the ground. For every four days, if user met the targeted profit, they can continue to run the theme park for another four days. Otherwise, the game ends.Please kindly advise how to code the above game flow.
Higtoal wrote:I recommend against modal dialogues such as your 2 step buy procedure. Just drag money to the item or drag the item to a buy button.
Theres no need to ask for confirmation - thats only needed because youre using clicks rather than drags and dont want an accidental click to buy something. But accidental drags are far less problematic. Hi gtoal, thanks for reading my post and sharing new ways to code. The reason for suggesting 2 step buy procedure is because we want to check if the user really need to buy the item to avoid wasting money. Hence we included a confirmation button. I am thinking of combining your recommendation with my request. Not sure if it will work, need your input.
User clicks on an item and drag the item to where they want to place on the theme park ground. A message appears to check if the user really needs this item. When this sprite clicked if v?
then create clone of Bumper Car v end I'm not sure how to create the script to drag the item from a menu and place on the theme ground.Last edited by MsNgScratch (Aug. 8, 2017 01:56:49).
MsNgScratch wrote:Higtoal wrote:I recommend against modal dialogues such as your 2 step buy procedure. Just drag money to the item or drag the item to a buy button. Theres no need to ask for confirmation - thats only needed because youre using clicks rather than drags and dont want an accidental click to buy something.
But accidental drags are far less problematic. Hi gtoal, thanks for reading my post and sharing new ways to code. The reason for suggesting 2 step buy procedure is because we want to check if the user really need to buy the item to avoid wasting money. Hence we included a confirmation button. I am thinking of combining your recommendation with my request. Not sure if it will work, need your input.
User clicks on an item and drag the item to where they want to place on the theme park ground. A message appears to check if the user really needs this item. I'm not sure how to create the script to drag the item from a menu and place on the theme ground.
If the program knows that an item is not a sensible thing to buy, then why not grey it out or just don't display it altogether, so that they don't even try to select it? Look for drag and drop demos or a library if you don't want to code it from scratch.
I have one at but there are many more out there. Since your collection of objects is likely to be implemented with clones, you may need a customised drag & drop which understands clones, eg similar to G. Gtoal wrote:MsNgScratch wrote:Higtoal wrote:I recommend against modal dialogues such as your 2 step buy procedure.
Just drag money to the item or drag the item to a buy button. Theres no need to ask for confirmation - thats only needed because youre using clicks rather than drags and dont want an accidental click to buy something. But accidental drags are far less problematic. Hi gtoal, thanks for reading my post and sharing new ways to code. The reason for suggesting 2 step buy procedure is because we want to check if the user really need to buy the item to avoid wasting money.
![Hacks Hacks](/uploads/1/2/5/5/125559632/821524409.jpg)
Hence we included a confirmation button. I am thinking of combining your recommendation with my request. Not sure if it will work, need your input. User clicks on an item and drag the item to where they want to place on the theme park ground. A message appears to check if the user really needs this item. I'm not sure how to create the script to drag the item from a menu and place on the theme ground. If the program knows that an item is not a sensible thing to buy, then why not grey it out or just don't display it altogether, so that they don't even try to select it?
Look for drag and drop demos or a library if you don't want to code it from scratch. I have one at but there are many more out there. Since your collection of objects is likely to be implemented with clones, you may need a customised drag & drop which understands clones, eg similar to G Thanks for sharing the script! I am amazed scratch could do that.
Anyway how do you create a script to grey out the item? Gtoal wrote:MsNgScratch wrote:Thanks for sharing the script! I am amazed scratch could do that. Anyway how do you create a script to grey out the item?The easy way? Design two costumes, one coloured and one grey.
This has the advantage that the ‘greyed out’ version doesn't actually have to be grey, it could be a paler or darker coloured version. Or you could just change the brightness effect of the sprite. Or the hard way. This trick: Hi gtoal, i understand the part on designing two costumes.
However I am not sure how the interaction looks like when user drag and drop the sprite onto a grid and the sprite turns grey. How does the coding look like? By the way, I applied what you shared for drag and drop in my testing game platform, somehow the sprite doesn't stick to the green spaces. Can explain how do you come up with that drag and drop script??
(:Last edited by MsNgScratch (Aug. 10, 2017 23:42:32).
![](/uploads/1/2/5/5/125559632/484905439.jpg)