Better HN
topnewbestaskshowjobs
Log inSign up

amirrajan

423 karma · joined Sep 22, 2012 (14y ago) · 113 submissions

Indie Game Developer. Creator of The Ensign, A Noble Circle, and #1 iOS Game: A Dark Room. :wq

[ my public key: https://keybase.io/amirrajan; my proof: https://keybase.io/amirrajan/sigs/vTvNvCPeqjQN_n88TcbRK5Q0OtHsP3n0zIo1-Q66KaI ]

Submissions

1.

DragonRuby – I never wanted to create a game engine(gist.github.com ↗)

3 points · by amirrajan · 1mo ago · discuss

comment 2mo ago · link · parent

Link to source code: https://gist.github.com/amirrajan/5ec37929e9987a72d98d5adb50...

3.

Show HN: DragonRuby Game Toolkit Shaders (Hotloaded)(youtube.com ↗)

1 points · by amirrajan · 2mo ago · 1 comment

4.

DragonRuby Jam License – Free to All(dragonruby.itch.io ↗)

1 points · by amirrajan · 3mo ago · discuss

comment 1y ago · link · parent

More poignant examples would be `dirent.h` and `system`. Getting access to the file system on a console, or the ability to start up a process out of band is not allowed.

6.

DragonRuby Game Toolkit hits v6.0(dragonruby.itch.io ↗)

46 points · by amirrajan · 2y ago · 2 comments

comment 2y ago · link · parent

Late reply, but maybe it’ll be useful to other people coming across this post.

1. mRuby is trivial to embed.

2. S7 Scheme is also trivial to embed.

3. LuaJIT will not work on consoles (proprietary CPU architectures), and JIT isn’t supported on iOS or Android. You have to use vanilla Lua.

4. Lua has historically been the default because it was first to provide a nice embed story.

5. Lua as a language leaves a lot to be desired (Ron Gilbert really disliked using it within his games)

6. This gist post goes into details wrt the deficiencies of Lua [1]

7. Here are two GH repos with Roguelike Tutorial. One in Lua [2], the other in mRuby [3]. It’s worth comparing and contrasting.

8. If I want extremely performant code, then I drop down to C. For scripting level/game code. mRuby is plenty fast [4].

[1] https://gist.github.com/amirrajan/2c42315ffef311600ecb2d8dcf...

[2] https://github.com/Lycea/Rogue/tree/master/components

[3] https://github.com/kfischer-okarin/roguelike-tutorial-2021/t...

[4] https://m.youtube.com/watch?v=MFR-dvsllA4

comment 2y ago · link · parent

Creator of DragonRuby here. Send me an email and I’ll hook you up with a license to the game engine :-)

at[at]amirrajan[dot]net

comment 5y ago · link · parent

Additional Links:

- Starfield Demo: https://www.youtube.com/watch?v=S-baJwEjUsk&ab_channel=AmirR...

- Starfield Source: https://gist.github.com/amirrajan/508f1a6aaf5352cab579104e61...

- Skybox/Coordinate System: https://www.youtube.com/watch?v=fvlRg3GvcLY&ab_channel=AmirR...

10.

Show HN: Oculus Quest game dev using Ruby(patreon.com ↗)

2 points · by amirrajan · 5y ago · 1 comment

comment 5y ago · link · parent

I’m not sure how to respond frankly. You claimed my statements were ignorant. So in response, I provided a source that I agree with wholeheartedly. And a HN comment thread that provides even more criticisms.

I mean, I can add to what’s already been stated. But I’m not sure it’ll really help further the conversation. Especially when it’s being dismissed as “not nearly as bad”. So... yea.

comment 5y ago · link · parent

In the event that Godot becomes insolvent, the engine loses the ability to export to console. You must have a business entity to get access to those parts of the SDK. Losing the ability to go to console is a massive hit to the viability of the engine.

comment 5y ago · link · parent

