generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Anyone got any ideas on how this was made?

Previous Thread :: Next Thread 
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
22 Oct 2015 05:21 PM
https://www.youtube.com/watch?v=5G7bOEEp-xU&feature=youtu.be&user=badfitz66

it's "chooses" a random minigame. Anyone got any ideas how it was done?

Never too late to change a life, sir.
Report Abuse
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
22 Oct 2015 05:24 PM


Never too late to change a life, sir.
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
22 Oct 2015 05:25 PM
They have a table of minigames and then choose a random minigame from the table.
Like this.

u sicko!
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
22 Oct 2015 05:27 PM
I forgot the example oops.

local Minigames = {"Dodgeball", "Sword Fighting", "Golf"}
local SelectedGame = Minigames[math.random(1,#Minigames)]

u sicko!
Report Abuse
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
22 Oct 2015 05:28 PM
Yes, but how do they make it go in a sorted manner (top to bottom).

Never too late to change a life, sir.
Report Abuse
Deafgift100 is not online. Deafgift100
Joined: 09 May 2010
Total Posts: 3958
22 Oct 2015 05:28 PM
klink y u stupid do u evn look at the link
Report Abuse
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
22 Oct 2015 05:30 PM
b

Never too late to change a life, sir.
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
22 Oct 2015 05:31 PM
I didn't go to the link lol.
I just figured he explained the whole thing.

u sicko!
Report Abuse
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
22 Oct 2015 05:32 PM
im not an idiot, i know (mostly) how tables work and how to get their values randomly

Never too late to change a life, sir.
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
22 Oct 2015 05:33 PM
Still isn't that hard though.
He probably prematurely chose the minigame, used a for loop on the parts for a bit, and then made it so when the loop hit the corresponding part, the minigame launched,

u sicko!
Report Abuse
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
22 Oct 2015 05:34 PM
the goes past the chosen minigame multiple times.

i doubt this is just an ugly forced effect (just loop through the blocks for 5 seconds and then color correct brick and continue)

Never too late to change a life, sir.
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
22 Oct 2015 05:36 PM
He might wait while the loop executes and choose the minigame after it starts.

u sicko!
Report Abuse
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
22 Oct 2015 05:37 PM
im just going to do with what I think it is.

Never too late to change a life, sir.
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
22 Oct 2015 05:38 PM
Good luck!

u sicko!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image