84 posts
Posted 25 November 2012 - 02:13 PM
Hello!
ElectroSystems™ here!
So, a few days ago I decided I needed to make something more advanced than my usual programs like calculators or screen size checkers, and thought: "Hey! I'll make a OS" So here we are now.
Keep in mind that I am still developing this OS and will try to update fairly regularly (Hopefully 1-2 updates a day?)
Please report any bugs in the comments!
To install type:
pastebin get scDrKxx4 startup
Then after them files have downloaded succesfully, restart your computer!
Note: To download these you need the http API anabled. :3
I am going to let you explore the OS yourselves, but heres a hint: The brown dot and blue dots in the corners do things if you click them. :P/>/>/>/>/>
Enjoy!!! :D/>/>/>/>/>
Here's some screenies :lol:/>/>/>/>
Desktop:
Start menu:
Run a entered program!:
84 posts
Posted 25 November 2012 - 02:27 PM
:D/>/>/> Screenies?
Okay, coming right up!
84 posts
Posted 25 November 2012 - 02:59 PM
222 posts
Location
Canada
Posted 25 November 2012 - 09:10 PM
Very nice
btw: How do you spell so good is MSpaint?!
84 posts
Posted 26 November 2012 - 01:36 AM
Very nice btw: How do you spell so good is MSpaint?!
I'm sorry, what?
84 posts
Posted 26 November 2012 - 01:38 AM
Ah! That is a clever idea to make a start menu like that. :D/>/>/>/> However, I must request something as a feature of the OS. Icons? :P/>/>/>/> like actual icons, 3x3 or 5x5? or 4x4 or something like that? This gives a wider range of area for us to click xD *serious face* I WILL CLICK YOU TINY BUTTON THING!
Yeah, I would have done that but the only way I can think of is putting a ton of elseifs, but thats kind of inefficient. Do you have a better way of detecting if the icons are clicked?
84 posts
Posted 26 November 2012 - 01:47 AM
Very nice btw: How do you spell so good is MSpaint?!
I'm sorry, what?
Oh, and thanks!
147 posts
Location
England
Posted 26 November 2012 - 10:47 AM
Ah! That is a clever idea to make a start menu like that. :D/>/>/>/>/> However, I must request something as a feature of the OS. Icons? :P/>/>/>/>/> like actual icons, 3x3 or 5x5? or 4x4 or something like that? This gives a wider range of area for us to click xD *serious face* I WILL CLICK YOU TINY BUTTON THING!
Yeah, I would have done that but the only way I can think of is putting a ton of elseifs, but thats kind of inefficient. Do you have a better way of detecting if the icons are clicked?
You check that the mouse is clicked WITHIN an area, not on one cell. For example, if the box is in coordinates (3,3) (3,4) (4,3) (4,4) you do:
If mousex <= 4 and mousex >=3 and mousey <= 4 and mousey >= 3 then
--Do stuff
End
Should work but I haven't tested as I am on tablet
222 posts
Location
Canada
Posted 26 November 2012 - 05:54 PM
Man, i love this OS.
I can't belive it took me so ling to figure it out…..
84 posts
Posted 27 November 2012 - 07:26 AM
Man, i love this OS. I can't belive it took me so ling to figure it out…..
Thanks, I appreciate it!
Ah! That is a clever idea to make a start menu like that. :D/>/>/>/>/&gt;/&gt; However, I must request something as a feature of the OS. Icons? :P/>/>/>/>/&gt;/&gt; like actual icons, 3x3 or 5x5? or 4x4 or something like that? This gives a wider range of area for us to click xD *serious face* I WILL CLICK YOU TINY BUTTON THING!
Yeah, I would have done that but the only way I can think of is putting a ton of elseifs, but thats kind of inefficient. Do you have a better way of detecting if the icons are clicked?
You check that the mouse is clicked WITHIN an area, not on one cell. For example, if the box is in coordinates (3,3) (3,4) (4,3) (4,4) you do:
If mousex <= 4 and mousex >=3 and mousey <= 4 and mousey >= 3 then --Do stuff End
Should work but I haven't tested as I am on tablet
Okay, i'll go cook something up!
149 posts
Posted 27 November 2012 - 08:07 AM
About detecting mouse click, im not sure how i managed it that day but by saving 2 coords in a single string line (cords X1,Y1,X2,Y2 seperated by #) in a table and then a function takes mouse click Y and X and looks to see if the coords are within the box drawn by the coords,
the thing is i forgot how i made it know what coords are within that box, i think something like looking at the box Cord X1+1 and Y1+1 to set the inner corner of the box(thats if the box has borders that should not be included)
Sorry i cant dig up the code since that world was deleted :(/>/&gt;
–looking around to see if i cant find it maybe–
84 posts
Posted 28 November 2012 - 07:12 AM
New version! Now the paint desktop icon is 2x2 and the start menu button that opens it is 2x2!
pastebin get 3nDb6Pe4 startup
84 posts
Posted 04 December 2012 - 05:53 AM
Another version, just updates something i'll put it in a spoiler so it wont spoil the feature for the OS. :)/>
Spoiler
The credits. :D/>Heres the link for download. :)/>
pastebin get bFrbUbqS startup
386 posts
Location
France
Posted 04 December 2012 - 06:39 AM
84 posts
Posted 04 December 2012 - 07:16 AM
Look cool ! It's original !
Ps : if you want to detect a mouse click, look here :
Spoiler
http://www.computerc...6403#entry56403
Thanks!
84 posts
Posted 14 December 2012 - 06:31 AM
Small bug fix! Just fixes the paint icon so that It will actually run paint!
pastebin get 7dEL55eJ startup
212 posts
Location
Leeds, England
Posted 14 December 2012 - 10:04 AM
Hey man, nice OS, it has a lot of potential ^_^/> I'm currently working on my own too so if you want any help ill be happy to assist you :)/>
none the less good job, keep working on it ^_^/> would love to see the final product!
~NDFJay
84 posts
Posted 14 December 2012 - 10:53 AM
Hey man, nice OS, it has a lot of potential ^_^/> I'm currently working on my own too so if you want any help ill be happy to assist you :)/>
none the less good job, keep working on it ^_^/> would love to see the final product!
~NDFJay
Thanks! :)/> It means alot!
84 posts
Posted 28 March 2013 - 12:04 PM
I have FINALLY decided to start to work on this again, and have come up with an installer that installs all the files you need automatically!
Code:
pastebin get LUABT7MS startup
Enjoy!
220 posts
Location
Germany
Posted 29 March 2013 - 03:28 AM
Please no fake loading screen >.<
btw for that "credits" screen you could use os.pullEvent(), so it will continue when the users wants to, and not after like felt 0.2 seconds :P/>
84 posts
Posted 29 March 2013 - 04:45 AM
Please no fake loading screen >.<
btw for that "credits" screen you could use os.pullEvent(), so it will continue when the users wants to, and not after like felt 0.2 seconds :P/>
Ill get rid of it.
And thanks
84 posts
Posted 29 March 2013 - 05:09 AM
New update! Removes loading time and fixes some things.
pastebin get scDrKxx4 startup
220 posts
Location
Germany
Posted 29 March 2013 - 07:33 AM
Hey cool :D/>
Btw you could check before running a file with the brown button, if it even exists with
if not fs.exists(run) then
--blah
else
shell.run(run)
end
84 posts
Posted 30 March 2013 - 07:50 AM
Hey cool :D/>
Btw you could check before running a file with the brown button, if it even exists with
if not fs.exists(run) then
--blah
else
shell.run(run)
end
I kinda feel stupid for not doing that now. :P/>