You are browsing as a guest. Sign up (or log in) to start making projects!

3h 1m 52s logged

OUROS Devlog #2 :3-pet: :heart-communist:

Hai!! Again :3 Soo. Devlog 2!!!! <3
 ‎

What I added: :Check-out-daddys-glowing-reviews-on-Yelp:

Another app!!! :3-blahaj-spinning:
style.css file to store my styling
Z-Index handling
The Manifesto :3 :book-move:
Um icon tapping… idk.
 ‎

What I changed: :blabla:

I moved my styling to style.css!!! yayay 🎉
Alr that’s all lol :3
(I genuinely was talking to myself writing this >_<)
 ‎

What I want to add: :sob-pray:

More apps:apple-logo:
Open windows show in the top bar
Minimize windows
Better art…🎨
 ‎

## Code summary: 
index.html displays the things and makes the site not look like this: :actually-nothing: . ‎:sob-neha: script.js is just scripts… Makes the site better basically… :sob-pray: style.css is just styling for index.html to make it work :sob-hole: .

Yeah, I’m not cut out for this
 ‎

Quick Longer code comments

index.html

<!DOCTYPE html>

<html>

<head>
    <link rel="stylesheet" type="text/css" href="style.css" />
</head>

<body>
    <!--Here we have the welcome window (the leftmost window in the pic ^-^)-->
    <div id="welcome">
        <!--Ok! So this is the drag bar/title bar code. The image is the window close button-->
        <div id="welcomeheader"><img id="welcomeclose"     src="./pictures\OUROS-HAMMER-AND-SICKLE.png"
                     alt="OUROS Icon"></div>
        [welcome window stuff]
    </div>
        <!--Here we have the manifesto window code-->
    <div id="manifesto">
        <!--Same as the welcome window top bar/drag bar-->
        <div id="manifestoheader"><img id="manifestoclose" src="./pictures\OUROS-HAMMER-AND-SICKLE.png" alt="OUROS Icon"></div>
        <!--This code just gets the PDF and puts it in the window-->
        <object data="Documents\Manifesto.pdf" type="application/pdf" width="100%" height="100%">
            <a href="Manifesto.pdf">Open Manifesto PDF</a>
        </object>    </div>    <!--just the topbar in the pic -_- -->
    <div class="topbar">
        [stuff]
    </div>

    <!--Connects to the script.js file and the style.css file :3 -->
    <script src="script.js"></script>

</body>

</html>‎ 

script.js (I’m sorry the code here was so messy😭)

//Updates the time in the top left of the pic
function updateTime() {
    [stuff]
}

//calls the update time function every second
updateTime();
setInterval(updateTime, 1000);

//A few event listeners...
welcomeScreenClose.addEventListener("click", function() {
    closeWindow(welcomeScreen);
});
...

//Checks if a window has been clicked for zIndex stuff
function addWindowTapHandling(element) {
      element.addEventListener("mousedown", () =>
            handleWindowTap(element)
      )
}

addWindowTapHandling(welcomeScreen) 
addWindowTapHandling(manifestoWindow) 

//A few functions I don't care to explain...
[stuff]
//Makes the windows draggable
[more stuff -_-]‎ 

style.css

/* A lot of styling. */
[styling]

Sorry I slacked on that last one ._.
 ‎

Go check out the full code on GitHub + my demo!! :3-blahaj-spinning:

GitHub Repo :github:
Github Demo :github:
 ‎

Very random quote from Google: :sob-neha:

When I give food to the poor, they call me a saint. When I ask why the poor have no food, they call me a Communist.

0
443

Comments 13

@firancly

Cool devlog! How were you able to get cool emojis like that?

@Wynle

type :search_emojis_here: ^-^

@lupc65779

Its missing the gay chinese communist propaganda posters ;<

@Wynle

😭🔜

@VasilyKrupenin

I am a communist born and raised in the motherland and I approve of this project. Our recommendations are to add a few songs of the ансамбль Александрова like свещенная война, интернационал, красная армия всех силней, and obviously, гимн советского союза as background music, and to sprinkle in some communist slogans around the operating system, like пролетарии всех стран, соединяйтесь! We are very intrigued by your project.

@Wynle

🫡

@Keyboard1000n17

:communist:

@ar-bh

how do you type code like that using markup?

@Wynle
//code here

I think it’s like this. You can press the question mark when writing a devlog for formating options :3

@UnLuckyDev

Are we allowed to do something like this? 😭
Also, the quote lowkey makes sense

@jwexly

ts so tuff 🥹

@dan

WE code for the communist party of Hack Club

@rosikur

WE are getting that stardust