SnakeOS
- 3 Devlogs
- 19 Total hours
Python Operating System
Python Operating System
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
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..)
I’ve made the shutdown button now have a little power button icon instead of the ugly text “shutdown”
Added a time display thingy that has a cool breathing animation
Added a notes(text editor) app that saves the text you type in.. yes i know this app was a very monumental change
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
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)
This devlog is already way too long but here are the next thingies i’ll add:
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