Game dev and Linux user

  • 19 Posts
  • 264 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle


  • Some build advice:

    • Be safe - don’t wear socks, stand on a hard floor if possible, ground yourself if you have a wrist strap for that, and discharge any static by touching metal and/or the case before touching any components. And no matter what, DO NOT open the power supply, and definitely don’t touch anything in it!
    • The huge motherboard connector probably requires more force than comfortable.
    • Watch through at least one build guide before starting. That way you know the process.

    Hope that helps, and don’t let it scare you away - it’s really fun to do and if you’re careful, chances are nothing major will go wrong.





  • Csgo and 2 have a “trust” system to keep track of player behavior and put you in games with others of similar trust value. So if you get reported often or have a history of bad behavior, you’re more likely to be put in games with other bad actors, and vice versa. Idk how effective it is though.

    Honestly there isn’t a great solution, which is kind of why I avoid competitive multiplayer games. Even kernel level anticheats can be circumvented.

    The nice thing about vac is that theres pretty much no false positives. And valve will occasionally update it, catching a ton of cheaters off guard and getting them banned.


  • Gdscript let’s you do static typing, so “var a : int” ensures that a is an integer. This can help prevent bugs and bad code, and even speeds up the interpreter since it can make some assumptions.

    So until now, you couldn’t do that with dictionaries, they always allowed any type as a key or value. This adds that functionality so dictionaries can be used with stricter rules, preventing bugs and making them faster.



  • It depends on how you install stuff. Games on Steam or downloaded from online from places like itch.io can be put on any drive without issue.

    In terms of software though, native packages (deb, rpm) are gonna want to put files in various system folders, so it’s pretty much impossible to get those off your os drive.

    Other packaging solutions can help with this though. Appimages can be put anywhere, nix let’s you install to another drive, same with flatpak.

    And if you’re savvy, you could use docker to install system packages on other drives, although I wouldn’t recommend it.




  • So I use a surface device with the Linux surface kernel, and there was (and probably still is) an issue where the type cover doesn’t properly rebind after being detached and re-attatched. To make matters worse, connecting other USB devices disconnected the type cover. My solution was to make a udev rule that detected if the keyboard is “removed” and then try to rebind it, effectively unplugging it and plugging it back in again in software.