Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom view #7

Open
mhemdan opened this issue Dec 8, 2014 · 6 comments
Open

custom view #7

mhemdan opened this issue Dec 8, 2014 · 6 comments

Comments

@mhemdan
Copy link

mhemdan commented Dec 8, 2014

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
Copy link
Contributor

longngo commented Dec 31, 2014

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

@mhemdan
Copy link
Author

mhemdan commented Dec 31, 2014

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
Copy link
Contributor

longngo commented Jan 2, 2015

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
Copy link
Contributor

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
Copy link
Author

mhemdan commented Jan 5, 2015

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

@longngo78
Copy link
Contributor

You're welcome! Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants