onGameLoop

2 views
Skip to first unread message

MrChaz

unread,
Nov 28, 2009, 6:07:53 PM11/28/09
to Rokon
Hi,
Can you give me a quick overview of the proper use of onGameLoop()

What I'd like to do is use it to update the position of my sprites and
do some AI stuff. I know I should probably be using the modifiers for
the movement but I haven't wrapped my head around that yet.

MrChaz

unread,
Nov 28, 2009, 6:13:47 PM11/28/09
to Rokon
No worries, managed to fix it - seem to need to access the time via
the static method Rokon.time

Richard Taylor

unread,
Nov 28, 2009, 8:12:13 PM11/28/09
to rokon-...@googlegroups.com
Yeah, sorry I didnt get back to you quickly.

Thanks for letting me know about the READ_PHONE_STATE thing, didnt realise I missed it out.
And yeah, its aimed at 1.5





Richard

Andrew Rabon

unread,
Dec 2, 2009, 4:42:57 AM12/2/09
to Rokon
Is 1.6 support a priority? I would really like to try and take
advantage of the new resolutions.

On Nov 28, 8:12 pm, Richard Taylor <rtaylor...@googlemail.com> wrote:
> Yeah, sorry I didnt get back to you quickly.
>
> Thanks for letting me know about the READ_PHONE_STATE thing, didnt realise I
> missed it out.
> And yeah, its aimed at 1.5
>
> Richard
>

Richard

unread,
Dec 2, 2009, 6:13:53 AM12/2/09
to Rokon
If you use the engine on a larger screen, it is scaled up to it fine,
just as it would on 1.6 (try it on the emulator)

The extra resolution things that come with 1.6 are aimed at sorting
out XML layouts, which you shouldn't need for this
Reply all
Reply to author
Forward
0 new messages