Daniel Losvans · @dracus
4 followers · 45 posts · Server mastodon.gamedev.place

Seems the steam app steals the input. If I close steam I got it working. But not with the gamepad functions, only with the joystick functions. Have something super hacky working now which is good enough at the moment :)

#glfw #SteamDeck

Last updated 1 year ago

Daniel Losvans · @dracus
4 followers · 37 posts · Server mastodon.gamedev.place

Anyone gotten working gamepad input on Steam deck using glfw? Updated mappings but even the joystick test in glfw do not work correctly.

#glfw #joystick #SteamDeck

Last updated 1 year ago

Marco Lizza ♻️ · @mode13h
158 followers · 460 posts · Server mastodon.gamedev.place

Made my GLFW-base OpenGL game-engine build work for Wayland...

... I guess there something more I am missing, as the resulting windows doesn´t show anything meaningful. :P :D

#gamedev #indiedev #glfw #wayland

Last updated 1 year ago

Marco Lizza ♻️ · @mode13h
157 followers · 456 posts · Server mastodon.gamedev.place

Trying to compile GLFW from withing my game-engine for Wayland, over the usual X11 support. Not that straight-forward as one could hope...

... and I don't even know what to expect in case I succeed! :P :D

#gamedev #indiedev #glfw #wayland

Last updated 1 year ago

KyleH 🇨🇦 · @redacted
52 followers · 62 posts · Server graphics.social

example demo of external model loading in real time. Or as I like to call it: "Scene Appending"

#customengine #opengl #glfw #collada #cpp #imgui #rendering

Last updated 1 year ago

Javier Salcedo · @javier_salcedo
28 followers · 174 posts · Server mastodon.gamedev.place

My first window with and (linking the C library).

It was super easy, barely and inconvenience!

Just adding these 3 lines to the build.zig file, and copying the header files (+ a little bit of tweaking because macOS and OpenGL).

❤️

#zig #glfw

Last updated 2 years ago

· @PJB
71 followers · 136 posts · Server mastodon.gamedev.place

Both and are filled to the brim with missing APIs and functionality that the other has. I pray some day we can just merge them or something...

It's almost comical:

GLFW misses an event to notify you of keyboard layout changes, SDL2 misses an API to meaningfully query the keyboard layout.

GLFW has broken OpenGL vsync on macOS, SDL2 has broken OpenGL vsync on Windows.

Not in the mood to go on further. I guess I'll probably file an issue on the SDL2 GitHub tomorrow.

#glfw #sdl2

Last updated 2 years ago

· @PJB
71 followers · 136 posts · Server mastodon.gamedev.place

Discovering that doesn't have any API for getting proper key labels like does and I'm very annoyed right now.

