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 » Scripting Helpers
Home Search
 

Re: a few questions from a novice scripter

Previous Thread :: Next Thread 
FruitTheRobot is not online. FruitTheRobot
Joined: 24 Jul 2011
Total Posts: 8801
07 Oct 2013 04:03 PM
so recently in an act of boredom and silliness i decided to recreate Orteil's game cookie clicker in ROBLOX and at this point i'm like entirely lost

okay so 1) as I'm adding buildings in, the script calculating cookies per second has to be modified each and every time i add a new building variety
how might i go about adding the values all of the variables within a model?

2) how would I go about adding different menus? i want six different menus to be accessible from the center panel, yet i've got no idea how I would go about switching between them.

3) how can i keep square GUIs centered? the only way i know how is to have a size of {0.5, 0} {0.5, 0} and a position of {0.25, 0} {0.25, 0} or something similar, yet at the same time i want a perfectly square button for my cookie
Report Abuse
Trapper4O77 is not online. Trapper4O77
Joined: 03 Aug 2011
Total Posts: 5648
07 Oct 2013 04:07 PM
Have your size be:

{0,X},{0,X}

X can be anything you'd like.

Position:

{0.5,-Y},{0.5,Y}

Y is half of X
Report Abuse
blackboy167thst is not online. blackboy167thst
Joined: 22 Jul 2011
Total Posts: 2468
07 Oct 2013 04:07 PM
If you don't know how to do it, why don't you start of easy? This is a complicated game for someone like you. ( I judged by the questions you asked )

Sanctuary <3 ᶘ ᵒᴥᵒᶅ
Report Abuse
FruitTheRobot is not online. FruitTheRobot
Joined: 24 Jul 2011
Total Posts: 8801
07 Oct 2013 04:14 PM
trapper,
thanks! i'll try it, although i can't really see in my head how that centers it...

black,
i actually picked this project because it seemed relatively simple and it might be a learning experience. i do, of course, acknowledge that there are many important, and relatively basic parts of scripting that i need to know, which is the entire reason i asked. thanks anyways, though!
Report Abuse
FruitTheRobot is not online. FruitTheRobot
Joined: 24 Jul 2011
Total Posts: 8801
08 Oct 2013 04:21 PM
okay i know i posted this thread yesterday but i'm still lost with the first two

also, with my first issue, i can't easily access all variables with a certain name because they all have different names

with the second one i just want to know how to detect which one is already down so that it can be moved away
Report Abuse
rrytry is not online. rrytry
Joined: 21 Aug 2012
Total Posts: 4151
08 Oct 2013 04:24 PM
[ Content Deleted ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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