ComputerCraft Forums

ComputerCraft => Media => Topic started by: KingofGamesYami on Aug 13, 2018, 01:17 AM

Title: ComputerCraft Event System Flowchart
Post by: KingofGamesYami on Aug 13, 2018, 01:17 AM
Reposted from here (http://www.computercraft.info/forums2/index.php?/topic/26369-computercraft-event-system-flowchart/)

I decided to make a visual of the event system. It's not by any means perfect, but I'd like to say it's pretty nice.
(https://camo.tmpim.com/173e521a94e9a8c9fe1014a6e5b1508f5a5d7402/68747470733a2f2f7777772e6c7563696463686172742e636f6d2f7075626c69635365676d656e74732f766965772f63326630346432662d623938612d346637312d613733642d3530623962343062613763382f696d6167652e706e67)
Made with lucidchart (https://www.lucidchart.com).
Title: ComputerCraft Event System Flowchart
Post by: Lignum on Aug 13, 2018, 10:04 AM
Oof, this is a great image for scaring beginners out of using the coroutine API. Either way, very nice chart, you did an awesome job!
Title: ComputerCraft Event System Flowchart
Post by: Yemmel on Aug 13, 2018, 03:55 PM
It's fascinating to see how it all comes together, you wouldn't imagine it was this complex. Very cool stuff!
Title: ComputerCraft Event System Flowchart
Post by: Incin on Aug 13, 2018, 04:08 PM
Great stuff. Only thing I would say is that in the bottom right under the condition that the program calls coroutine.yield directly, if I'm not mistaken it will still check the status of the coroutine and perform the appropriate action instead of bypassing that and going directly to the "set filter" section.
Title: ComputerCraft Event System Flowchart
Post by: KingofGamesYami on Aug 13, 2018, 04:54 PM
Quote from: Incin on Aug 13, 2018, 04:08 PMGreat stuff. Only thing I would say is that in the bottom right under the condition that the program calls coroutine.yield directly, if I'm not mistaken it will still check the status of the coroutine and perform the appropriate action instead of bypassing that and going directly to the "set filter" section.

Yeah, that's a mistake.  I'll see if I can figure out what account I made this on and if I can update it.
Title: ComputerCraft Event System Flowchart
Post by: KingofGamesYami on Aug 14, 2018, 01:59 AM
Fixed!
Title: ComputerCraft Event System Flowchart
Post by: QuickMuffin8782 on Mar 21, 2021, 08:48 PM
Awwwwweeessssooooommmmeeee cccchhhhhaaaaarrrrrrtttttt!