How do I Create Faster and Smoother Auto Platform Movement?

Get help using Construct 2

Post » Thu Jun 05, 2014 5:21 pm

Btw, I still dont get it
If I use platform behaviour and for moving i use dt, will the dt's "magic" affect the framerate?
B
8
S
2
Posts: 203
Reputation: 1,169

Post » Thu Jun 05, 2014 5:22 pm

Just some things to note about your screen shot.. It looks like your sprites are giant. Your background is one image and your terrain is one image (from the looks of it). I found on mobile larges sprites are death. See about tiling into smaller objects if you can. There is goldilocks zone of using small sprites vs too many sprites on screen you want to keep for optimal performance.
B
20
S
7
G
1
Posts: 221
Reputation: 2,077

Post » Thu Jun 05, 2014 5:37 pm

troublesum wrote:Just some things to note about your screen shot.. It looks like your sprites are giant. Your background is one image and your terrain is one image (from the looks of it). I found on mobile larges sprites are death. See about tiling into smaller objects if you can. There is goldilocks zone of using small sprites vs too many sprites on screen you want to keep for optimal performance.

My base line is 1280x720


Yes, the background and the floor is one big sprite

So it's better to cut down the big background into 4 or 5 sprite?
If so, doesn't it make the perfomance become worse since it need to move 4 or 5 sprite only for background, isn't it?

Edit-

Oh I got it, tiling!
I'll try to do it :D
B
8
S
2
Posts: 203
Reputation: 1,169

Post » Thu Jun 05, 2014 5:50 pm

If possible the background sprite should be a repeating pattern and then use the tiled back ground sprite to place it for optimal performance. Its about the amount of work the render has do. Not really about moving objects but determining what has to be redrawn.

This should help explain it better.
https://www.scirra.com/manual/134/performance-tips
B
20
S
7
G
1
Posts: 221
Reputation: 2,077

Post » Thu Jun 05, 2014 5:59 pm

Any one has idea how to tile that background?
I got it from kenney asset pack, the tappyplane pack

I resized them via Adobe Illustrator to 720p size, so it will fit my layout better

Btw, I saw Ashley's tutorial for platform game, he use big background but the performance is very good, I wonder why :?:
Also I wonder, does the ammount of object created affect the performance since every 1 second, 2 new object created to stimulate the rock effect
You do not have the required permissions to view the files attached to this post.
B
8
S
2
Posts: 203
Reputation: 1,169

Post » Fri Jun 06, 2014 4:00 pm

bump my last question :D
B
8
S
2
Posts: 203
Reputation: 1,169

Previous

Return to How do I....?

Who is online

Users browsing this forum: RetrocadeMedia, sebrosen, Yahoo [Bot] and 31 guests