4 ms·
Nice! Starred. I did "sudo apt install libsdl2-dev", make, and "./dome examples/spaceshooter/main.wren" Took less than 30 seconds to build. The game ran insta
by tony 7y ago
Nice! Starred.
I did "sudo apt install libsdl2-dev", make, and "./dome examples/spaceshooter/main.wren"
Took less than 30 seconds to build. The game ran instantly.
Also I ran it through WSL 2 with these instructions: https://github.com/microsoft/WSL/issues/4793 https://github.com/microsoft/WSL/issues/4793
Thank you for this! First time I've heard of wren also.
Aside: Is it possible to do something like sockets / http requests through wren?
Where do you plan on taking this? What inspired you to make it?
- springogeek 7y agoThank you for trying it! I hadn't tested with the WSL, so I'm relieved it worked there as well. I put a lot of work into making it build from scratch easily. I started this project because I had been making small games with the PICO-8 and Lua, but I wanted to work on larger projects. There's Love2D, but I find Lua tricky at times, since you often have to reinvent OOP-structures and it's disconcerting with 1-indexed arrays. Wren is closer to more classical programming languages, so I thought I'd give it a go. :) HTTP is tricky since the protocol is quite complex. I think it would require an external library. However, creating an interface for net sockets wouldn't be too hard. I'd love to enable multiplayer games with UDP sockets in the future :) The Wren runtime is very extensible, so if I can code it with C, it can be made available to users of DOME!