Skip to content

a little suggesttion for us newbie. #32

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

Open
zykNet opened this issue May 27, 2018 · 1 comment
Open

a little suggesttion for us newbie. #32

zykNet opened this issue May 27, 2018 · 1 comment

Comments

@zykNet
Copy link

zykNet commented May 27, 2018

A newbie who familer to android always think that callback function will be called when the button pressed ranthre than changed. So i suggest add a new conditional sentence in the callback function (in your demo).

ex: if ( msg->id == OBJ_TYPE_BUTTON && msg->event == OBJ_EVENT_PRESSED )

i spent whole two days to figure this future out. ~( ̄▽ ̄~)

@zykNet
Copy link
Author

zykNet commented May 27, 2018

further more , i disable the future USE_PRERENDER_EVENT and USE_POSTRENDER_EVENT.
when i enable this future, the program is loop in windows 1 and windows 2.(UG_Update always call callback function MAX_OBJECTS times).
i just don,t know how to use those future, i just disable this.(>﹏<)

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

1 participant