|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|