Author Topic: Unity Linux Games  (Read 2858 times)

Asixjin (OP)

  • *
  • Posts: 12
Unity Linux Games
« on: March 21, 2014, 12:12:25 am »
If im not mistaken Unity can export to Linux so would it be possible to make a game in Unity and play it on the Zero? If not possible explain why so I can understand please.

Senor Quack

  • *
  • Posts: 217
Re: Unity Linux Games
« Reply #1 on: March 21, 2014, 12:26:13 am »
It won't work because it looks like it requires C#/Mono and that is not (yet) available on GCW Zero and possibly never will be.  There are probably further complications that would make it unsuitable / unusable besides this.

Asixjin (OP)

  • *
  • Posts: 12
Unity Linux Games
« Reply #2 on: March 21, 2014, 12:35:49 am »
Hmm I figured as much. So are there any Unity-like programs that make use of a C based programming (like C sharp) that can make applications for the Zero

Senor Quack

  • *
  • Posts: 217
Re: Unity Linux Games
« Reply #3 on: March 21, 2014, 08:15:10 am »
C, C++, Java, and Python are your main options for programming on the GCW Zero for now. Python will be the slowest. There are currently game creation engines like RPG Maker etc being ported and the effort will surely continue. You can tack Perl onto the list if you like but I'm not sure anything Perl has ever been ported. It surely works. I am not 100% sure of the viability of Java right *now* but it worked great on GP2X which is a similar but much lower-power device so I cannot see it not working on GCW Zero.

I had a good go at compiling Mono for GCW but the uclibc of GCW and infantile MIPS support of Mono got in the way. I had little success as of March 2013, the last time I tried.
« Last Edit: March 21, 2014, 08:21:40 am by Senor Quack »

zear

  • * Moderator
  • Posts: 2379
Re: Unity Linux Games
« Reply #4 on: March 21, 2014, 06:28:21 pm »
I am not 100% sure of the viability of Java right *now* but it worked great on GP2X which is a similar but much lower-power device so I cannot see it not working on GCW Zero.
Java is working (I am working on a little proof of concept for it), although you have to keep in mind you won't be able to use the common drawing libraries that desktop java has to offer. The only option right now is to use SDLJava bindings.

austinmitchell

  • Posts: 3
Re: Unity Linux Games
« Reply #5 on: March 21, 2014, 08:37:45 pm »
Do you have any instructions you can share on how to develop for the GCW Zero using Java?  I'm a Java programmer and this is an interesting development.

Asixjin (OP)

  • *
  • Posts: 12
Re: Unity Linux Games
« Reply #6 on: March 22, 2014, 02:29:44 am »
I think my best option would be C. I have to use the tool chain for that correct (would it be better if I developed on Ubuntu)

Senor Quack

  • *
  • Posts: 217
Re: Unity Linux Games
« Reply #7 on: March 22, 2014, 05:39:12 am »
Yeah you need to download and extract the toolchain from here:
http://www.gcw-zero.com/develop

You will want to find an example Makefile. Someone in IRC (Freenode #gcw ) can probably give you a good one. If you want an example of a crappy one that hasn't been cleaned up properly and makes me look like a slob:
https://github.com/senquack/tileworld-for-handhelds/blob/master/src/Makefile

It's really a bad example for a Makefile, for example GPLDFLAGS should actually be LDFLAGS, just a bunch of leftover cruft everywhere. I just don't really care about Makefiles for silly little projects. 






Asixjin (OP)

  • *
  • Posts: 12
Re: Unity Linux Games
« Reply #8 on: March 22, 2014, 05:42:32 am »
Would I still need the tool chain if I developed in unbuntu

hi-ban

  • **
  • Posts: 864
Re: Unity Linux Games
« Reply #9 on: March 22, 2014, 11:27:54 am »
everyone needs the toolchain

zear

  • * Moderator
  • Posts: 2379
Re: Unity Linux Games
« Reply #10 on: March 22, 2014, 09:44:46 pm »
You need the toolchain - it's a set of tools to generate a MIPS binary out of the C code. GCW Zero uses a MIPS architecture CPU and won't work with x86 architecture binaries that your PC Linux uses.

 

Post a new topic