Rokon - 2D OpenGL Game Framework

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

Rokon - 2D OpenGL Game Framework

Postby Frink » Thu Sep 17, 2009 11:48 pm

[major edit]

For those who are interested, my engine has been around a few months now, and we are currently at 1.0.2. There are a few guys on the team, and things are coming along nicely. Everything is open source, and you are welcome to offer suggestions to get them put in.

Project Site
http://code.google.com/p/rokon/

Development Blog
http://www.stickycoding.com/rokon
Last edited by Frink on Sun Dec 20, 2009 10:12 pm, edited 3 times in total.
User avatar
Frink
Developer
Developer
 
Posts: 46
Joined: Sat Aug 15, 2009 7:42 pm

Top

Postby Frink » Sat Sep 19, 2009 1:00 am

I'm currently working on the next update of the engine, I have made several bug fixes, and added a number of features - including many common modifiers.

The particle engine is also up and running now, I've got a video of the particle engine below. Bringing the moving particle emitter to the application took 3 lines of code.

(Also, it is my camera that brings the frame rate down, honest! It was averaging around 45 fps in this demo)

[youtube]http://www.youtube.com/watch?v=2mZmbnK05g8[/youtube]
User avatar
Frink
Developer
Developer
 
Posts: 46
Joined: Sat Aug 15, 2009 7:42 pm

Postby hellgod » Tue Sep 22, 2009 2:09 pm

Seems to be realy good, but there is still lots of gc.
I will make more test and give feedback !

Thanks for you work, it is a good starting point for game development
hellgod
Freshman
Freshman
 
Posts: 2
Joined: Tue Sep 22, 2009 2:06 pm

Postby daliz » Tue Sep 22, 2009 3:30 pm

Hi Frink, congratulations for your work.

I have a question about the Example03 and the Text class:
why it doesn't show anything? At least, I can't show any text on the emulator nor on the real device.
I tried to set the color but nothing happens.

Thank you, keep up the really good work.
~ daliz ~ :: www.datapixel.eu
w w w . g e e k d r o i d . c o m
daliz
Junior Developer
Junior Developer
 
Posts: 21
Joined: Tue Jul 07, 2009 11:15 pm

Postby Frink » Tue Sep 22, 2009 7:43 pm

There seems to be a bug in 0.11 that prevents the text from showing, it works in the original 0.10 release (you can find it in previous versions)

I've fixed it now, was just a mistake I made that broke it. I'm currently working on my own game from the engine, and made some noticable additions that I'll be using in a new release of the engine later this week (and a new license)


Thanks for bug reporting though :)
User avatar
Frink
Developer
Developer
 
Posts: 46
Joined: Sat Aug 15, 2009 7:42 pm

Postby Superted » Wed Sep 23, 2009 3:13 pm

Very nice! I will be using this soon!

Thanks!
Superted
Junior Developer
Junior Developer
 
Posts: 16
Joined: Sun Jun 14, 2009 12:46 pm
Location: The Netherlands

Top

Postby ux3zsh » Mon Oct 12, 2009 3:42 pm

Thanks for you work,Looking forward to the next version of the engine.
ux3zsh
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Oct 12, 2009 3:35 pm

Postby Emmanuel7 » Thu Oct 15, 2009 12:27 am

Hi,


I've just had a look at your work, and it looks like you've done a lot of thing !
That is really nice !

I'm just a little concerned by the licence : using a GPL licence means that anybody using Rokon for a released product must provides the sources of his product.

It is entirely your choice, and I won't try to change it (if it is the way you want it to be, it's just fine ! ), but I just want to point out that this licence is a real obstacle for a lot of people.
Emmanuel7
Senior Developer
Senior Developer
 
Posts: 164
Joined: Fri Dec 12, 2008 2:17 am
Location: Paris

Postby fusion » Sun Oct 25, 2009 9:43 pm

WOW! This is awesome! :). I just had to try this, but I've started with a problem.

