gree / pure2d

Pure2D Native Android Game Engine
80 stars 26 forks source link

custom view #7

Open mhemdan opened 9 years ago

mhemdan commented 9 years ago

Hello,

Hope you are fine , i want to ask a question i'm working on application which requires complex animations and while i'm searching i found that i could do it using some game engines and i want to ask as if it possible to do custom views with complex animation and put it on any activity using pure2D engine ? I will be thankful if you provide with the answer.

Best Regards,

longngo commented 9 years ago

It depends on how complicated you want to go for. You have an example? Sorry for the delay.

mhemdan commented 9 years ago

i want to do a circle menu consists of element which expand and collected on one on click like this image and then put this menu on layout main

longngo commented 9 years ago

It is possible. I imagine you will need a Fragment with a GLSurface (associated with a Pure2d Stage) in it. You can make the surface transparent so it won't obstruct whatever beneath.

longngo78 commented 9 years ago

And for the animated menu, one way to achieve complex animations is to use Flash to design and export it into LWF format. Pure2D has a LWF plugin and some included sample code.

For more info about LWF, please go here: https://github.com/gree/lwf

mhemdan commented 9 years ago

Thanks Sir and i hope to go with pure2D it sound promising project and i hope to be part of it

longngo78 commented 9 years ago

You're welcome! Good luck!