-
Content Count
28 -
Joined
-
Last visited
-
Days Won
3
Everything posted by TomCube2
-
Don't check the file update time; store the value of `latest_ts` in a file (I'd recommend an entry in `options.txt` Actually, don't put it in `options.txt`. I saw that you have JSON files, so it'd probably be better to use those) so you can compare it when you update
-
I'm on mobile so I can't test it atm, but this looks like a really cool project! A few things that I think you can improve (this is only from looking at the code, so I may not get the full picture): Move initialization logic (creating directories, etc.) into separate function instead of in the file scope Instead of downloading CC every time the program is opened, check for updates using builds.json; as update logic gets more complex, move updating to separate class Detect OS using `os.name`/`sys.platform`/`platform.system()` (see here) + `is_64bit = sys.maxsize > 2**32` to download the correct binary Line 21-22: Change `finally: "Do nothing"` to `except: pass`; `finally` does nothing to stop errors because there's nothing to catch them; `pass` is a better way to say `"do nothing"`
-
If you minimize the window it'll contain itself to the system tray and remove itself from the taskbar
-
`IsometricDrawer_Render` could be used with a `count` of 1
-
If it were CC_API, I'd suggest `IsometricDrawer.c/h`, but it sadly isn't
-
Not very well. I used the wrong tense there 😕 (I meant vi, not vía)
-
Sí, pero eso será muy fácil con la práctica
-
There's not really an easy way like Scratch, so I'd recommend learning C.
-
Documentation for making client plugins can be found here: https://github.com/ClassiCube/ClassiCube/blob/master/doc/plugin-dev.md
-
The skin server is defined in options.txt iirc
-
Use the online version. Singleplayer: https://www.classicube.net/server/play/ Multiplayer (login required): https://www.classicube.net/server/list/
-
You could maybe possibly perchance try actually doing what it says to do? Idk man, just a thought...
-
I mean, you could also look at the README. I wonder if there's anything related to MacOS in the Setup section...
-
I completely agree. Someone should really put that in the README or something! Though, I definitely shouldn't assume people would read it.