I have imported Rokon to eclipse and the samples that come with Rokon work fine on my G1. But when i include it into my own app and try to start it I get these errors:

Code: Select all
10-25 20:21:44.956: ERROR/dalvikvm(761): Could not find method rokon.Rokon.createEngine, referenced from method org.fusion44.ProjectShootingStar.ProjectShootingStar.onCreate
10-25 20:21:44.966: WARN/dalvikvm(761): VFY: unable to resolve static method 22: Lrokon/Rokon;.createEngine (Landroid/app/Activity;)Lrokon/Rokon;
10-25 20:21:44.966: WARN/dalvikvm(761): VFY:  rejecting opcode 0x77 at 0x0003
10-25 20:21:44.966: WARN/dalvikvm(761): VFY:  rejected Lorg/fusion44/ProjectShootingStar/ProjectShootingStar;.onCreate (Landroid/os/Bundle;)V
10-25 20:21:44.966: WARN/dalvikvm(761): Verifier rejected class Lorg/fusion44/ProjectShootingStar/ProjectShootingStar;
10-25 20:21:44.966: WARN/dalvikvm(761): Class init failed in newInstance call (Lorg/fusion44/ProjectShootingStar/ProjectShootingStar;)
10-25 20:21:51.486: WARN/ActivityManager(571): Launch timeout has expired, giving up wake lock!
10-25 20:21:52.186: WARN/ActivityManager(571): Activity idle timeout for HistoryRecord{439099a8 org.fusion44.ProjectShootingStar/.ProjectShootingStar}
10-25 20:21:57.336: DEBUG/dalvikvm(619): GC freed 4618 objects / 256328 bytes in 143ms


I suspect that I don't include it correctly somehow. It seems to be ok with Eclipse how I do it since it doesn't complain.

This is one project that could definately benefit from the NDK when doing heavy math calculations.
fusion
Freshman
Freshman
 
Posts: 3
Joined: Sun May 24, 2009 9:42 am

Postby BrutoJPO » Thu Oct 29, 2009 12:44 pm

I'm trying to use this API, but got a problem with the import android.hardware.Sensor; this package don't exists and other classes contais some errors too this can't be fixed? just to do some simple things with the API, because with this errors I can't see what I can do with this API.

John Peter
BrutoJPO
Junior Developer
Junior Developer
 
Posts: 10
Joined: Wed Oct 21, 2009 7:41 pm
Location: Brazil

Postby ghd214 » Mon Nov 09, 2009 2:29 am

thanks for your work, I will use this engine. I am a chinese.
ghd214
Freshman
Freshman
 
Posts: 5
Joined: Fri Jun 12, 2009 6:26 am

Postby trabitboy » Mon Nov 23, 2009 5:31 pm

thanks for your working code !
checked out the google code and the examples launcher worked straight !

very useful :wink:
trabitboy
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Nov 23, 2009 5:26 pm

Postby FlyingMadden » Tue Dec 01, 2009 11:28 am

good work :)

how easy is to create board games with this engine?
FlyingMadden
Freshman
Freshman
 
Posts: 3
Joined: Tue Dec 01, 2009 8:06 am

Postby Emmanuel7 » Tue Dec 01, 2009 12:03 pm

He !!
I've just seen that the author had released a new version, had a new website ( http://stickycoding.com/ ), and, best of all for me : change the licence, so anybody can now use it !!

Nice job !!!
Emmanuel7
Senior Developer
Senior Developer
 
Posts: 164
Joined: Fri Dec 12, 2008 2:17 am
Location: Paris

Postby Jorenm » Wed Dec 02, 2009 10:28 pm

Will this engine make it possible to zoom in and out from a 2d plane, or is that something I will need to do with a 3d engine?
Jorenm
Junior Developer
Junior Developer
 
Posts: 22
Joined: Sat Nov 28, 2009 9:16 am

Top
Next

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests