Game dev and Linux user

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

help-circle


  • 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.












  • Julian@lemm.eeto196@lemmy.blahaj.zoneWendy Carlos rule
    link
    fedilink
    English
    arrow-up
    20
    ·
    2 months ago

    The first programmer was a woman (Ada Lovelace), the person who laid the foundation for all modern computing was gay (Alan Turing), and the person who revolutionized modern chip design was trans (Lynn Conway). Computer science history is filled with queerness and diversity.