|
| 04 Sep 2016 11:40 PM |
Making a tycoon that's not one of the free model systems to learn more about player management.
My droppers are going to drop bricks with a mesh in it, then the mesh will go through an upgrader and get the texture applied.
Should I just keep all the brick meshes in replicated storage, and have a touched if statement to apply the texture? |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Sep 2016 11:47 PM |
i dont want any scripts i just want advice on what the best way to do this would be
can i store all the texture id's in an array and call them by placement? |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2016 11:57 PM |
| you guys call them tables i guess |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2016 12:06 AM |
| nope no way to call by position thats cool gonna do the if method |
|
|
| Report Abuse |
|
|
| |
|
dave2011
|
  |
| Joined: 02 Oct 2010 |
| Total Posts: 10581 |
|
|
| 05 Sep 2016 12:43 AM |
if you are doing it to learn I would recommend using object oriented programming for the dropped blocks, allows you to add stats or w/e to them later
Just kidding |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2016 01:09 AM |
| ok so there is an easy way to do it |
|
|
| Report Abuse |
|
|
golfercab
|
  |
| Joined: 26 Sep 2011 |
| Total Posts: 714 |
|
|
| 05 Sep 2016 01:38 AM |
| wow is the "Just kidding" a new scripters section trend? lmao. I would keep the brick in server storage, and just clone it and set its parent/cframe to whatever |
|
|
| Report Abuse |
|
|
dave2011
|
  |
| Joined: 02 Oct 2010 |
| Total Posts: 10581 |
|
|
| 05 Sep 2016 01:47 AM |
just kidding was my siggy, but ill change it if you want to be like that. He said he wanted to learn and not make a lame one and OOP is the way to future proof most games, a vital concept so you don't have to redo whatever it is you are making with it (from guns to an inventory system to tycoon droppers) when you want to add or change something
New Siggy |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2016 02:32 AM |
object oriented isnt that difficult of a concept
confusing on putting it in practice however |
|
|
| Report Abuse |
|
|