Have a look into using Canvas. Iphone supports the canvas vector graphic protocol 100% and it may yield the speed you seek. -=R
On 8/2/07 7:37 PM, "D. Rich" <[EMAIL PROTECTED]> wrote: > > For a game, there is going to be multiple moving images on the screen. > > I am trying to find the fastest and most efficient way to move these > images. > Most of the implementations that are found on the web are fine on a > computer but slow on the iPhone. For example: > > document.getElementById(idname).style.left = newleft + 'px'; > document.getElementById(idname).style.top = newtop + 'px'; > > Anyone know any tricks? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
