Ruby for game development? Is this a joke?

Sdílet
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

Komentáře • 43

  • @brettcodes
    @brettcodes  Před rokem +7

    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

  • @yndajas
    @yndajas Před rokem +5

    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 😊

    • @brettcodes
      @brettcodes  Před rokem +1

      Thanks so much! Definitely worth experimenting with and having some fun. 😄 All the Games in Projectbook got me thinking... I should make some!

  • @michaelsydenham2918
    @michaelsydenham2918 Před 9 měsíci +1

    Well done! Your enthusiasm is palpable and inspiring.

  • @DavidslvPT
    @DavidslvPT Před rokem +3

    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!

    • @brettcodes
      @brettcodes  Před rokem

      That's awesome about your Roguelike and you sticking with it for so long, super cool!

  • @mattkuras3550
    @mattkuras3550 Před rokem +1

    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

    • @brettcodes
      @brettcodes  Před rokem

      That's awesome, hope it goes well! Thanks for the kind words.

  • @brettpeters8248
    @brettpeters8248 Před rokem +4

    Your own DSL! A new framework!? You are a machine!

    • @brettcodes
      @brettcodes  Před rokem

      Thanks! It's all early days, but it's coming along nicely. I'm having fun!

  • @herrberg8962
    @herrberg8962 Před 6 měsíci +1

    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.

  • @Giga1337
    @Giga1337 Před rokem

    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!

  • @comfortablemoss
    @comfortablemoss Před 2 měsíci

    As a newbie to game development and coding this is a treasure trove of information! thank you!

  • @JuanVqz
    @JuanVqz Před rokem +2

    Happy to hear more about it, it could be interesting building the wordle game or hangman game

    • @brettcodes
      @brettcodes  Před rokem +1

      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.

  • @sadielestrada5732
    @sadielestrada5732 Před rokem +2

    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.

    • @brettcodes
      @brettcodes  Před rokem +1

      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

    • @kingofichigo
      @kingofichigo Před 7 měsíci

      I've been trying crystal, I like it fine

  • @AutMouseLabs
    @AutMouseLabs Před 4 měsíci

    Love the book and dragon ruby. Cheers

  • @manuela.guilamo4939
    @manuela.guilamo4939 Před rokem +1

    Beautiful!

  • @MrJackRegen
    @MrJackRegen Před rokem +5

    You wrote a book for the usage of the ide with ruby. That's dedication right there and a like and sub from me

  • @kheprago
    @kheprago Před rokem

    Hi, is DRGTK suitable for making game like Catacomb 3-D: Armageddon or Wolfenstein 3D? What about Doom, that uses BSP?

    • @brettcodes
      @brettcodes  Před rokem

      I know some folks have built games of that nature with DRGTK! Rudimentary 3D of that nature should run pretty well and be okay.

  • @heitian_boyi
    @heitian_boyi Před 8 měsíci

    Very interesting. Thanks 😊

  • @tttyyy949
    @tttyyy949 Před rokem

    can you make an example with classes and methods?

    • @brettcodes
      @brettcodes  Před rokem

      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.

  • @laughingvampire7555
    @laughingvampire7555 Před 3 měsíci

    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.

  • @azizdevfull
    @azizdevfull Před rokem +1

    amazing : )

  • @DanladiFrazier
    @DanladiFrazier Před 11 měsíci

    This looks awesome

  • @96codes
    @96codes Před rokem +1

    Keep it up, don't let haters discourage you

  • @kingofichigo
    @kingofichigo Před 7 měsíci

    If one does need something faster there's crystal, but not every game needs a ton of speed

  • @netrunningnow
    @netrunningnow Před rokem +3

    I'm pretty sure rpgmaker uses ruby as well but I've never used it.

    • @brettcodes
      @brettcodes  Před rokem

      That's right, some older versions did use Ruby! I think that's since changed, but pretty neat. 😎

  • @pynimp
    @pynimp Před 4 měsíci +1

    What I know is that python is the slowest but it can be used for game development, ruby's speed is better than python.

  • @twenty-fifth420
    @twenty-fifth420 Před rokem

    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!🎉

  • @ArcWeltraumpert
    @ArcWeltraumpert Před 2 měsíci

    unfortunately, dragonruby doesn't have a free version for gamedev to use

  • @almokhtarcode
    @almokhtarcode Před 11 měsíci

    Hello again, where do you despair ? Hope you doing well and maybe learning something new ?

  • @isaeviv
    @isaeviv Před 7 měsíci +1

    Руби ебашит💪💪💪

    • @isaeviv
      @isaeviv Před 7 měsíci +1

      Согласен с тобой

    • @kingofichigo
      @kingofichigo Před 7 měsíci

      You forgot to switch accounts lol

    • @isaeviv
      @isaeviv Před 7 měsíci

      ​@@kingofichigoнет! я всегда пишу так!😊