# Will the Defold Engine work on Gameshell?

**URL:** <https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135>\
**Category:** Developers\
**Created:** [December 20, 2018, 3:56pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135 "2018-12-20T15:56:24Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![NotLopX](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/notlopx/32/1376_2.png) [@NotLopX](https://forum.clockworkpi.com/u/NotLopX)\
**Post date:** [December 20, 2018, 3:56pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/1 "2018-12-20T15:56:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![elefas](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/elefas/32/859_2.png) [@elefas](https://forum.clockworkpi.com/u/elefas)\
**Post date:** [December 20, 2018, 8:25pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/2 "2018-12-20T20:25:00Z")

</div>

From a quick glance in the [FAQ](https://www.defold.com/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](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

---

<div class="post-metadata">

**Author:** ![NotLopX](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/notlopx/32/1376_2.png) [@NotLopX](https://forum.clockworkpi.com/u/NotLopX)\
**Post date:** [December 20, 2018, 8:39pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/3 "2018-12-20T20:39:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![elefas](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/elefas/32/859_2.png) [@elefas](https://forum.clockworkpi.com/u/elefas)\
**Post date:** [December 20, 2018, 8:41pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/4 "2018-12-20T20:41:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ManlyStump](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/manlystump/32/889_2.png) [@ManlyStump](https://forum.clockworkpi.com/u/ManlyStump)\
**Post date:** [December 20, 2018, 8:42pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/5 "2018-12-20T20:42:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![NotLopX](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/notlopx/32/1376_2.png) [@NotLopX](https://forum.clockworkpi.com/u/NotLopX)\
**Post date:** [December 20, 2018, 9:19pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/6 "2018-12-20T21:19:19Z")

</div>

What engine will work for C++

---

<div class="post-metadata">

**Author:** ![ManlyStump](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/manlystump/32/889_2.png) [@ManlyStump](https://forum.clockworkpi.com/u/ManlyStump)\
**Post date:** [December 20, 2018, 11:03pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/7 "2018-12-20T23:03:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ugly\_cat](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/ugly_cat/32/1371_2.png) [@ugly\_cat](https://forum.clockworkpi.com/u/ugly_cat)\
**Post date:** [December 21, 2018, 4:42am UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/8 "2018-12-21T04:42:46Z")

</div>

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 🙂

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.

---

<div class="post-metadata">

**Author:** ![mccarthy](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@mccarthy](https://forum.clockworkpi.com/u/mccarthy)\
**Post date:** [December 21, 2018, 9:02am UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/9 "2018-12-21T09:02:49Z")

</div>

Also, Love2d is built on top of SDL.

---

<div class="post-metadata">

**Author:** ![NotLopX](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/notlopx/32/1376_2.png) [@NotLopX](https://forum.clockworkpi.com/u/NotLopX)\
**Post date:** [December 21, 2018, 2:44pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/10 "2018-12-21T14:44:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ugly\_cat](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/ugly_cat/32/1371_2.png) [@ugly\_cat](https://forum.clockworkpi.com/u/ugly_cat)\
**Post date:** [December 21, 2018, 3:42pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/11 "2018-12-21T15:42:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![NotLopX](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/notlopx/32/1376_2.png) [@NotLopX](https://forum.clockworkpi.com/u/NotLopX)\
**Post date:** [December 21, 2018, 3:53pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/12 "2018-12-21T15:53:52Z")

</div>

Thank you so much for replying

---

<div class="post-metadata">

**Author:** ![mccarthy](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@mccarthy](https://forum.clockworkpi.com/u/mccarthy)\
**Post date:** [December 21, 2018, 8:30pm UTC](https://forum.clockworkpi.com/t/will-the-defold-engine-work-on-gameshell/2135/13 "2018-12-21T20:30:30Z")

</div>

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](https://love2d.org/forums/viewtopic.php?f=4&t=77658)
