This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
072608's profile picture

Needing Help

Started by 072608, 15 December 2012 - 09:02 AM
072608 #1
Posted 15 December 2012 - 10:02 AM
I need help on windowing system that keeps track of the contents of each window, and a system to draw all the windows in the correct order and location on the screen. For my New Os any help will be awesome :D/>
Lyqyd #2
Posted 15 December 2012 - 11:03 AM
Let's see the code you have so far. :)/>
Sammich Lord #3
Posted 15 December 2012 - 01:14 PM
We are not going to code for you. The "Ask A Pro" section is for helping with code that is already made.
072608 #4
Posted 15 December 2012 - 01:47 PM
well I don't know where to start :C
dissy #5
Posted 15 December 2012 - 05:24 PM
well I don't know where to start :C

You'll probably want to start on the wiki, with the tutorial section.
Next, you'll want to learn more about the Lua language.
Finally there are all the different APIs that will be involved in putting stuff on the screen (term or paintutils), work with the keyboard (events), and for what you want to put in your windows (fs and os)

Reading through the forum posts will help greatly, to learn how others have solved problems you might run into.
Also a good understanding of procedural programming will make it easier to break down a huge task into smaller and easier chunks. It's easy to get overwhelmed without it. That way you can spend only a few days/weeks on each smaller part, to keep it from being too much work to be managable.

That should be the basics for writting an OS and window manager.