Comment by ptato 3 years ago Can you write GUIs with Janet? 3 comments ptato Reply cellularmitosis 3 years ago If you count raylib as a GUI, yes!https://github.com/tantona/janetroids/blob/master/main.janet eggy 3 years ago And that is 379 LOC for an Asteroids clone which includes some inline defined math functions instead of an include to an external math lib. Raylib is great for the GuI stuff (it is an immediate mode GUI, because games), and it is written in C. ptato 3 years ago good enough
cellularmitosis 3 years ago If you count raylib as a GUI, yes!https://github.com/tantona/janetroids/blob/master/main.janet eggy 3 years ago And that is 379 LOC for an Asteroids clone which includes some inline defined math functions instead of an include to an external math lib. Raylib is great for the GuI stuff (it is an immediate mode GUI, because games), and it is written in C. ptato 3 years ago good enough
eggy 3 years ago And that is 379 LOC for an Asteroids clone which includes some inline defined math functions instead of an include to an external math lib. Raylib is great for the GuI stuff (it is an immediate mode GUI, because games), and it is written in C.
If you count raylib as a GUI, yes!
https://github.com/tantona/janetroids/blob/master/main.janet
And that is 379 LOC for an Asteroids clone which includes some inline defined math functions instead of an include to an external math lib. Raylib is great for the GuI stuff (it is an immediate mode GUI, because games), and it is written in C.
good enough