Okay, so I just recently finished integration of my spaceflight simulator game as well as active window displays on the top bar. So spaceflight simulator is another game I have created which is web based for stardance. It is an open-source website hosted on github pages, so I was able to use a simple iFrame tag to display this app. I just used other simple formatting to make the close button and header text. This also means that the game will update if I update the game repository which is another pro to do it this way instead of copying the entire game’s logic into this file. Now lets talk about the active app display. It is a very simple html element in the top bar with basic styling that’s text is altered in script.js within already existing functions. I have functions for opening windows and closing them, so when I open a window I just set the window’s headertext to the active window display. For the close window function I just set it to desktop as the most recent window was just closed. This logic is applied in other functions, but you get the basic idea. Thanks for reading! Try out my OS and give me feedback!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.