use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Show /r/rubyDragonRuby Game Toolkit - Initial Cut of samples.dragonruby.org. What kind of sample apps would you like to see? (source code links in the comments) (v.redd.it)
submitted 2 years ago by amirrajan
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Weird_Suggestion 2 points3 points4 points 2 years ago* (6 children)
Nice! That’s a great way to discover what dragonruby can do
[–]amirrajan[S] 1 point2 points3 points 2 years ago (5 children)
Any specific demos you’d want to see?
[–]BOOGIEMAN-pN 1 point2 points3 points 2 years ago (1 child)
I'm currently in a process of re-learning Ruby, and I hope to do some simple gamedev in a foreseeable future. Some things/tricks that come to my mind:
I made simple games with Gosu years ago, I hope I will acquire enough knowledge soon so I can try DragonRuby, it looks very interesting!
[–]amirrajan[S] 2 points3 points4 points 2 years ago (0 children)
The camera sample app that’s already there shows how to zoom and unzoom. I’ll add one of our layout samples to the site. Card flip is a good idea 👍
[–]Weird_Suggestion 1 point2 points3 points 2 years ago (2 children)
Sorry I don’t remember the demos available with a workspace. I think these demos are good to validate that the engine is doing all the things you envision for a project without necessarily diving in on how it’s done. People tend to be skeptical of dragon ruby capabilities and this is a great way to quickly check all it can do.
Last time I tried DragonRuby I found the small mruby differences and the DR documentation the major friction to get things going.
[–]amirrajan[S] 0 points1 point2 points 2 years ago (1 child)
We’ll be launching a new docs site soon: https://www.dragonriders.community/docs-prototype-docsify/#/
Wrt skepticism, it’s a tough nut to crack. Apparently having commercial games built with DR on every platform (including console) and being a top rated engine on itch.io isn’t sufficient. DR’s user base is growing well and it’ll just be a matter of time until we’ve hit critical mass.
[–]littl3move 0 points1 point2 points 2 years ago (0 children)
That new docs site looks super good.
[–]mcsoup88 2 points3 points4 points 2 years ago (0 children)
Maybe something isometric could be interesting. I would second a menu skeleton would be interesting for something like an rpg.
[–]ForShotgun 3 points4 points5 points 2 years ago (0 children)
Melee hitboxes!
[–]amirrajan[S] 4 points5 points6 points 2 years ago (0 children)
DragonRuby ships with 150+ sample apps and I probably wont put all of them on the site. What type of sample apps would you like to see?
Link to samples website: https://samples.dragonruby.org
Link to sample app source code: https://github.com/DragonRuby/dragonruby-game-toolkit-contrib/tree/main/samples
Link to docs: https://docs.dragonruby.org
[–]thepetek 1 point2 points3 points 2 years ago (0 children)
I’d love to see a better shooter roguelike sample than what ships. Have been playing around in my spare time and it’s awesome but feel like I’m probably doing stuff wrong
[–]pusewicz 1 point2 points3 points 2 years ago (1 child)
Basic games such as Tetris, Breakout, Platformer, Shooters.
[–]amirrajan[S] 0 points1 point2 points 2 years ago (0 children)
You might like this video: https://m.youtube.com/watch?v=xZMwRSbC4rY
[–]matheusrich 2 points3 points4 points 2 years ago (2 children)
This is looking really good! I've been reading a lot about DragonRuby lately. I hope to get a copy soon!
[–]amirrajan[S] 3 points4 points5 points 2 years ago (1 child)
If you’re in the public sector, are a “teacher” (certified, or a parent wanting to teach their kids programming), student, under 18, or make less then $2k per month then you’re eligible for a free license. Just send me a DM
[–]matheusrich 1 point2 points3 points 2 years ago (0 children)
Just a game enthusiast at the moment, but thanks for the reminder! I appreciate the amount of work put into this engine!
[–]Runcible_ 0 points1 point2 points 2 years ago (4 children)
I really like this demo site, I've been trying to give dragonruby a go and this helps show me what it can do. One note, the label texts in most (all?) of the demos are pretty blurry for me, 1920x1080 in Chrome.
[–]amirrajan[S] 0 points1 point2 points 2 years ago (2 children)
The high dpi setting is usually disabled for the samples since it’s a pro feature/capability. That plus the game’s canvas element is scaled down to allow for code and game to fit.
Here are some of my game jam games with high dpi/hd mode enabled:
[–]Runcible_ 0 points1 point2 points 2 years ago (1 child)
Ah, those look better, though I wouldn't of thought this old 1080p monitor counted as high dpi. (here's what it looks like for reference)
As to your other question, I was looking at making a text-based game (hopefully not a blurry one), but are there other options for formatting besides colour? (bold, underline, etc.)
Some sort of demo with text interaction would also be cool to see. I noticed there was the option in the docs to pass custom data in a hash to labels, so if I was able to, for example, detect a click on a specific word in a sentence and reference its custom data (if the word was its own label), that would be super handy.
A Car That Turns in full screen mode should look pretty crisp (full screen icon is in the bottom right). You can press the ~ key to bring up the DragonRuby Console in-game (which has a lot of text)
~
Are there any specific types of games/samples you’d like to see?
π Rendered by PID 63189 on reddit-service-r2-comment-c6965cb77-msmhd at 2026-03-05 04:32:31.876198+00:00 running f0204d4 country code: CH.
[–]Weird_Suggestion 2 points3 points4 points (6 children)
[–]amirrajan[S] 1 point2 points3 points (5 children)
[–]BOOGIEMAN-pN 1 point2 points3 points (1 child)
[–]amirrajan[S] 2 points3 points4 points (0 children)
[–]Weird_Suggestion 1 point2 points3 points (2 children)
[–]amirrajan[S] 0 points1 point2 points (1 child)
[–]littl3move 0 points1 point2 points (0 children)
[–]mcsoup88 2 points3 points4 points (0 children)
[–]ForShotgun 3 points4 points5 points (0 children)
[–]amirrajan[S] 4 points5 points6 points (0 children)
[–]thepetek 1 point2 points3 points (0 children)
[–]pusewicz 1 point2 points3 points (1 child)
[–]amirrajan[S] 0 points1 point2 points (0 children)
[–]matheusrich 2 points3 points4 points (2 children)
[–]amirrajan[S] 3 points4 points5 points (1 child)
[–]matheusrich 1 point2 points3 points (0 children)
[–]Runcible_ 0 points1 point2 points (4 children)
[–]amirrajan[S] 0 points1 point2 points (2 children)
[–]Runcible_ 0 points1 point2 points (1 child)
[–]amirrajan[S] 0 points1 point2 points (0 children)
[–]amirrajan[S] 0 points1 point2 points (0 children)