On this macbook, the key below escape (left of 1) is § and ± (shifted). GLFW correctly prints this for glfwGetKeyName(), but SDL2 doesn't have any API like this at all. Both of SDL2's APIs (SDL_GetKeyName and SDL_GetScancodeName) simply return hardcoded names that match 1:1 with the enum names. SDL2 says the name of § is ` (grave), which is actually a different key...

#glfw #sdl2

Last updated 2 years ago

· @PJB
71 followers · 129 posts · Server mastodon.gamedev.place

Guess I'm gonna try to push through on making the default windowing API for SS14 on macOS, bye .

Still a few TODOs on the SDL2 backend I wanna get rid of though. Also I can finally properly integrate dynamically update shown keybinds in game when the keyboard layout changes, since SDL2 actually has an event for that!

(I get to partially resurrect that cursed unmerged commit where I made that work on GLFW Win32 with WNDPROC subclassing: github.com/space-wizards/Robus)

#glfw #sdl2

Last updated 2 years ago

Due to some idle time and new suggestions IceBro Lite is now at version 1.06

IceBro Lite is a debugger for programs that connects to VICE 3.6 or later.

Available here: github.com/Sakrac/IceBroLite/r

* Updated to latest and latest
* Watch values can individually be switched between hexadecimal, decimal or binary
* Selected style is saved
* New style added (picture)
* Bug fixes

#glfw #dearimgui #c64 #commodore64

Last updated 2 years ago

Ryosuke · @whoisryosuke
386 followers · 358 posts · Server mastodon.gamedev.place

shoutout to the Rendering Cookbook - already paying off by solving a bug where imgui wasn't receiving mouse clicks.

had to use a callback to sync with the I/O (which was an example in the book😁)

#imgui #glfw

Last updated 2 years ago

Ryosuke · @whoisryosuke
386 followers · 357 posts · Server mastodon.gamedev.place

finally got things in a stable place. new template is up using for window, for backend, for UI. now we can play

github.com/whoisryosuke/dx12-s

#graphicsprogramming #directx #gamedev #imgui #dx12 #glfw

Last updated 2 years ago

AnimeSlave · @animeslave
2 followers · 3 posts · Server peoplemaking.games

Now it's my time for .

Hi! I am a game developer, but I haven't any demos to show, just have some ideas and projects on the early stages. I started my gamedev journey at the beginning of this year by changing my prevoius work, where I spend almost 7 years as system engineer. Now I work remote at small gamedev company located in Cyprus as junior C++ developer. And I'm kind of like it. It's much more intersting to me.

In 2020 I started my own project a visual novel game engine that uses , and . And I have an idea for one game that I want implement on that engine someday.

I know about microblogging, I have twitter account, but I never was an everyday user. So I might be that kind of users here and may not post toots as much as other users do. I came here to learn new thing about gamedev and may be find some new friends.

And there is a one thing I want to mention, I'm not good english speaker, because it's not my native langauge. I'm really sorry about misspells

#introduction #opengl #glfw #openal #visual_novel

Last updated 2 years ago

lonequantum · @lonequantum
47 followers · 419 posts · Server mamot.fr

It seems it is not possible to prevent window resizing with /FreeGLUT.
Let's try .

#glut #glfw

Last updated 3 years ago

claude · @mathr
288 followers · 2739 posts · Server post.lurk.org

Spent an hour fighting and got my project to work with the current versions of things on .

It was a lot easier once I realized I no longer needed which I had already replaced with in the main code base

Still not packaged up nicely, not sure how to distribute code that has Haskell as well as executables, and runtime dependencies on GCC. So far it's just a Makefile.

code.mathr.co.uk/bitbreeder

#cabal #sandbox #haskell #bytebeat #genetic #algorithm #hackage #gtkglext #glfw #c

Last updated 6 years ago

claude · @mathr
288 followers · 2739 posts · Server post.lurk.org

I ported the graphgrow user interface to using for touch UI instead of on the desktop version. it steals the main loop, but that wasn't too much trouble to work around. minor changes to the other callbacks, too, nothing too hard.

I had intended to use the packaged android tools, but I couldn't get them to work at all. probably due to me not having a clue. maybe I'll revisit that once I've finished v1 of the graphgrow ui app (want some network status display in case of errors)

what was a major headache was getting liblo for to compile and link with my code in Android Studio, eventually I gave up and just listed the sources in my CMakeLists to compile it statically, instead of doing it cleanly as a reusable shared library (.aar with native .so might not work anyway?).

this meant I needed to manually set a few configure substitutions in some header files, namely making endianness autodetected at compile time instead of at configure time, and disabling the threaded server include (because it broke things for me), and setting a printf macro for long long int.

there was one very small bug/issue in liblo when compiling for android, which is needing to replace index() by strchr() in one location (which it already does for Windows, don't know why it isn't used on all OS).

#android #glfm #glfw #debian #osc

Last updated 6 years ago

claude · @mathr
288 followers · 2739 posts · Server post.lurk.org

this user interface broadcasts data over to a video rendering program, also C++ with and , which renders a graph-directed iterated function system using texture array feedback. there are 4 buffers each of which pulls data from the others, with histogram equalization to prevent the colours getting too bright or dark.

it runs fine on my new GPU at very high quality settings, but I'll be using my old desktop for this, so I need to check how hard i can push it without the frame rate dropping too much. the code is instrumented with timer queries, so i can see which parts of the OpenGL code are the bottle-necks.

some optimisations i could activate if necessary include building the histogram from a smaller mipmap level, or only doing that every few frames instead of every frame. quality may suffer, the main thing is to avoid strobing artifacts because they're very distracting and the rest of the visual has a calm feel to it.

#osc #opengl #glfw

Last updated 6 years ago

claude · @mathr
288 followers · 2739 posts · Server post.lurk.org

old GUI was very powerful but also very complicated, and not so intuitive to just start playing around - it also started from a blank canvas, so to get it to do anything you have to 1. click "add node", 2. click a couple of times in the empty space in the middle, 3. click "add link", 4. drag some links between the nodes in the middle, 5. and only after all of that is there any output. and to get the output interesting you have to add nodes and links in all 4 workspaces (selectable on the left) and "mod link" them to switch the colours up

so this morning I worked on simplifying it a great deal. now there are no multiple modes, the only things you can do are select workspaces and drag nodes. the graph topology is preset to something nice, and when you leave it alone the nodes gradually drift back to their preset starting positions. it's still possible to get it in a state that doesn't generate good output, but much easier to get out of those states.

need to adjust the colours a bit, maybe a pastel background would be better than dark.

this is written in C++ with via but I need to port it to run on my tablet - ideally before xmas so I don't panic near the deadline...

#opengl #glfw #android

Last updated 6 years ago