|
| 02 Jul 2016 12:20 AM |
So I've decided to try to wake up my brain a little and try some exercises. Well coming up with that kind of crap (that isn't to complex) already makes my brain hurt. So what small little exercises can you come up with that involve value types such as tables, math (though no Vector/UDim crap pls!), and bools that don't involve any objects/Instances? For now I'd --perfer-- the exercise to be fairly small and require a max number of lines o code.
The it is of a brain teaser the better (lol grammer). |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 12:24 AM |
what do you mean no vector crap lol? and bools that don't involve objects what?
Whatever: go make a thread scheduler in standard lua so I can run multiple scripts collaboratively, and so I can yield and another thread can run while I'm yielding so I'm not wasting resources. essentially just use the power of coroutines to do what they do (in standard lua there is no wait function so you'll have to implement that yourself). |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 02 Jul 2016 12:24 AM |
"he's limiting himself to only things he can do
which is *dumb* because he can't do anything"
-lordrambo |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 12:27 AM |
here's an example i whipped up, it's all plain lua, sleep is not a real standard lua function so that's what i implemented as well: puu dot sh/pNqoG/a630797cd9.gif |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 12:30 AM |
It's like scripting a gui's animation, but not setting any properties of that gui. basicly generating the numbers.
@cnt btw don't want anything to do with 3d/2d space, so I left out Vector3's, Vector2's, and UDim2's.
@Kodran Nah I just need something to get me started on a piece of code in the morning. |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 12:36 AM |
| Make an explorer GUI that is animated with tweening. |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 05:35 PM |
| Lol I give up on this thread. Google save me. |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Jul 2016 06:15 PM |
Assign goals and objectives to players with various reminders after a certain amount of time (Can be a random interval or something specific). Have a GUI pop up saying "Reminder: You need to obtain an object to open the gate". If you then feel like continuing to make this playable, it's always fun to experiment.
|
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 06:18 PM |
| Complete eLunate's challenge of making a custom gmatch function. It's not too difficult |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 06:19 PM |
Or if you're feeling brave and bold. Script an entire game for the people who come here expecting free scripts. (I'm kidding of course.)
|
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 07:23 PM |
OP I already gave you a challenge that does not involve "3d/2d space"
"Complete eLunate's challenge of making a custom gmatch function. It's not too difficult" If the OP saw one of my documents then it's too late since I made that to explain something. |
|
|
| Report Abuse |
|
|