Ruby for game development? Is this a joke?
Vložit
- čas přidán 2. 06. 2024
- I share what I've been working on the last couple of months-making games with Ruby! Specifically DragonRuby Game Toolkit, a really compelling engine for making 2D games. I've been enjoying it so much so that I wrote a book and started a website dedicated to helping people make games with Ruby.
Read the free book Building Games with DragonRuby: book.dragonriders.community
Check out the tutorials: www.dragonriders.community/re...
Play my games: brettchalupa.itch.io/
Support my projects by buying me a coffee: www.buymeacoffee.com/brettcha...
Chapters:
00:00 - Intro
01:00 - Demos
03:46 - The Book
04:50 - Open Source Projects
06:55 - Favorite Parts of DragonRuby
08:09 - Outro - Věda a technologie
Read the book: book.dragonriders.community
Check out the tutorials: www.dragonriders.community/recipes
Play my games: brettchalupa.itch.io/
Use my framework Scale: github.com/DragonRidersUnite/scale
This all looks awesome! DragonRuby itself, your book, the test DSL and scale! Gonna have to try to make time to check it all out 😊
Thanks so much! Definitely worth experimenting with and having some fun. 😄 All the Games in Projectbook got me thinking... I should make some!
Well done! Your enthusiasm is palpable and inspiring.
I honestly don't understand those comments, there is always one.
We know that Ruby is slower than some other languages, but the power of understandability, maintainability etc.. (all coming down to developer happiness and productivity) is so much better than some other languages...
I think most people when they hear the word "Game" are immediately thinking of Triple-A games.
I'm mostly an enthusiast when it comes to game development, I have also heard about Gosu for Ruby and someone has also build a Gameboy emulator that can actually play the ROMs - not sure where that is now but I remember reading that some games were playing too slowly - that's part of the limitations of the language but hey, it is possible.
What I find fascinating about Game development is the architecture of the code, it really can teaches you a lot of concepts.
I've been writing my own Roguelike game in Ruby, without any toolkits or engines and even though it has been about 4 years long (I'm not in a rush) I've learned a ton. I think it's fantastic that tools like DragonRuby are emerging and enabling people to just get their ideas out there without needing to learn everything from scratch.
Keep up, very good stuff here!
That's awesome about your Roguelike and you sticking with it for so long, super cool!
Giving a talk at work on dragon ruby next week and just started learning. Definitely gonna check out the book! And those were some pretty awesome games you built
That's awesome, hope it goes well! Thanks for the kind words.
Your own DSL! A new framework!? You are a machine!
Thanks! It's all early days, but it's coming along nicely. I'm having fun!
DragonRuby looks promising! By the way: I'm learning Ruby for text analysis. Somehow, the CZcams algorithm led me to your video. 🙂 It's great that you're making your book available for free.
Nice man, I just repaid my yearly subscription to dragonruby and thinking about starting back up soon. Scale should help a lot just for boilerplat, thanks!
As a newbie to game development and coding this is a treasure trove of information! thank you!
Happy to hear more about it, it could be interesting building the wordle game or hangman game
Those would both be fun, thanks for the suggestions! I'd have to learn how to work with a dictionary of words, which would be interesting and new for me.
Is there any game toolkit like this for Crystal? For who doesn't know Crystal is a compiled language with Ruby's sintax and C performance.
It's funny you mention this, as I was wondering the same thing. While there are no engines or libraries specifically for it, there are bindings to popular C libraries. It should, then, in theory be possible: github.com/veelenga/awesome-crystal#game-development
I've been trying crystal, I like it fine
Love the book and dragon ruby. Cheers
Beautiful!
You wrote a book for the usage of the ide with ruby. That's dedication right there and a like and sub from me
Thanks for the support!
Hi, is DRGTK suitable for making game like Catacomb 3-D: Armageddon or Wolfenstein 3D? What about Doom, that uses BSP?
I know some folks have built games of that nature with DRGTK! Rudimentary 3D of that nature should run pretty well and be okay.
Very interesting. Thanks 😊
can you make an example with classes and methods?
This may seem kind of strange given Ruby is an OO language, but I've been intentionally coding all of my games to just be class functions in modules and using data structures, so no classes. So I'm probably not a useful person on that front. I know others who use DragonRuby GTK do use classes and OO though. 🙂 I'm sure they'd be able to help more in the Discord.
well, Ruby is indeed one of the slowest programming languages out there, in the web framework benchmarks and the algorithms' benchmarks is usually at the bottom, however a program in Ruby in today's hardware can run pretty fast compared to C in computers of the 1990s So you can make games of that age in Ruby, no problem.
And if you add the Ruby DragonRuby kit that compiles to LLVM bitcode is just amazing.
amazing : )
This looks awesome
Keep it up, don't let haters discourage you
100% blocking out the haters!
If one does need something faster there's crystal, but not every game needs a ton of speed
I'm pretty sure rpgmaker uses ruby as well but I've never used it.
That's right, some older versions did use Ruby! I think that's since changed, but pretty neat. 😎
What I know is that python is the slowest but it can be used for game development, ruby's speed is better than python.
Huh, this is the strange mood upon seeing this.
So, full disclaimer. In school, once and only once, I was taught in Java. This like, in 2013 so most modern languages that people would use nowadays are still in its infancy. Heck back then, we probably use more Rails then we did Python, but I digress. I hated it, and I quit programming for a long while after.
Of course, software changes. I think you can build anything with anytool, so long as you know what the ‘tool’ is used for. It is kind of like the difference of using a power saw vs a table saw.
C++ is the power saw, C# is the table saw. But there is other game development languages out there, not just those two.
And now my story. I used to actually make games in RPG Maker VX/Ace. It was based on Ruby, I believe 1.8 iirc. It was mostly a GUI based game engine with specialized used cases. Fuck it was so cool. Of course, I ended up ditching it after I graduated high school. Then, I took up writing to make my stories better and I have gone farther in writing stories. Now, I dont think Ruby is perfect, but it works. Why complain about a tool that works? Are you the table saw, or the power saw user? Or maybe you don’t use a saw, maybe you just use a fancy machine/CDN. Or maybe you use a hand saw? Or perhaps no saw at all, you are just a chad somehow who cuts wood with a katana. (okay maybe not, but point stands).
Point is, just code. If you are the type who makes a loaded statement be it for humor, sarcasm or humiliation just to knock against a language, you are probably not expressive as a programmer and are kind of toxic. I said my piece.
Good luck on your Ruby Library!🎉
unfortunately, dragonruby doesn't have a free version for gamedev to use
Hello again, where do you despair ? Hope you doing well and maybe learning something new ?
Руби ебашит💪💪💪
Согласен с тобой
You forgot to switch accounts lol
@@kingofichigoнет! я всегда пишу так!😊