Jump to content
  • Sign Up

TomCube2

Glod Menbie
  • Content Count

    28
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by TomCube2

  1. 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
  2. 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"`
  3. If you minimize the window it'll contain itself to the system tray and remove itself from the taskbar
  4. `IsometricDrawer_Render` could be used with a `count` of 1
  5. If it were CC_API, I'd suggest `IsometricDrawer.c/h`, but it sadly isn't
  6. TomCube2

    ¿?

    Not very well. I used the wrong tense there 😕 (I meant vi, not vía)
  7. TomCube2

    ¿?

    Ah, lo vía. Es muy bien
  8. TomCube2

    ¿?

    No sé ¯\_(ツ)_/¯
  9. TomCube2

    ¿?

    Sí, pero eso será muy fácil con la práctica
  10. TomCube2

    ¿?

    There's not really an easy way like Scratch, so I'd recommend learning C.
  11. TomCube2

    ¿?

    Unfortunately, no
  12. TomCube2

    ¿?

    Documentation for making client plugins can be found here: https://github.com/ClassiCube/ClassiCube/blob/master/doc/plugin-dev.md
  13. The skin server is defined in options.txt iirc
  14. TomCube2

    ChromeOS

    Use the online version. Singleplayer: https://www.classicube.net/server/play/ Multiplayer (login required): https://www.classicube.net/server/list/
  15. You could maybe possibly perchance try actually doing what it says to do? Idk man, just a thought...
  16. I mean, you could also look at the README. I wonder if there's anything related to MacOS in the Setup section...
  17. I completely agree. Someone should really put that in the README or something! Though, I definitely shouldn't assume people would read it.
×
×
  • Create New...