dragonruby-game-toolkit-contrib
mrb-api
dragonruby-game-toolkit-contrib | mrb-api | |
---|---|---|
15 | 4 | |
190 | 2 | |
0.5% | - | |
6.0 | 10.0 | |
7 days ago | over 1 year 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
mrb-api
- 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.
- This API supports HTTP communication and has mruby implemented in it. The project has been posted online at fly.io.
- I have written an essay for you Vlang developers in which I step-by-step expose you to the use of the mruby implementation in the V project and the wveb module.
-
An interactive instructional game that makes players solve puzzles, the 'Edu Game' prototype. These challenges can be overcome with the use of a Ruby script. I've written a few articles for you that outline the progression of things you might find interesting.
API development
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.
mrbweb-v - A test project that uses mruby to improve the processing of binary code.
dragon-game - Dragon Vs Dragon Game
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
minigl - A minimal Game Library built on top of the Gosu gem.
edu-game-rjs - Ruby script puzzle-solving is the key to this project. The persona arrives at the terminal and considers how to deal with this issue. A task with instructions on how to proceed while accomplishing it is briefly tossed at the player.
dragonruby-zif - Zif: A Drop-in Framework for DragonRuby GTK
ruby - The Ruby Programming Language
android.cr - Create Android applications using Crystal and the NDK
love - LÖVE is an awesome 2D game framework for Lua.
Taylor - A simple game engine built using raylib and mruby