[Behavior] moveto

Post your completed addons to share with the community

Post » Mon Dec 11, 2017 2:54 pm

Anonnymitet wrote:@Kraudi I see no performance issues with moveto on mobile either, not even a problem on my oldest testing devices. Sure it is the moveto behaviour?

Are you using effects of any kind? Even the simplest effects can make a game unplayable on mobile.

I think it is moveTo. I compiled a version where I move X coordinate of the sprites every tick and it is much more smooth then with moveTo. The only real "effect" I'm using in my game is the Inverted color effect because I implented a dark mode.
Creating minimalistic iOS Games
Posts: 246
Reputation: 2,937

Post » Mon Dec 11, 2017 3:18 pm

Ok weird. If you use the move to in a trigger and let it move it shouldn't be performance heavy at all. As long as you only set the moveto position once and not every tick or something like that. Just set where it should go in a trigger and let it go there.

I tried again now in a simplistic test and I see no difference whatsoever in performance if I move with the moveto behaviour or manually with set position each tick.

Have you tried a super simple test on your phone?
Posts: 816
Reputation: 14,573


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest