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: Scripting Challenges

Previous Thread :: Next Thread 
CrescentJade is not online. CrescentJade
Joined: 07 Jul 2010
Total Posts: 5494
16 Mar 2015 06:42 PM
nothing longer than 100 lines
nothing too complicated
nothing that uses guis/part(movement/creation) -- dont got time to test
Report Abuse
IIIIIIlII is not online. IIIIIIlII
Joined: 06 Jan 2011
Total Posts: 710
16 Mar 2015 06:43 PM
a vortex
Report Abuse
CrescentJade is not online. CrescentJade
Joined: 07 Jul 2010
Total Posts: 5494
16 Mar 2015 06:46 PM
thats object oriented.
Report Abuse
nomer888 is not online. nomer888
Joined: 13 Feb 2010
Total Posts: 551
16 Mar 2015 06:48 PM
A quine!
Report Abuse
CrescentJade is not online. CrescentJade
Joined: 07 Jul 2010
Total Posts: 5494
16 Mar 2015 06:49 PM
I shouldve said nothing with string manipulation.
Report Abuse
Stefan631 is not online. Stefan631
Joined: 23 Dec 2010
Total Posts: 1350
16 Mar 2015 06:59 PM
Make a FE compatible gun?
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
16 Mar 2015 07:00 PM
A function that tailcalls the function it was called from. Should take you 3 lines if you're counting
function Recall()
-- Single tailcall here
end
As all the 3 lines.
Report Abuse
CrescentJade is not online. CrescentJade
Joined: 07 Jul 2010
Total Posts: 5494
16 Mar 2015 07:42 PM
@Stefan wut, as in raycast?

function Recall()
Recall()
end--?
Report Abuse
rileySK3 is not online. rileySK3
Joined: 16 Feb 2013
Total Posts: 94
16 Mar 2015 07:46 PM
The space time continuum raising a high velocity of nucleon data from a spontaneous evaluation form
div class="randomcontent group1">
Some content here
div>

div class="randomcontent group1">
Some content here
<>
Report Abuse
IIIIIIlII is not online. IIIIIIlII
Joined: 06 Jan 2011
Total Posts: 710
16 Mar 2015 08:15 PM
@eLunate good stuff!

function recall()
return g(x)
end
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
17 Mar 2015 06:50 AM
Wrong...
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
17 Mar 2015 06:56 AM
@eLunate

Not sure what you're saying

function Recall(tail)
tail()
end

function foo(x)
print("hey")
end

Recall(foo)
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
17 Mar 2015 06:58 AM
^

nvm that is not a proper tail call, i should be returning it not just calling it
DEEERP
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
17 Mar 2015 07:00 AM
Nah, that recall doesn't work on anonymous functions
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
17 Mar 2015 07:03 AM
Uh, sure it does?


I use that approach in my framework

Line 194
https://github.com/RicochetSoftware/Orakel/blob/master/Main.lua
Report Abuse
drager980 is not online. drager980
Joined: 25 May 2009
Total Posts: 13385
17 Mar 2015 07:05 AM
no idea what a tail call is so for all the curious i got this from google (dont trust the confused)
"A tail call happens when a function calls another as its last action, so it has nothing else to do. For instance, in the following code, the call to g is a tail call:
function f (x)
return g(x)
end"



AND THE TIGER GOES ROAR
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
17 Mar 2015 07:05 AM
function Recall(...)
return setfenv(2, getfenv(2))(...)
end

Magic
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
17 Mar 2015 07:09 AM
laser pen :3
Report Abuse
drager980 is not online. drager980
Joined: 25 May 2009
Total Posts: 13385
17 Mar 2015 07:12 AM
somebody should buy elunate a wizard hat to emphasize the magic that emits from every post thou makes



AND THE TIGER GOES ROAR
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
17 Mar 2015 07:27 AM
tru but wich?
Report Abuse
drager980 is not online. drager980
Joined: 25 May 2009
Total Posts: 13385
17 Mar 2015 07:30 AM
this one of course! http://www.roblox.com/ROBLOX-Classic-Wizards-Hat-item?id=1049198



AND THE TIGER GOES ROAR
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
17 Mar 2015 07:46 AM
Since eLunate does not have BC it will cost us in total 14K...
We gotta start saving up...
Report Abuse
drager980 is not online. drager980
Joined: 25 May 2009
Total Posts: 13385
17 Mar 2015 07:47 AM
aye
lets start the fundraiser



AND THE TIGER GOES ROAR
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
17 Mar 2015 07:53 AM
Alright ill help, who else does?
Report Abuse
drager980 is not online. drager980
Joined: 25 May 2009
Total Posts: 13385
17 Mar 2015 07:55 AM
i've got 694 tix and 14 pence
what about you guys



AND THE TIGER GOES ROAR
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