r/ruby • u/amirrajan • Jun 09 '22
Show /r/ruby Soft body physics in Ruby (DragonRuby Game Toolkit) :-)
Enable HLS to view with audio, or disable this notification
172
Upvotes
r/ruby • u/amirrajan • Jun 09 '22
Enable HLS to view with audio, or disable this notification
View all comments
Show parent comment
2
u/katafrakt Jun 10 '22
If you ever write this book, ping me, I want to read it ;)
I'm not saying I'm a fan of ECS, but this is at least way of organizing code. The sample you sent is just intimidating for me - I'm used to units of code and higher abstractions. That's the mental barrier I mentioned earlier. Now, I'm fully aware that in gaming world things are different and abstractions do actually come with a cost, but still, it's hard for me to wrap my head around the code in the example.