Game Development - SDL / DragonRuby-GTK #11609
Replies: 6 comments
-
My dream is that we do not need to differentiate between 2D/3D app development - it should be feasible to render everything using OpenGL/Vulkan whatever - imagine your Windowed apps having smoothly animated perfectly rendered vector-based resolution independent widgets - imagine the possibilities. See this interesting Project: NanoGUI |
Beta Was this translation helpful? Give feedback.
-
@gslicer that's a nice dream, but I doubt it's practical due to high energy inefficiency. My take is to have them separate under the condition, that 2D API can be used seamlessly also in 3D (as in Nuklear or even better Quarks), but not vice versa (3D can per its definition not be that energy efficient). This allows applications do most of their stuff using 2D and only when there is enough power, use also 3D. |
Beta Was this translation helpful? Give feedback.
-
@gslicer did you note that SDL2 (wrapped by the nsauzede.vsdl2 module on vpm) does support just that : graphics (even 2D) are handled by 3D textures, because it interfaces with OpenGL with HW accel |
Beta Was this translation helpful? Give feedback.
-
As I pointed out above, Nuklear, Quarks, ImGUI all have backends for SDL and thus do exactly what you write. |
Beta Was this translation helpful? Give feedback.
-
Just for the record, Ryan C. Gordon is not the SDL creator, but Sam Lantinga (slouken) is. |
Beta Was this translation helpful? Give feedback.
-
=> reply to self : this is untrue
|
Beta Was this translation helpful? Give feedback.
-
As @medvednikov mentioned, SDL library availability would be useful for V. (Note, as per Wikipedia: "A common misconception is that SDL [Simple DirectMedia Library] is a game engine, but this is not true. However, the library is suited to building games directly, or is usable indirectly by engines built on top of it.")
Since SDL is not specifically a game dev toolkit, let's look more closely at SDL's creator's sexiest new baby: DragonRuby-GTK
Since SDL creator (Ryan C. Gordon ) has now partnered up with the RubyMotion owner to make the DragonRuby Game Toolkit this might be the best place to look for inspiration. This can be reviewed here:
• https://dragonruby.itch.io/
• https://dragonruby.itch.io/dragonruby-gtk
• announcement
• Good marketing idea: Build a game to learn how to program dammit! I'm here to help. Getting started instructions enclosed:
The examples on the main page are great:
• Flappy Dragon
• Basic Gorillas
• GTK Workshop Assets
Maybe @nsauzede's effort can be used as a foundation or core for this effort: https://github.com/nsauzede/vsdl2
Beta Was this translation helpful? Give feedback.
All reactions