I tried to analyze the running app with the Firefox dev console, but the GitHub hosted page said there were no sources! Browsing the Sokol Github, it looks like it's compiling to web assembly. I'm not very familiar with web assembly, how does one normally debug it?
Open Golf: A cross-platform minigolf game written in C
41–50 of 99 posts
Re: Open Golf: A cross-platform minigolf game written in C
#42Cross-platform except for MacOS https://github.com/mgerdes/Open-Golf/issues/3
Re: Open Golf: A cross-platform minigolf game written in C
#43Very nice simple golf game. Refreshing on mobile where there's nothing but the game :)
Re: Open Golf: A cross-platform minigolf game written in C
#44Cross-platform except for MacOS https://github.com/mgerdes/Open-Golf/issues/3
Builds and runs well in Asahi Linux :) Frame rate isn't great without GPU support, but totally playable.
Re: Open Golf: A cross-platform minigolf game written in C
#45I tried to analyze the running app with the Firefox dev console, but the GitHub hosted page said there were no sources! Browsing the Sokol Github, it looks like it's compiling to web assembly. I'm not very familiar with web assembly, how does one normally debug it?
(disclaimer: sokol author)
Re: Open Golf: A cross-platform minigolf game written in C
#46Re: Open Golf: A cross-platform minigolf game written in C
#47Re: Open Golf: A cross-platform minigolf game written in C
#48Impressive to see C being able to create x-plat 3D games that run in Browser + popular Desktop + Mobile OS's. Typically there's big companies with large dev teams working on accomplishing such a feat & this project does it with with a 50 year old language and a handful of libs
Re: Open Golf: A cross-platform minigolf game written in C
#49Impressive to see C being able to create x-plat 3D games that run in Browser + popular Desktop + Mobile OS's. Typically there's big companies with large dev teams working on accomplishing such a feat & this project does it with with a 50 year old language and a handful of libs
What's the TLDR on how to compile the C code to run in the browser?
Working on a project to port a 20 plus year old c/cpp code base to the web. The tooling was like 98% there but I've had to upstream a few fixes or find a workaround every now and then.
Re: Open Golf: A cross-platform minigolf game written in C
#50Cross-platform except for MacOS https://github.com/mgerdes/Open-Golf/issues/3