amirrajan
Joined 14 years ago
Joined 14 years ago
1. mRuby is trivial to embed.
2. S7 Scheme is also trivial to embed.
3. LuaJIT will not work on consoles (proprietary CPU architectures), and JIT isn’t supported on iOS or Android. You have to use vanilla Lua.
4. Lua has historically been the default because it was first to provide a nice embed story.
5. Lua as a language leaves a lot to be desired (Ron Gilbert really disliked using it within his games)
6. This gist post goes into details wrt the deficiencies of Lua [1]
7. Here are two GH repos with Roguelike Tutorial. One in Lua [2], the other in mRuby [3]. It’s worth comparing and contrasting.
8. If I want extremely performant code, then I drop down to C. For scripting level/game code. mRuby is plenty fast [4].
[1] https://gist.github.com/amirrajan/2c42315ffef311600ecb2d8dcf...
[2] https://github.com/Lycea/Rogue/tree/master/components
[3] https://github.com/kfischer-okarin/roguelike-tutorial-2021/t...
at[at]amirrajan[dot]net
- Starfield Demo: https://www.youtube.com/watch?v=S-baJwEjUsk&ab_channel=AmirR...
- Starfield Source: https://gist.github.com/amirrajan/508f1a6aaf5352cab579104e61...
- Skybox/Coordinate System: https://www.youtube.com/watch?v=fvlRg3GvcLY&ab_channel=AmirR...
I mean, I can add to what’s already been stated. But I’m not sure it’ll really help further the conversation. Especially when it’s being dismissed as “not nearly as bad”. So... yea.
They look like particles yes, but the intent was to show the creation of fully featured constructs (not a demonstration of "fire and forget" particles).
[ my public key: https://keybase.io/amirrajan; my proof: https://keybase.io/amirrajan/sigs/vTvNvCPeqjQN_n88TcbRK5Q0OtHsP3n0zIo1-Q66KaI ]