dragonruby-game-toolkit-contrib
Lua
dragonruby-game-toolkit-contrib | Lua | |
---|---|---|
15 | 118 | |
190 | 8,052 | |
0.5% | 2.0% | |
6.0 | 8.5 | |
11 days ago | 7 days ago | |
Ruby | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dragonruby-game-toolkit-contrib
-
DragonRuby Game Toolkit - Tech demo showing what Ruby is capable of: lighting, camera movement/parallax, physics and collision, all at 60 fps.
It’s a combination of the following sample apps: 1. Axis align bounding box collision 2. Simple camera 3. Lighting
-
DragonRuby Game Toolkit - Game development gives such a different realm of problems to solve that you just don't see with app dev. I'd encourage y'all to give it a try (it's extremely rewarding). Here's an example.
The Indie and Pro version of DR let you create your own C Extensions. These sample apps guide you through the process step by step.
-
I notice that there aren't many gaming engines that support Ruby script. I'm considering working on a more manageable project that will incorporate MRuby into the Love engine.
What we can safely open source is here (we try to expand this repo as much as we can): https://github.com/DragonRuby/dragonruby-game-toolkit-contrib
-
With RubyConf 2022 around the corner, I added a bit more polish to DragonRuby's tech demo. Hope y'all can make it out to my talk where I'll be showing this off :-)
DragonRuby is awesome to work with. They’ve put together tons of super useful samples: https://github.com/DragonRuby/dragonruby-game-toolkit-contrib/tree/master/samples
-
To celebrate the 3-year anniversary of DragonRuby Game Toolkit (and 8 years as an Indie game dev), I'm making the game engine free for the next 3 days. Tips for succeeding as an Indie in the comments too.
There are some sample apps that show how to make buttons, so most guis would be a combination of using sprites and testing for click events. The tricky part is gonna be a fully functional text box. The dragonruby heads up display has one and the machinery to get that to work is here. A few people on the Discord server have actually pulled this off and have created toy IDEs with it ha.
-
With RubyKaigi 2022 kicking off, I've made DragonRuby Game Toolkit free. Hope you enjoy and feel free to AMA about the engine.
We have a bullet hell sample app :-) https://github.com/DragonRuby/dragonruby-game-toolkit-contrib/tree/master/samples/99_genre_arcade/bullet_hell
-
Ruby rendering 4K scenes with physics at 60fps - DragonRuby Game Toolkit (link to source code in the comments)
The full implementation is ~350 lines of code. Here's the source.
-
Soft body physics in Ruby (DragonRuby Game Toolkit) :-)
It might help to start with a simpler example. This is Pong written with the same structure. The general theme is to start simply and introduce abstraction at the “last responsible moment” as opposed to upfront: https://github.com/DragonRuby/dragonruby-game-toolkit-contrib/blob/master/samples/99_genre_arcade/pong/app/main.rb
-
Ruby is good for the soul. Have fun with it. That's the most important thing. Build a game. Here's one I'm working on (source code + playable link in the comments).
There are a ton of sample apps you can go through here: https://github.com/DragonRuby/dragonruby-game-toolkit-contrib/tree/master/samples
-
Flappy Bird clone written in 360 lines of Ruby (DragonRuby Game Toolkit). Link to playable game + source in the comments.
Working src link: https://github.com/DragonRuby/dragonruby-game-toolkit-contrib/blob/master/samples/99_genre_arcade/flappy_dragon/app/main.rb
Lua
-
5-Step Approach: ProjectSveltos Event Framework for Kubernetes Deployment with Cilium Gateway API
The EventSource uses the Lua language to search for any services with ports set to 80 or 443 in the ‘argocd’ namespace. More examples can be found here.
-
Building a Wordle Clone with Lua! 🕹
If you're new to the 12 in 24 series, I'm learning and building projects with a new programming language every month - this month, it's the Lua scripting language. You can find source code for the projects I build in the official GitHub repository (check it out, this week's folder contains code for both this and two other bonus projects!).
-
Gearing up for Lua
This month, we're talking about Lua. It's not always a first choice when it comes to programming, but I think there's a lot to enjoy about this little language. Heck, I'm a big game development fan myself - I would look into it even if that was the only reason to.
-
Pluto, a Modern Lua Dialect
It’s Portuguese. It’s the same in the Lua codebase [1].
[1]: https://github.com/lua/lua
-
Fluent Bit with ECS: Configuration Tips and Tricks
If we think we need more flexibility for processing records, we can write our own embedded filters using Lua language. Lua is a highly efficient programming language used mainly for embedded scripting.
- A Linguagem Lua completa 30 anos!
-
The Top 20 Programming Languages and Their Origins
Lua
-
Lua C headers, MacOS
➜ ~ brew info lua ==> lua: stable 5.4.6 (bottled) Powerful, lightweight programming language https://www.lua.org/ /opt/homebrew/Cellar/lua/5.4.6 (29 files, 788.7KB) * Poured from bottle using the formulae.brew.sh API on 2023-05-16 at 11:03:06 From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/l/lua.rb License: MIT ==> Caveats You may also want luarocks: brew install luarocks ==> Analytics install: 16,599 (30 days), 56,745 (90 days), 139,027 (365 days) install-on-request: 1,763 (30 days), 6,266 (90 days), 21,105 (365 days) build-error: 0 (30 days)
-
How do you like code documentation inline in the source code vs. as separate guides, or how would you do it?
I think Lua is a good example of doing documentation well. The source code is commented only as much as needed, mainly with brief comments about things that might not be obvious and a small number of longer explanations of how the architecture works (mainly relevant to developers). It also has a super nice feature that's surprisingly rare: each file has a very short line at the top that describes what the file is, so you don't have to guess based on the filename alone. The API is documented in a single HTML file on the website that has both the high level descriptions of the language and architecture, as well as documentation for each public-facing function. The docs are maintained by hand, but the API is mostly stable, so the docs don't need to change very often.
-
Total Noob With a Question.
This is using the Lua language and the Solar2d game framework
What are some alternatives?
MacRuby - MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks.
julia - The Julia Programming Language
dragon-game - Dragon Vs Dragon Game
assemblyscript - A TypeScript-like language for WebAssembly.
minigl - A minimal Game Library built on top of the Gosu gem.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
dragonruby-zif - Zif: A Drop-in Framework for DragonRuby GTK
lua-nginx-module - Embed the Power of Lua into NGINX HTTP servers
android.cr - Create Android applications using Crystal and the NDK
kotlin-script-examples - Examples of Kotlin Scripts and usages of the Kotlin Scripting API
mrbweb-v - A test project that uses mruby to improve the processing of binary code.
mal - mal - Make a Lisp