OpenGL option?
Monkey Targets Forums/Android/OpenGL option?
| ||
Any chance in the future that we could use OpenGL instead of Canvas for Android? |
| ||
I think it should be possible to write a mojo clone by replacing some graphics functions, which uses the Android NDK 5 instead of Java, and then make a new target for Monkey like ANDROIDCPP. I will play around with the raw Android NDK 5, and see what is needed to compile programs. Once that works, it can be Monkeynized. |
| ||
Or you could simply write a new mojo implementation using the GLSurfaceView. |
| ||
However, everyone should be relieved to hear there is an opengl driver coming soon, and that if should be a LOT faster. :) http://www.monkeycoder.co.nz/Community/post.php?topic=270&post=2493 |
| ||
Mark has already mentioned that there is going to be an openGL driver in the "Performance? Tips?" thread. EDIT: Damn, too slow! :) |
| ||
This is in V32 |
| ||
And its a lot quicker :) Mark has included a sample called bouncyaliens, I can display around 50 aliens, touch the screen and still get over 30FPS. With 25 sprites and touching the screen I get around 50FPS. |