[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: gamelib.png (252 KB, 547x290)
252 KB
252 KB PNG
C++ - would there be interest in a super portable/retro 2d games engine (simple video/audio io, later maybe some higher stuff like simple visual novel or simple rpg maker type of thing?).

The gimmick is to reach platforms that are used mostly by crazy people (aka computer geeks).
Raylib cover many but not all, Allegro fills in some, and some consoles still need help there (unles LLMs lied to me about the situation).

>Raylib
Windows 10
Windows 8
Windows 7
Linux
FreeBSD
OpenBSD (Mesa)
macOS
iPhone (Metal)
Android
RaspberryPi (GLES)
Web (WebGL)

>Allegro5
Haiku
OpenSolaris / Illumos
Amiga‑like OS (AROS / MorphOS / AmigaOS4)
Windows 10
Windows 8
Windows 7
Windows XP (mostly works)

>Allegro4
DOS
Windows XP
Windows 2000 (if very bored)
Windows ME (if very bored)
Windows 98 (if very bored)
Windows 95 (if very bored)

>SDL2
MiSTer (Linux side)
OpenSolaris / Illumos (alternative)
Amiga‑like OS (alternative)
Windows 10
Windows 8
Windows 7
Windows XP (older builds)

>>More work:

>Custom backends (we wrap the libs)
PlayStation1
Dreamcast
Bare‑metal MCU / SoC (some)

>(custom wrapper)
ascii art / text mode / real text mode or terminals (limited io, no audio)
>>
>>108109164
so then - I would like to support these above-listed systems, (Open+)BSD, WinXP (and older/newer), DOS, Solaris (Illumos) - by wrapping RayLib and Allegro (version 4, perhaps 3 too).
Baremetal with Raylib.

The niche game consoles PS1 / DreamCast - need to wrap what ever libs they use.
Other game consoles to cover?

I give up on weaker game consoles that need tile-based rendering, they do not have C++ tools and are too weak to run any interesting game logic even.

And modern Win/Lin/Mac (+iPhone and obviously Android) is easy (LibRay and more) just wrap that.
>>
if you make an engine/framework that can make games to the ps1 I would absolutely use it
>>
would just go with SDL like a normal human being

question is if you want some higher level drawing library.
SDL2 has software SDL_Surface, SDL_Renderer with GPU support but idk how ported that is, and direct access to the platform API such as OpenGL and Vulkan. but there is barely any usable drawing helpers. You have to do any 2D vector graphics drawing yourself. Raylib is way better in this regard but still pretty limited.
SDL3 has some GPU abstraction but it only covers modern OpenGL, Vulkan, Metal and Direct3D 12. Definitely not usable on WinXP.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.