kion-dgl / astro-dashgl.org

DashGL Homepage Repository
https://dashgl.org/
MIT License
0 stars 0 forks source link

Decide format for new tutorials #2

Open kion-dgl opened 8 months ago

kion-dgl commented 8 months ago

Currently i have a bunch of new tutorials planned. But the format for what the tutorials should be has been floating around in my head. In this case i specifically want to do C tutorials, but i should provide some context as to what the other options are and why I'm deciding to go with that specific format.

For other languages we have Python, Golang, Rust and C++ as alternatives. I wouldn't mind having these tutorials on the site with the goal of making open source content easy to find. but I'm not as interested in making them into Youtubr videos.

As for other libraries in C, we're going with SDL in this case. I think there are alternatives, like glut, or gtk but in this case SDL makes the most sense since it has the widest support for gaming.

And the last option we have is vulkan versus opengl 2.0es. I think opengl will have the widest compatibility with the devices we're going to be targeting. But we can make a lot of small test programs.

Also we have the target device. This has been expanded alot from just the raspberry pi. So we need to be aware of how to compile and deploy to a bunch of different formats.

kion-dgl commented 8 months ago

The next question is whats the task here. It seems to make a simple as possible test program and test it on devices. It also sounds like we need to create another issue for references devices.

For the purpose of this issue, the two that I'm interested in are OpenGL 2.0es and vulkan with SDL on ubuntu. And then we can do it on a reference device after that.

kion-dgl commented 7 months ago

This is also a good place to keep track of reference devices. First device is the Reboi: https://lifehacker.com/tech/reboi-kickstarter-build-a-computer-inside-a-game-boy

reboi_01

I like the design and layout. And the fact that it's based around the Pi Zero. Only part that I'm sketch about is the 160x144 display. I wonder if that can be replaced.

The main take-away here is that it's running RetroPi which is probably the format I'll be targeting.

kion-dgl commented 7 months ago

Next is the Lichee Pocket 4A: https://liliputing.com/lichee-pocket-4a-is-a-risc-v-powered-handheld-game-console/

lichee-pocket-4a_01

Looks like this runs either Android or Debian. Resolution is 1280 x 800. Processor uses Risk-V. Layout is not X-input. I'd prefer to use the X-input layout with my reference device, but that's something I might address in software.

kion-dgl commented 6 months ago

I think I'm in love. This is exactly the kind of reference device I've been dreaming about:

image From: https://www.tomsguide.com/gaming/a-portable-xbox-could-be-coming-and-could-set-it-apart-from-other-handheld-gaming-pcs

I like the ergonomic design, the four-input face buttons, and the way it makes 4:3 look cool on a handheld. I think the only tweaks I have would be with having a d-pad on the top left, a nub under it, and then a track pad on the right side. I think that would make the device pocket-able while still having some modern additions.