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

SnakeOS

  • 3 Devlogs
  • 19 Total hours

Python Operating System

Open comments for this post

5h 51m 38s logged

Devlog - 3

I forgot the last time i posted a devlog :]

Like all my previous devlogs i spent half the time actually coding new things and half debugging and fixing stupid mistakes i made + im also not satisfied with how little i’ve added again

Boring things i added/fixed:

  1. The workspace can now hold 88 apps(i think, i’m not very good at counting) instead of the previous 8. This is because i use .place() instead of tkinter’s(customtkinter’s) .grid or .pack so i had to make my own organization system. Before, it only organized widgets vertically so after the 8th app it would go off screen. Now it also organizes horizontally so it fits more apps!(not that i’ll ever add any more than 10 tho..)

  2. I’ve made the shutdown button now have a little power button icon instead of the ugly text “shutdown”

  3. Added a time display thingy that has a cool breathing animation

Less boring things i added:

  1. Added a notes(text editor) app that saves the text you type in.. yes i know this app was a very monumental change

  2. Reaction time app that tests your reaction time. Also, the icon of this app was the first pixel art i made(yes i know im such an artist)

This is also the final version, because the next step is shipping!

But, before shipping i need to fix a really annoying bug. When i drag a more demanding window(like for example clicker, it has quite a few widgets and images) over the apps on the left, it duplicates itself and glitches.

Being completely honest, i have absolutely no idea what’s causing that and atp i’m probably just gonna make it so that the apps appear on the sidebar.. which would also mean i made an organization system for apsolutely nothing.. or i could ship it with the bug since it’s just a qol bug and not anything game breaking

0
0
5
Open comments for this post

6h 52m 48s logged

Devlog 2


I haven’t posted a devlog in a solid week , so here it is!
For the entire week i only really coded 2 days, this is because i slept little and i did apsolutely not have the energy to code.

I’ve added only 2 apps, unfortunately. They are a clicker game which was inspired by cookie clicker(but it looks nothing alike cookie clicker) and an admin app which currently only serves as a cheat for the clicker app but as i add more apps it’ll gain more features.
(you can see both apps in the pic)

Bugs i ran into which wasted a quite a bit of time:

  • While i was making clicker, the images that should appear in the upgrade section when you buy an upgrade didn’t appear even tho everything in the code seemed correct.. long story short i was looking at my code and changing random stuff for quite a bit before i realized i was just accessing the images from the wrong path :]
  • When i “finished” the clicker app the day after my previous devlog, i noticed that the images that appear when you buy stuff aren’t there when you opened and reopened the app. I was trying a lot of stuff to see if i can somehow fix it without making a dictionary(or storing how many images each upgrade has) and after wasting probably an hour i gave up and just stored how many images each upgrade section has in a dict and it fixed it.
  • This isn’t really a bug but a lot of the time i spent making clicker was just deciding on how it will look and function, same goes for the admin app however the admin app was much simpler and before starting to code it i already had in mind how i wanted it to look and function

This devlog is already way too long but here are the next thingies i’ll add:

  1. possibly a sound when you slide a window
  2. settings
  3. introduction app
  4. definitely make the code more modular since currently there are a few magic numbers
  5. maybe make it so that you can minimize a window
0
0
8
Open comments for this post

6h 17m 58s logged

Devlog 1

After much struggling because im such a terrible coder i’ve finally made the skeleton of the os. The taskbar is the frame on the left and workspace where the apps are is in the center.

In these 6 hours all i’ve made function for the apps is the time app.

At first it was all going good, i made the ui layout fairly quickly but then came the drag system, which i couldnt get working for definitely an hour until i did a different approach and somehow fixed it(i don’t even know how).

then again everything went smoothly, i even divided the code cleanly into another file but then naturally i ran into another bug. I wanted to add a simple click sound that shouldn’t have taken long(FORESHADOWING) . . . however it took me AN HOUR. When i clicked a button the sound playedd multiple times, and me being the genius that i am i did a bunch of random things and when i was just about to scrap the sound and fix it later, i found out that in another portion of the code i was already playing the sound and that was the reason it played multiple times..

as you can see it finally all works now

0
0
7

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…