From an apples to apples standpoint. What you're seeing in the video is DragonRuby Entities vs Unity GameObjects (with full functionality).

They look like particles yes, but the intent was to show the creation of fully featured constructs (not a demonstration of "fire and forget" particles).

comment 5y ago · link · parent

Decided to do a flash sale given all the visibility the engine has gotten recently. You can get the Standard License free for the next 24 hours: https://itch.io/s/48411/dragonruby-game-toolkit-hacker-news-...

comment 5y ago · link · parent

The FAQ covers this in detail under the "What is DragonRuby?": http://docs.dragonruby.org/#--frequently-asked-questions,-co...

comment 5y ago · link · parent

> Python provides a better syntax in almost all areas

Examples?

comment 5y ago · link · parent

Ryan has a custom compilation of it actually. That editor will go to the grave with him :-P

comment 5y ago · link · parent

Can you associate a PhysicsBody2D with each one of these?

comment 5y ago · link · parent

This does a good job of summarizing what's wrong: https://news.ycombinator.com/item?id=23271973

comment 5y ago · link · parent

There’s quite a few samples of people doing crazy things with Cuda. Not sure if you can access this demonstration: https://discord.com/channels/608064116111966245/674410581326...

These are other demonstrations of DRGTK’s performance capabilities: - https://twitter.com/Groteskly/status/1373668110482427906 - https://twitter.com/amirrajan/status/1361640855589842951 - https://twitter.com/amirrajan/status/1339575630187425792

comment 5y ago · link · parent

Unity’s implementation of C# is subpar to say the least. Watch the YouTube video, it demonstrates DragonRuby’s speed vs Unity. We can render twice as many sprites and are 1/8th the size.

We also expose C Extensions to the end user if they what blinding fast performance for critical paths.

comment 5y ago · link · parent

Nope. Not a joke. We’re faster too: https://youtu.be/UuY7CWdvyWM

comment 5y ago · link · parent

There’s four of us in the partnership (Ryan just handles the core xplat stuff). And we are leveraging a lot of OSS foundational components SDL, mRuby, LLVM.

With regards to insolvency. It’s answered in the FAQ: http://docs.dragonruby.org/#--frequently-asked-questions,-co...

comment 5y ago · link · parent

> Are there enough Ruby devs to sustain this?

So far so good. We’ve been in business for nearly a decade now (with the game engine going onto year 3).

> Unity, Unreal, React Native game engine, or one of the other (thousand) game engines out there?

Well our ability to deploy to console eliminates most engines as competitors/options. Unreal is a fantastic engine for 3D games. Unity is... well... not that great to be honest.

Other differentiators are on the site.

comment 5y ago · link · parent

Details about the runtime are here if you’re interested: http://docs.dragonruby.org/#----what-is-dragonruby?

26.

Show HN: DragonRuby Game Toolkit(dragonruby.org ↗)

234 points · by amirrajan · 5y ago · 141 comments

27.

Show HN: Game Engine Using LLVM and Ruby (XPlat Including WASM)(fiddle.dragonruby.org ↗)

11 points · by amirrajan · 7y ago · discuss

comment 8y ago · link · parent

I totally understand the need for Android support back then (and to your point should have happened sooner).

With regards to relevancy, RubyMotion is built on top of LLVM. With regards to Ruby the language itself, it's been around for decades and won't be going anywhere (granted the same can be said for JavaScript).

I'm waiting to see how web assembly will shake things up.

Best of luck to you man (I genuinely mean that). And if you ever decide to come back to RM, I'll be here to help :-)

comment 8y ago · link · parent

>When are you going to open source?

- Build, project templates, dynamic bindings generation (BridgeSupport) have all been open sourced.

- The repl is targeted to be open sourced in Q1 2019.

- The parser is targeted to be open sourced in Q2 2019.

- The rest is TBD. But I bought the website domain dragonruby.org :-D

1234