Roblox Studio tutorial: Creating a tycoon (Day 8-9)

 For the tutorial I decided to follow the youtube tutorial created by the youtuber AlvinBlox where he demonstrates how to create a tycoon game on roblox studio. https://www.youtube.com/watch?v=XY6Ig48tAnk

The first step in the tutorial is to create a box using parts for the base of the tycoon




Next I created a red button with a billboard gui attachment. This attachment shows the word 'Label' currently, but will say something like 'start tycoon!' When the game is finished. 



Following the tutorial further, I went into the toolbox and grabbed a conveyor for the tycoon and placed it in the back.



The next thing I did was code a starter script that gave the player 500 cash when starting the game so they can buy a few things. It also shows their cash on the leaderboard.







Next in the tutorial I duplicated the tycoons to have multiple tycoons in the game. This is easily one of the most important steps because without multiple tycoons, only 1 person can play the game per server. 



Lastly, I created an attribute for the tycoons. When a player joins the game, they will be assigned a specific tycoon and can only buy stuff in their own tycoon. 



This code also constantly checks if tycoons are taken by players yet. If a tycoon is taken, other players cannot buy them or interact with them. 



Currently, I'm following part two of the tutorial, which will finish off the tycoon and make it playable. I plan to finish this and document it for the next blog post! 


Comments

Popular posts from this blog

Day (8-9) The start of something new

Day 4 of the independent project (Resurgence)