Page 1 of 2

Milch's Green Robot Engine Developement

Posted: Tue Mar 08, 2011 12:21 pm
by Milch
Hey folks!
SO, I've been developing quietly for the past 4-5 months now, and now its finally time to show off :lol:

The actual engine that runs on android is written purely in Java, without the use of the NDK (a toolset for running native C++ code on the device)
I guess the most exiting part about my engine are:
-uses multithreading
-uses OpenGL ES
-supports VBO/VertexArray
-completly hardware-independent input system
-component based entitiy system

So this is a screenshot of my engine running the game I'm working on (a yet to be named 2d zelda clone)
Image

The toolset, currently a 2d level editor called "Crafter2D", is also developed in Java (please dont flame me for that, I simply love swing).
The editor is based around plugins, so I can easily write a new plugin for a new game.
It is still a heavy work in progress + the icons look ugly as fuck, but anyway, here are pics:
Image

Currently I'm working on a way to press compile inside my editor and it automatically compiles the map and runs it on the android-device attached (or on the android-emulator).

Any thoughts or criticism would be appreciated!

Re: Milch's Green Robot Engine Developement

Posted: Tue Mar 08, 2011 12:47 pm
by GroundUpEngine
One word... sexy! :)

Re: Milch's Green Robot Engine Developement

Posted: Tue Mar 08, 2011 12:59 pm
by MrDeathNote
Funny I just asked for an update of this today... and here it is :). You probably won't get flamed for using java, I certainly can't say anything since I'm an oracle certified java programmer lol. Nice job so far man, looks like a really good foundation to build on.

Re: Milch's Green Robot Engine Developement

Posted: Tue Mar 08, 2011 3:36 pm
by Khearts
FINALLY you show off something!

Re: Milch's Green Robot Engine Developement

Posted: Thu Mar 10, 2011 12:23 pm
by Milch
MrDeathNote wrote:Funny I just asked for an update of this today... and here it is :). You probably won't get flamed for using java, I certainly can't say anything since I'm an oracle certified java programmer lol. Nice job so far man, looks like a really good foundation to build on.
Oh well, you were actually my initial motivation to start such a thread :lol:

Re: Milch's Green Robot Engine Developement

Posted: Thu Mar 10, 2011 2:28 pm
by N64vSNES
....Must resist....Java...joke!

In all seriousness this looks awesome ;) I look forward to seeing more :)

Re: Milch's Green Robot Engine Developement

Posted: Tue Mar 15, 2011 10:38 am
by Milch
Its UpdateTime!

Well, I didn't have that much time to code in the last week, but still got some work done.

Most of the time I worked on the workflow to make it easier to push my maps/testing-commands to the device.
At first I though about simply updating the content, re-compile everything, sent it to the device and run it.
This has actually 2 major problems:
1. Every developement PC needs the whole android-developer-package installed
2. I'm using a xperia x10 for developing - and this phone has a pretty unstable USB-connection (seriously, I just have to touch it and it drops the connection)

So, I have developed something I call a "DeviceDevelopementServer", or DDS for short. (I've read somewhere that the PS3 SDK has something similar)
Its actually a simple http-server launched in its own thread alongside the actual engine - and the PC-user simply sents POST commands+data to be processed by the engine.

So this is what it looks like inside Crafter2D:
Image

Now I can simply work on a map, compile it and push it to the device, without any need of USB cables or recompiling.
Or I can use it for spawning enemies around me while I'm playing (or a friend of mine :twisted: ), the possibilities are nearly endless :lol:
This should speed up testing things/tweaking alot!

And a small update on the actual game:
Image

I can now actually open the chest and get some gold ;)

Re: Milch's Green Robot Engine Developement

Posted: Tue Mar 15, 2011 5:25 pm
by N64vSNES
:shock2:
That's hella badass. ;)

Re: Milch's Green Robot Engine Developement

Posted: Tue Mar 15, 2011 6:50 pm
by dandymcgee
Great idea, very innovative.

Re: Milch's Green Robot Engine Developement

Posted: Thu Mar 17, 2011 9:24 am
by Milch
N64vSNES wrote::shock2:
That's hella badass. ;)
Yeah, thats how I roll :lol:
dandymcgee wrote:Great idea, very innovative.
Thank you :)

Re: Milch's Green Robot Engine Developement

Posted: Thu Mar 17, 2011 9:11 pm
by eatcomics
Dayum. I was thinking about doing something similar to that if i got a zune HD... But I never got a zune, my money went elsewhere xD.

Re: Milch's Green Robot Engine Developement

Posted: Fri Jun 10, 2011 10:03 am
by Milch
Well, it passed quite some time since I last posted in this thread, so I though I might update it.

This has several reasons, the biggest one is called "Warsow" - I joined their devteam to redo the whole UI (shameless plug here :lol: ) so most of my coding-time goes there until the UI is finished.

Editor and enginewise I'm currently doing some really big changes (slowly, but steady)
The editor will soon get a complete new main-renderer to support layers (hiding,switching hierarchy,zooming,...).
The engine is currently getting ported over to libgdx - a crossplattform opengl-framework - so I can run it on the pc and use the same code to deploy it on the actual device :D

So, expect some bigger updates soon :)

Re: Milch's Green Robot Engine Developement

Posted: Fri Jun 10, 2011 5:20 pm
by LeonBlade
This looks awesome, I don't know how I haven't already seen this!
Keep up the great work, can't wait to see more. :)

Re: Milch's Green Robot Engine Developement

Posted: Sun Jun 12, 2011 12:59 am
by MadPumpkin
Damn, I love your system. I might have to steal your idea!

Re: Milch's Green Robot Engine Developement

Posted: Wed Jul 13, 2011 9:36 pm
by THe Floating Brain
Looks really good dude.