Windows The GM OS Project (GameMaker Operating System)

Discussion in 'Work in Progress' started by orSQUADstra, Jan 3, 2018.

  1. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    Quick progress update, started reworking context menus!

    [​IMG]

    The planned features:
    • Sub-context menus
    • Separators
    • Icons
    • Keyboard shortcut labels
    • Disabled options
    I feel like where this is going will be a huge improvement, as the previous context menus only offered to have a list of options without the ability to create sub-context menus, icons for the options, or any of these mentioned above. This might look like a minor work for some of you, but it's the details that matters, right? :D
     
  2. trg601

    trg601 Member

    Joined:
    Jun 21, 2016
    Posts:
    142
    The new interface elements are looking really good!
    Can't wait to mess with it :)
     
    orSQUADstra likes this.
  3. Liam Jacobs

    Liam Jacobs Member

    Joined:
    Jul 1, 2016
    Posts:
    92
    Man - the stuff you design is INSANE! I really can't wait for a release of this :).
     
    orSQUADstra likes this.
  4. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    Enhancing the blur effect, now with a bigger spread and skipping less details than the previous one :D


    [​IMG]
     
    Gamerev147 and trg601 like this.
  5. Type Ace

    Type Ace Member

    Joined:
    Nov 12, 2017
    Posts:
    28
    One of the best projects I've ever seen about game maker!
    I hope to try a demo version soon!
     
    orSQUADstra and Liam Jacobs like this.
  6. Liam Jacobs

    Liam Jacobs Member

    Joined:
    Jul 1, 2016
    Posts:
    92
    I'm incredibly hyped for this project, too.
     
    orSQUADstra likes this.
  7. busterwbond

    busterwbond Member

    Joined:
    Apr 19, 2018
    Posts:
    11
    Woah, this seems rlly hard!
    Gonna be incredible when its done!
     
    orSQUADstra likes this.
  8. Liam Jacobs

    Liam Jacobs Member

    Joined:
    Jul 1, 2016
    Posts:
    92
    Any updates, man?
     
  9. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    Hey guys - sorry for the complete lack of progress or even information. I had to learn a lot lately and I've been pretty busy and tired. But school is over for me, and I have all summer to work on the project! :D

    The project might go over a bigger overhaul, I'll try to make it faster and more efficient, also I'll try to make my own system to prevent crashing from faulty codes in Shells. The design will be similar to what has been seen in the last few updates, but now that I have made a proper blur effect (which is not static, aka it doesn't just draw the background blurred, but everything behind), I can rely on that to some extent to make the visuals even more appealing.

    I'll try to post updates as frequently as possible, and make as much progress as I can within my free time that I can dedicate to keep this project going.

    If the idea of me doing updates in the form of short youtube videos would sound better to you than just a plain box of text and a screenshot, I can totally do that as well.

    As for everyone who's planning on making Shells, or for some who already do, this will be half good half bad. Shells will be simplified a bit, the display Shells will use a single surface that you draw on, so 0,0 is the top left corner of the window right below the titlebar. Shell programs as they are will change, you'll have much more control over how the window looks and behaves, and you'll have some more text files to specify things, but more about this a bit later when GMOS itself has progressed a bit forward.

    Thank you for being patient, and I hope you still have interest in the project. ^^
     
    trg601 and Cloaked Games like this.
  10. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    I really don't feel good for not doing anything for such a long time and having nothing to show, so I took my time today and started reworking those context menus, + reworked my blur code to make it faster, and actually dynamic. (Previously it was static, only blurred the wallpaper, now it blurs everything behind :D )

    Here's the two combined:
    [​IMG]
    (Note: the edges are not rounded yet, but they will be!)
     
    Gamerev147, trg601 and ThePC007 like this.
  11. ThePC007

    ThePC007 Member

    Joined:
    Jul 16, 2016
    Posts:
    20
    A blur effect in GM8? Well, that's a first. How'd you do that?
     
    orSQUADstra likes this.
  12. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    It's pretty simple but brilliant: I draw everything on a surface. Then I have a script that you can call in, which does the blur. All it does is setting up two surfaces, one the same size, the other half the size of the surface you want to blur. Turn texture interpolation on, and stretch the two surfaces on each other. And voila! A pretty convincing and fast blur effect :D
     
    ThePC007, trg601 and Cloaked Games like this.
  13. ThePC007

    ThePC007 Member

    Joined:
    Jul 16, 2016
    Posts:
    20
    Wow, that's amazingly simple for how awesome it looks. I swear, I could hardly tell this apart from a real blur shader. :eek:
     
    orSQUADstra likes this.
  14. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    Not that much progress, just fixed some stuff here and there, and the new button system is finally working correctly :D

    [​IMG]
     
    ThePC007 and Gamerev147 like this.
  15. lolslayer

    lolslayer Member

    Joined:
    Jun 23, 2016
    Posts:
    634
    Should make a Linux OS that looks this good
     
    ThePC007 and orSQUADstra like this.
  16. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    If I knew how to do it, I would probably attempt it :D
     
  17. ThePC007

    ThePC007 Member

    Joined:
    Jul 16, 2016
    Posts:
    20
    How exactly will developing apps for this thing look like? Will we be able to create windows and fill them will your premade GUI components? Will we still be able to draw things (shapes, etc.) into the windows (on some kind of surface or something)?
     
    orSQUADstra likes this.
  18. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    I will include a full documentary. The main thing is, your apps are going to be folders that you name "[some folder name].shl", and the system detects it like an .exe or something. Inside the folder you'll have a create.txt, step.txt, etc, that you can write your GML code in. The OS will load it in, but firstly add the window codes automatically. The app will be drawn on a surface, so you don't need to worry about drawing at "x+..." (even though you will want to have that part for mouse_in_rectangle() and things like that)

    But I'll go into deep detail in the said documentary, right when the first release of the OS is out for the public. :D
     
  19. ThePC007

    ThePC007 Member

    Joined:
    Jul 16, 2016
    Posts:
    20
    Wait, does that mean we'll only get one window? It'd be really cool if we got multiple windows, if only to make it easier to add pop-up windows (like a settings menu or something), rather than having to draw those into the main window itself.
     
    orSQUADstra likes this.
  20. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    You'll have selection lists, popup message windows, context menus, all of these pop out in front of the window, so don't worry, you have plenty to choose from! :D And in the very end, you'll be given an option "customWindow = true;", which will ignore all window codes. That means you're entirely free of doing whatever you want, but that also means you'll have to redo everything if you want an actual window (dragging, window sequence, resizing, all those). I will try to make it possible in an easy way to have multiple windows for one app though ;)
     
    ThePC007 likes this.
  21. lolslayer

    lolslayer Member

    Joined:
    Jun 23, 2016
    Posts:
    634
    Damn that's cool
     
    orSQUADstra likes this.
  22. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    Started experimenting with a dark theme!

    [​IMG]

    Fixed some depth errors and fixed the smoothness of resizing, enhanced the buttons and what not... Still plenty to do, but I feel like I'm going in the right direction :D

    Also, updated the main post ;) Just so it matches the new design
     
    ThePC007 and K3llyll like this.
  23. StoneTide

    StoneTide Member

    Joined:
    Jan 1, 2018
    Posts:
    128
    Looks cool as - this could be the next generation of windows ;)
     
    orSQUADstra likes this.
  24. Gamerev147

    Gamerev147 Member

    Joined:
    Sep 12, 2016
    Posts:
    421
    Except it can't xD it's an .exe
     
    orSQUADstra likes this.
  25. Custom-Games.com

    Custom-Games.com Member

    Joined:
    Jan 30, 2017
    Posts:
    6
    pretty cool idea! keep it up
     
    Gamerev147 and orSQUADstra like this.
  26. StoneTide

    StoneTide Member

    Joined:
    Jan 1, 2018
    Posts:
    128
    Future transformation ;)
     
  27. Liam Jacobs

    Liam Jacobs Member

    Joined:
    Jul 1, 2016
    Posts:
    92
    This is looking fantastic :)!
     
    orSQUADstra likes this.
  28. b38b38b

    b38b38b Member

    Joined:
    Jul 24, 2018
    Posts:
    14
    That would be great for my second Computer. Keep up the good work!
     
    K3llyll and orSQUADstra like this.
  29. Liam Jacobs

    Liam Jacobs Member

    Joined:
    Jul 1, 2016
    Posts:
    92
    Going to assume this project is deprecated?
     
    orSQUADstra likes this.
  30. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    It's on ice at the moment. School started, I have a surgery coming up soon, and also have a game project going on that I'd like to finish first..
    Sorry if it's a bit of a disappointment, but I'll get back to this project sooner or later, it's just not really all that much of a priority at the moment.
     
    Liam Jacobs and Conbeef like this.
  31. Liam Jacobs

    Liam Jacobs Member

    Joined:
    Jul 1, 2016
    Posts:
    92
    Just out of curiosity:

    If the project remains on ice indefinitely, with no future plans to release - why not release a (semi?) functional version of it? Or possibly even the source?
    It's one of the best looking GUI projects I've seen made with GM, so it'd be a shame to see all of this hard work go to waste :).
     
    orSQUADstra likes this.
  32. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    I have 2 different project files, the new design is a new project from scratch but it's very messy and barely has any functionality, the old one works pretty well but would still need some polishing. Plus they're both .gmk files, I think GMS 1.4 can import that but GMS 2 can't.
    Anyway I'll try to work on the older one, patch a few things up and probably release an .exe, but if nothing then I might as well just give out the .gmk files
     
    Liam Jacobs likes this.
  33. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    Sooo I've been thinking of moving this project over to GMS 2. That has a few pros and cons though. For one, the performance will be better than what I'm having right now, and I should be able to have some nice effects made more efficiently and easier than in GM8, on the other hand, there's no execute_string() command, which is what this whole thing is based around (at least, the reading of third party programs). So I'll have to find a workaround for that xD But it might be for the better. I'll look into it a bit later
     
    Liam Jacobs likes this.
  34. Morendral

    Morendral Member

    Joined:
    Jun 27, 2016
    Posts:
    322
  35. Bearman_18

    Bearman_18 Member

    Joined:
    Jan 24, 2018
    Posts:
    116
    So hi! I just found this project, and I want you to know that I totally support it, and would certainly use it! It looks very quality. especially for being made with gm8!
    Interestingly, the Wikipedia definition of SubOS says they were mostly made by the gamemaker community. I was amused, because I had no idea what it meant at first, and gm was immediately brought up.
     
    Liam Jacobs and orSQUADstra like this.
  36. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    So just for the fun I might be sticking with GM8 for now. Anyway, worked on it a bit more and fixed some glitches in the new design:
    [​IMG]

    Basically, windows actually use surfaces now (previously they didn't in the old design, it's all new code now), but I messed something up and buttons wouldn't be in the surface. I fixed it now though, and it's easier than ever to use with a few simple scripts: var = button_create(x,y,width,height,text), button_destroy(var), button_clicked(var), draw_get_button(var) - but more on that later for the ones who might want to make third party programs for the OS

    I'll update this thread when enough functionality is stable and finalized:
    [​IMG]
     
    Liam Jacobs and Bearman_18 like this.
  37. Mool

    Mool Member

    Joined:
    Nov 6, 2016
    Posts:
    102
    Why do u not use
    Code:
    gml_pragma("global", "myshellText");
    Edit: i see gml_pragma("global", "myshellText"); the code need to be know at compile time
     
    Last edited: Nov 30, 2018
    orSQUADstra likes this.
  38. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    Because it's not a thing in GM8 :p
     
    Liam Jacobs and Mool like this.
  39. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    Some tiny progress
    [​IMG]
    [​IMG]
     
    Liam Jacobs and Gamerev147 like this.
  40. Morendral

    Morendral Member

    Joined:
    Jun 27, 2016
    Posts:
    322
    I'm curious about how you detect memory leaks. I see from your screenshots that it is something you are tracking
     
    orSQUADstra likes this.
  41. orSQUADstra

    orSQUADstra Member

    Joined:
    Aug 8, 2017
    Posts:
    193
    For now memory leaks are just a placeholder, it actually only shows how many times surfaces have disappeared when they shouldn't have :D

    Edit: Also the place in the middle of that screen will be filled with the running apps. Kinda like Windows' Task View
     
    hamdrax24, Liam Jacobs and Morendral like this.
  42. ThePC007

    ThePC007 Member

    Joined:
    Jul 16, 2016
    Posts:
    20
    Wow, this is beginning to look really cool. :) Loving the Task View'ish thingy. :)
     
    Liam Jacobs and orSQUADstra like this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice