How hard it is to write android app in Go if compare to traditional Java SDK (nowadays) ?

577 views
Skip to first unread message

fsn7...@gmail.com

unread,
Jan 12, 2017, 6:14:18 PM1/12/17
to golang-nuts
Let's say I wanna create 2D game in Go, would it be painful today (let's not consider that there are already some game engines in Java) ?

Taksan

unread,
Jan 12, 2017, 8:25:50 PM1/12/17
to fsn7...@gmail.com, golang-nuts
Your question is simple, but, would require a long conversation to answer...  :)    

I have been using java for... like... more than 10 years now... and still... I am thinking on making my next game in Go, not in java. 

First, there are already lots of game frameworks in Go, there "used" to be a lot of game frameworks in java, but nowadays probably there are only two worth it (Java Monkey and libgdx). Granted, "quantity" does not mean "quality" but it will give you some "idea" of what is going on: java is getting more to do just "server side" things while Go is more and more used for many things, not just server side programming but many other things. Kind of ironic considering that java was supposed to be the "language for everything" in its early days...

I am happily surprised that I can to the same things in Go that I used to do in java, but with much much less code. That for me, translates into speed of development and time is always something we are missing in projects these days. Before getting into Go I was evaluating Javascript and Python, they are also powerful and allow me to write "code faster", but.... coming from the java world... they just feel too different....    not the case with Go....  coming from the java world programming in Go feels much natural... 

So yes, give it a try and do your game in Go.  Of course it also depends on the kind of game you want to make... if you are aiming at "AAA" games then forget all of this and just install Unity or Unreal and let's have a totally different conversation :)

Taksan

On Thu, Jan 12, 2017 at 6:14 PM, <fsn7...@gmail.com> wrote:
Let's say I wanna create 2D game in Go, would it be painful today (let's not consider that there are already some game engines in Java) ?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Egon

unread,
Jan 13, 2017, 1:05:46 AM1/13/17
to golang-nuts, fsn7...@gmail.com
On Friday, 13 January 2017 01:14:18 UTC+2, fsn7...@gmail.com wrote:
Let's say I wanna create 2D game in Go, would it be painful today (let's not consider that there are already some game engines in Java) ?

Even without a game-engine, it wouldn't be that painful.
* https://github.com/loov/zombies-on-ice/ (Made in 48hours from scratch)

Of course, there are game-engines for Go:

+ Egon

fsn7...@gmail.com

unread,
Jan 17, 2017, 4:41:18 PM1/17/17
to golang-nuts, fsn7...@gmail.com
Thanks a lot for such detailed info ! Do you mean 48 hours literally or you was busy several hours couple of days.

Egon

unread,
Jan 17, 2017, 5:18:09 PM1/17/17
to golang-nuts, fsn7...@gmail.com
On Tuesday, 17 January 2017 23:41:18 UTC+2, fsn7...@gmail.com wrote:
Thanks a lot for such detailed info ! Do you mean 48 hours literally or you was busy several hours couple of days.

It was a Ludum Dare Compo which has a deadline of 48hours... in real life it was ~24 hours and two days... (but, I also helped some other LD Jam teams during that time).

PS: I've written similar things or some of these parts (in other languages) several times before, so I knew my way around.

PPS: 48 hours just sounds nicer than 24 hours in 2 days :P

fsn7...@gmail.com

unread,
Feb 9, 2017, 7:50:02 AM2/9/17
to golang-nuts, fsn7...@gmail.com
 But could I use there engines for Android ?

Egon

unread,
Feb 9, 2017, 8:25:31 AM2/9/17
to golang-nuts, fsn7...@gmail.com
Oh right, most of them have a list what they support.

Android is supported by:

Engo
Ebiten

See their examples and README-s to see what features they have.
Reply all
Reply to author
Forward
0 new messages