Pinephone app development
#21
I saw this thread and couldn't resist throwing in a few more options:

Ones I've tested on the PP (mobian). The benefit of all these options is that they can run on the desktop and on the pinephone.
Love2D (https://love2d.org/) - this is the easiest one to get up and running IMO.
libgdx (https://libgdx.com/) - Java based games seem to work fine on the PP, I've been able to run pixelwheels from here https://github.com/moxvallix/LinMobGames
Gnome builder (https://wiki.gnome.org/Apps/Builder) - this might be linux only? this has great options for pseudo-cross compiling - it can automatically setup a virtual machine on linux (I use Ubuntu) and emulate the phone apps on a desktop. It has samples for C/Python and others.

Ones I've not tested, but would be interesting:
Python with pygame (https://www.pygame.org) / Kivy (https://kivy.org) / Pyglet (pyglet.org) (lots of options here)
Haxe with heaps.io or openfl
Godot (as was mentioned above)
Cocos2d
There are also a bunch of C/C++ libraries: SDL, Allegro, OGRE, Irrlicht, etc.


[/url][url=https://kivy.org/]
  Reply
#22
I am interested in the "embedded" approach at least for the case you need stability and energy efficiency, that is you don't need to port the whole desktop linux to the phone, this "mode" can coexist with the full port and switch between them on demand, here is an example in C code, it is very easy to test it if you have a dock to connect a keyboard with Arch Barebone or connect remotely

https://forum.pine64.org/showthread.php?tid=14501
  Reply
#23
Thanks for this solution. I also have the case.
  Reply
#24
(03-29-2021, 01:50 AM)pcvonz Wrote: Have you considered trying Godot? I read an article recently about creating GUI apps with it[1]. I've used it quite extensively for games and I'm pretty tempted to try app development with it. The GUI system is a little hard to wrap your head around, but there are some pretty decent tutorials online for that. I got a basic demo running on the pinephone using frt[2].

1. https://medium.com/swlh/what-makes-godot...cfb941df3b
2. https://github.com/efornara/frt

Did you ever make a GUI with Godot? I spent a month or so playing with Godot and made a game or two and would be really interested to hear your experiences with this! I've made a handful of apps with Gtk for Mobian and the interface has stopped me from making a few others because it can get super annoying.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Austrialians now have a better reason to use PinePhone KNERD 0 8 41 minutes ago
Last Post: KNERD
  Manjaro Edition Pinephone for sale mstevens 5 162 3 hours ago
Last Post: mstevens
  Are you using the Pinephone as your daily driver? jro 91 13,353 7 hours ago
Last Post: user641
  PinePhone is not a daily driver FOSSagent0 17 1,158 Today, 01:11 AM
Last Post: bogen85
  New PinePhone user dachalife 4 231 09-15-2021, 12:01 PM
Last Post: dachalife
  UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) megous 161 111,413 09-11-2021, 10:57 PM
Last Post: ryo
Heart What native PinePhone application would you like to see in the near future? kern707 82 15,358 09-09-2021, 12:32 PM
Last Post: user641
  Pinephone won't let me enter password czgunner 5 262 09-07-2021, 08:50 PM
Last Post: TRS-80
  Pinephone shipping to UK nb8550 2 132 09-06-2021, 08:05 AM
Last Post: jms429
  PinePhone quickly crashes unless plugged to power gab 8 716 09-01-2021, 01:52 PM
Last Post: gab

Forum Jump:


Users browsing this thread: 1 Guest(s)