Dev environments

I was wondering what language or environment games for the gameshell are typically developed in?
I see that it supports love 2d, and the fantasy consoles.
Does anyone work with anything else/ are there other options?

  • aside from Python. I’m not too big of a fan of the Python gaming libraries.

love2d, tic80,or pico8

any linux game dev env is ok

Yeah as guu said, any linux dev environment.

I don´t make games but I have made a couple of apps in C++ and depeloped on windows ^^

So would you programm in c++, compile on pi, and then transfer to Gs?

No, I have a crosscompiler set up. But I like just testing on windows while developing and when I want to do a more real test I just send the binary to the GS and I have GDB linked to my windows environment so everything runs on the GS but the output and debug is on my windows PC

Thats how this was built :stuck_out_tongue:

I’m using ENIGMA to port Game Maker Studio games over to the GS. I’m not entirely sure how this will turn out, yet, but I’m trying to be optimistic. ^^

I use cross compile tools in a docker container to build my C++ code.

I’d love to see a tutorial of some sort on setting up a cross compile environment, if you have some free time to throw something together, @Petrakis and @Cecilectomy. I’ve done development with Visual Studio on Windows in the past, as well as some simple command line Linux dev (mostly just building and modifying already portable code with whatever tweaks were needed to get it to build, and I never really set up a decent debugging environment, so help with setting up decent debugging would be appreciated!)

I don’t think a tutorial like this would need to be as detailed and introductory as some others, since I expect the audience for it wouldn’t be first time developers. But I honestly haven’t had (or taken) the time to spend to figure out and set up a working environment, and if I could get past that hurdle I’d be more likely to actually develop some stuff for GameShell. I’ve been thinking about checking out Pico-8 development, but I haven’t really dug into that much yet either.

I kept an eye on the virtual environment threads about building a simulated/emulated GameShell environment on the desktop using something like qemu, but so far it doesn’t seem like any of those are fully working and enough to actually use. While it’s certainly not impossible to do all development on the GameShell itself, I’d rather have some way to do the bulk of it on the desktop, either via cross compiling or an emulation environment, or a truly portable platform like Pico-8, Tic-80, etc. I guess the delay is mostly on me, since I can’t decide whether I want to spend time wrestling with setting up an environment, or spend time learning a new language/tool like Pico-8, or even Game Maker Studio.

Basically what I did is leverage all the work done here https://gnutoolchains.com/raspberry/ and https://visualgdb.com/tutorials/linux/qt/

1 Like

Cool, this looks great! I’ll check it out more when I get a chance, but I didn’t realize these even existed. Thanks for the links!

If I can find the time, I may do a write up of my C++ and SDL build environment, but I do not have quite a lot of time lately. I also don’t really have debugging set up yet, so can’t help you there.

Essentially, I have written some docker containers that use the debian image as a base and install the various needed gcc tools and libraries to build on different platforms. gcc/g++/etc for x86 and x86_64 linux, arm-linux-gnueabihf-gcc/etc for armhf linux (GameShell), and mingw gcc/etc for windows.

I build with make and have a script that generates the makefiles for building all the objects that gets included in my main make file, as well as target specific makefiles to specify which tools and paths to use.

1 Like