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: Any simple code exercises

Previous Thread :: Next Thread 
LateralLace is not online. LateralLace
Joined: 19 Sep 2015
Total Posts: 662
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
cntkillme1 is not online. cntkillme1
Joined: 16 Feb 2012
Total Posts: 592
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 is not online. 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
cntkillme1 is not online. cntkillme1
Joined: 16 Feb 2012
Total Posts: 592
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
LateralLace is not online. LateralLace
Joined: 19 Sep 2015
Total Posts: 662
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
kangerujack is not online. kangerujack
Joined: 08 Nov 2009
Total Posts: 690
02 Jul 2016 12:36 AM
Make an explorer GUI that is animated with tweening.
Report Abuse
LateralLace is not online. LateralLace
Joined: 19 Sep 2015
Total Posts: 662
02 Jul 2016 05:35 PM
Lol I give up on this thread. Google save me.
Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
02 Jul 2016 06:12 PM
do fizz buzz
Report Abuse
CyberNugget is not online. CyberNugget
Joined: 04 Dec 2011
Total Posts: 568
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
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
02 Jul 2016 06:18 PM
Complete eLunate's challenge of making a custom gmatch function. It's not too difficult
Report Abuse
CyberNugget is not online. CyberNugget
Joined: 04 Dec 2011
Total Posts: 568
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
cntkillme1 is not online. cntkillme1
Joined: 16 Feb 2012
Total Posts: 592
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
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