Threads for shmup

  1. 7

    I wonder if APEs can be used to open some elementary framebuffer/OpenGL context to make little GUI programs / games “actually portable”.

    1. 8

      It can be done, it’s a bit convoluted but I got it running on FreeBSD, NetBSD, Windows and Linux. OpenBSD requires some more work due to their strict syscall policies. I didn’t attempt macOS, but I guess it could be done.

      https://github.com/jacereda/cosmogfx

      1. 1

        Put it in the list, congrats for being the first GUI to appear

        https://github.com/shmup/awesome-cosmopolitan#tilting-at-windmills

        We have a fellow in the Discord doing really nice TUI work, too. Either inspired by, or a port of, dflat (TUI with windowing)

    1. 3

      I have a script using slop and ffmpeg, https://raymii.org/s/snippets/Record_your_Linux_Desktop_with_ffmpeg_and_slop.html, but it creates huge files. This articles approach looks interesting because I’ve now mostly switched to Peek, which producesway smaller ffiles and can be resized to a specific window. https://github.com/phw/peek

      1. 2

        peek is very convenient, and it’s even in most distro’s repositories, I believe. Certainly on Fedora.

        I like to output mp4s with it, even if it describes itself (in the repository) as:

        peek.x86_64 : Animated GIF screen recorder with an easy to use interface

      1. 1
        1. 2

          Another useful inputrc configuration to save strokes is:

          "\e[A": history-search-backward
          "\e[B": history-search-forward
          

          The above maps to your up and down arrow. This will filter lines that start with whatever you type. So if you’d say a thing like:

          > scp <press up arrow>
          

          you’ll go backwards in history only showing commands that start with scp.

          The bonus is that this also works in a mysql shell. Makes it nice to quickly filter through your select queries or use statements, etc.

          http://showterm.io/2a5dfbc6b9bb9745b2992