Will the Defold Engine work on Gameshell?


#1

As you seen on the title I asking if the defold engine will work on gameshell. It runs Lua


#2

From a quick glance in the FAQ session, the engine’s runtime runs only on 64bit linux platforms. GameShell’s CPU is 32-bit (https://en.wikipedia.org/wiki/ARM_Cortex-A7) so it seems that it won’t run natively. However this engine supports HTML applications so it might probably run via nwjs (see the GSP project for GameShell).

Update:
It also uses OpenGL for rendering so I doubt if it will work on GS since there is still no GPU support in the Clockworkpi OS


#3

Ok. Then Do you know any engines that’ll use Lua or at least C++. Obviously I want to know the only ones that work on gameshell


#4

Simple DirectMedia Layer (SDL) works nicely on GS. It’s a very well known C/C++ library


#5

People have definitely got Love2D to work on GameShell, so if you want to go the Lua route that’s definitely one to take a look at.


#6

What engine will work for C++


#7

As elefas said, SDL definitely works, a large number of the ports/emulators we have for GameShell use SDL, so if you want to go the C++ route, that’s probably the most advisable. I’m afraid I don’t know of any others off the top of my head.


#8

If you really wanted to use the defold engine you could probably export your game to html5 and then run it through electron. Obvious performance hit with this route.

SDL is a library for multimedia stuff, not a game engine. So you’ll be doing a lot of reinventing the wheel. Which is cool if you’re into that :slight_smile:

You could use Godot with C++, but I have no idea what the experience is like. Please post back and tell me how it is if you go this route.


#9

Also, Love2d is built on top of SDL.


#10

Thank you I have one last question which language should I use when making my game C++ or lua. Which one do y’all recommend


#11

Usually people recommend a scripting language (lua) for the majority of the game, C++ for the heavy lifting.


#12

Thank you so much for replying


#13

Not to make it sound like one solution works for all of your problems, but you can write C in LÖVE also!

https://love2d.org/forums/viewtopic.php?f=4&t=77658