lets-all-be-stupid-forever / circuit-artist

Circuit Artist is a digital circuit drawing and simulation game.
https://store.steampowered.com/app/3139580/Circuit_Artist
GNU General Public License v3.0
231 stars 7 forks source link

macOS and Linux Support #1

Open BlueFalconHD opened 1 month ago

BlueFalconHD commented 1 month ago

Adding support for these operating systems would be awesome. Writing this issue on my phone but if I have time I might make a preliminary PR

lets-all-be-stupid-forever commented 1 month ago

I agree. Don't worry, I was actually already working on it, should be up soon. Thanks anyway !

mdaniel commented 1 month ago

heh, I guess great minds think alike: I started work on [my PR][#2] when this hit HN and didn't check the issues before creating it, otherwise I would have referenced this issue

I didn't try it on Linux, so in that way mine only addresses half the problem, and I haven't tried it on arm64 either, so ... I guess 1/3 of the problem

raysan5 commented 1 month ago

What about a WebAssembly build to run it on web?

lets-all-be-stupid-forever commented 1 month ago

I have compiled it once: https://lets-all-be-stupid-foreva.itch.io/circuit-artist-demo

I'll put back the cmake/instructions once the linux+mac is stable. It's a bit tricky because of the luajit thing.

lets-all-be-stupid-forever commented 1 month ago

I'm also relying on openmp to do some software rendering right now, need to move some rendering logic to shaders and it will work better. (cant do openmp in webassembly)