Application speed up

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
itay1023
Posts: 68
Joined: Fri Sep 28, 2012 1:44 pm

Application speed up

Post by itay1023 » Sun Nov 03, 2013 2:36 pm

Hi,
I am buildong a game for iOS platform.
When i tested it on my iOS device, the game worked slow....
Can someone give my a code or something that will speed up my game?

Best regards,
Itay

donbrae
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 19
Joined: Sun Feb 22, 2009 9:49 pm
Contact:

Re: Application speed up

Post by donbrae » Sun Nov 03, 2013 9:05 pm

Hi Itay,

Have you set the accelleratedRendering custom property to true?

Code: Select all

on preOpenStack
   
   set the accelleratedRendering of this stack to true

end preOpenStack
Also, for controls that are going to be moving around, the Layer Mode property of said controls should be set to Dynamic (or Scrolling). This can be set in code or in the object's property inspector.

Jamie
Jamie Smith
Composer, web dev, LiveCoder
www.donbrae.co.uk - Donbrae Studios: Music for games, film, TV, web
jamieonkeys.tumblr.com - My game development blog

itay1023
Posts: 68
Joined: Fri Sep 28, 2012 1:44 pm

Re: Application speed up

Post by itay1023 » Mon Nov 04, 2013 1:09 pm

Thank you very much Jamie :D

donbrae
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 19
Joined: Sun Feb 22, 2009 9:49 pm
Contact:

Re: Application speed up

Post by donbrae » Tue Nov 05, 2013 1:47 pm

itay1023 wrote:Thank you very much Jamie :D
No worries, Itay.
Jamie Smith
Composer, web dev, LiveCoder
www.donbrae.co.uk - Donbrae Studios: Music for games, film, TV, web
jamieonkeys.tumblr.com - My game development blog

Post Reply