Hello. I’m making a car game, where I must be updating the distance, all the time.
I have a text object created like this
local distance\_text = display.newText("",8,40,350,36,native.systemFont, 13)
And to update the text object I do this:
distance\_text.text=max\_distance\_ran
This is enought to slow down the physics, to like if they where at 10 fps. But cheking the FPS it keeps between 40 and 60.
Just commenting the like distance_text.text=max_distance_ran makes everything run smooth.
Even updating the text object inside a performWithDelay doesnt solve.
This problems happens only on Android device. Tested on a Galaxy Tab 7’’, Android 2.2. At the iphone everything works fine.
I’m using the latest corona version.
–
Hope anyone know a solution.
Thank you.