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 » Scripting Helpers
Home Search
 

Re: ROBLOX Wiki - Coroutines?

Previous Thread :: Next Thread 
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 08:14 PM
Does anyone know if any ROBLOX Wiki writer will make a tutorial on coroutines? The only page I can find is on coroutine manipulation.
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
30 Jul 2011 08:15 PM
What do you want to know about coroutines? o: also, I will tell the wiki writters to add a new tutorial about them, I would do it myself, but I didn't apply for it this year...
Report Abuse
61352151511 is not online. 61352151511
Joined: 30 Nov 2009
Total Posts: 8094
30 Jul 2011 08:16 PM
Hmm. Well Spectrumw, If you PM me what the page should be like I'll make it in 2 days.

‹•º`¨¨¨☺¨¨¨´º•¸
~ AeroMcCrash ~
¸•º`¨¨¨☻¨¨¨´º•›
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 08:18 PM
oyus nao i weel fynalli learn coroutines
Report Abuse
chikenugget is not online. chikenugget
Joined: 09 May 2009
Total Posts: 2552
30 Jul 2011 08:19 PM
Are you two spectrum's brothers or cousins or something :o
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 08:21 PM
No, my friend suggested this name for me (in real life). He's kind of weird. I just asked him for an original username, and he thought of this.
Report Abuse
ponageman2086 is not online. ponageman2086
Joined: 18 Apr 2009
Total Posts: 219
30 Jul 2011 08:38 PM
A cool coincidence though.

This is chikenugget, I just got banned. :/
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
30 Jul 2011 08:39 PM
Why? lol

Never noticed there were 2 spectrum. :P
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
30 Jul 2011 08:40 PM
There are three é_e
http://www.roblox.com/User.aspx?ID=373061
Report Abuse
ponageman2086 is not online. ponageman2086
Joined: 18 Apr 2009
Total Posts: 219
30 Jul 2011 08:41 PM
I made a Spectrumy and I was gonna troll you guys once it got 24 hours old >:D
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
30 Jul 2011 08:43 PM
Four, I have Spectrum in my XBL GT.
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 09:27 PM
@ponage

You referred me -_-

And I also sent you a message saying, "Who exactly ARE you?"
Report Abuse
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
30 Jul 2011 09:28 PM
o.O
I used to always think lol
Spectrumw
was
Spectrumz
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 09:32 PM
http://www.roblox.com/User.aspx?ID=10789947
http://www.roblox.com/User.aspx?ID=16268505
http://www.roblox.com/User.aspx?ID=3331622
http://www.roblox.com/User.aspx?ID=4020252
http://www.roblox.com/User.aspx?ID=4937203
http://www.roblox.com/User.aspx?ID=18779159
http://www.roblox.com/User.aspx?ID=15550504

Sigh...

And no, Spectrumw knows a lot more of Lua than me, smurf.
Report Abuse
EpikYummeh is not online. EpikYummeh
Joined: 05 Sep 2009
Total Posts: 1879
30 Jul 2011 09:34 PM
Couroutines aren't too complex. It's all about finding applications for them. It's like being able to add a pause button in your code while being able to resume it and pause it again whenever you want.
Report Abuse
ponageman2086 is not online. ponageman2086
Joined: 18 Apr 2009
Total Posts: 219
30 Jul 2011 09:36 PM
You declined my friend request DDDDD;
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 09:41 PM
I had no idea who you were at the time DDDDD:
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
30 Jul 2011 09:47 PM
@Epik
They will also contain the errors and return them, just like Pcall / XPcall, with the edge that with coroutines you can use wait().
Report Abuse
minicl55 is not online. minicl55
Joined: 25 Dec 2010
Total Posts: 2371
30 Jul 2011 09:51 PM
I actually am on a best friends list of a wiki writer. But I'm sorry, but I don't want to ruin that.


Thanks,
~¡Minicl55!~
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 09:58 PM
@minicl55

It isn't that hard. They're just people, like us.
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
30 Jul 2011 09:59 PM
I made a begginers article to coroutines, hold on let me pull up the link.
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
30 Jul 2011 09:59 PM
http://wiki.roblox.com/index.php/Beginners_Guide_to_Coroutines

coroutines really should be redirected to it.
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 10:00 PM
I've got my eyes glued to this thread in anticipation :DDD
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 10:06 PM
Hmmm...

local h=Instance.new("Hint",workspace);
local m=Instance.new("Message",workspace);

coroutine.resume(coroutine.create(function()
for i=60,0,-1 do
Wait(0.5)
h.Text=i
end end -- one for the for, one for the function
)--closes create
)--closes resume

for i=60,0,-1 do
Wait(1)
m.Text=i
end


Wouldn't you need three ends for the coroutine thing? Like this?

local h = Instance.new("Hint",workspace)
local m = Instance.new("Message",workspace);

coroutine.resume(coroutine.create(function()
for i=60,0,-1 do
Wait(0.5)
h.Text=i
end --Closes the for loop
end) --Closes create
end) --Closes resume
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
30 Jul 2011 10:08 PM
No because the only things that need an end are the for and the function. I test all my code before putting it up ( but then of course NXTboy and soulstealer have to go and screw all my code up on my random terrain article >:( )
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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