dragonruby-game-toolkit-contrib
crystal
dragonruby-game-toolkit-contrib | crystal | |
---|---|---|
15 | 239 | |
190 | 19,132 | |
0.5% | 0.4% | |
6.0 | 9.8 | |
11 days ago | 2 days ago | |
Ruby | Crystal | |
MIT License | Apache License 2.0 |
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
crystal
- A Language for Humans and Computers
-
Top Paying Programming Technologies 2024
27. Crystal - $77,104
-
Crystal 1.11.0 Is Released
I like the first code example on https://crystal-lang.org
# A very basic HTTP server
- Is Fortran "A Dead Language"?
- Choosing Go at American Express
- Odin Programming Language
- I Love Ruby
-
Ruby 3.3's YJIT: Faster While Using Less Memory
Obviously as an interpreted language, it's never going to be as fast as something like C, Rust, or Go. Traditionally the ruby maintainers have not designed or optimized for pure speed, but that is changing, and the language is definitely faster these days compared to a decade ago.
If you like the ruby syntax/language but want the speed of a compiled language, it's also worth checking out Crystal[^1]. It's mostly ruby-like in syntax, style, and developer ergonomics.[^2] Although it's an entirely different language. Also a tiny community.
[1]: https://crystal-lang.org/
-
What languages are useful for contribution to the GNOME project.
Crystal is a nice language that's not only simple to read and write but performs very well too. And the documentation is amazing as well.
-
Jets: The Ruby Serverless Framework
Ruby is a super fun scripting language. I much prefer it to python when I need something with a little more "ooomph" than bash. It's just...nice...to write in. Ruby performance has come a long way in the last decade as well. There's libraries for pretty much everything.
My modern programming toolkit is basically golang + ruby + bash and I am never left wanting.
I do find Crystal (https://crystal-lang.org/) really interesting and am hoping it has its own "ruby on rails" moment that helps the language reach a tipping point in popularity. All the beauty of ruby with all of the speed of Go (and then some, it often compares favorably to languages like rust in benchmarks).
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.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
dragon-game - Dragon Vs Dragon Game
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
minigl - A minimal Game Library built on top of the Gosu gem.
go - The Go programming language
dragonruby-zif - Zif: A Drop-in Framework for DragonRuby GTK
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
android.cr - Create Android applications using Crystal and the NDK
mint-lang - :leaves: A refreshing programming language for the front-end web
mrbweb-v - A test project that uses mruby to improve the processing of binary code.
Odin - Odin Programming Language