How do I make my game more smoother?

Get help using Construct 2

Post » Wed Jun 17, 2015 10:00 am

This is my first game. I am graphic designer, my knowledge of programming is 0 ;) So, Construct 2 is like magic for me :D :D :D
I'm pretty satisfied with my a game, but I want it to be perfect. So far, all is well but the game can be more smoother/lighter.
Do you have some advice?

Game link: https://play.google.com/store/apps/deta ... ergo&hl=en

I made this, but it is not enough. I want to keep all animations.

Image

thanks ;)
B
5
S
1
Posts: 31
Reputation: 437

Post » Wed Jun 17, 2015 10:55 am

Be sure to follow the performance tips as well as the memory usage tips.

Also consider the mobile device can be weak hardware (and weak OS).
Make sure you are testing on the appropriate OS, not older, and maybe you will have to sacrifice animations and animations frame, because in the end, everything is not doable.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293

Post » Wed Jun 17, 2015 12:12 pm

Thank you! Good texts ;)
B
5
S
1
Posts: 31
Reputation: 437

Post » Wed Jun 17, 2015 12:56 pm

I've tested your game on my Samsung Glaxy s4 with and 8 core CPU and 2gb of RAM. And it is very unsmooth.... I guess not the hardware is the main reason here... Try stuying the links above left by @Kyatric

Nice graphics although! ;)
B
8
S
2
Posts: 110
Reputation: 928

Post » Wed Jun 17, 2015 4:09 pm

MangoPolo wrote:Nice graphics although! ;)


Thank you ;)

--------------------------------

I have a large number of objects that are created in the short term. Every time when the object is created, I have unsmooth motion.
I tried to resize my files to minimum.

This is my code, can I try something different in code?

Image
B
5
S
1
Posts: 31
Reputation: 437

Post » Wed Jun 17, 2015 11:43 pm

You've tryed to do "If [OBJECT] is out from layout > Destroy [OBJECT]" ? ;) Don't making this is horrible for RAM memory, and then the performance!
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
24
S
7
G
4
Posts: 326
Reputation: 3,878

Post » Wed Jun 17, 2015 11:54 pm

@maximillion can do this and upload the update for this referred game, and @MangoPolo or other people that have an Android device can test for you ;)
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
24
S
7
G
4
Posts: 326
Reputation: 3,878

Post » Thu Jun 18, 2015 12:54 am

Played the game on my HTC One M7. It played quite well, not always on 60 FPS but definitely not below the 50s.
Risk Rocket now available on Google Play
Image
B
36
S
15
G
6
Posts: 337
Reputation: 6,300

Post » Thu Jun 18, 2015 3:01 pm

Thank you people. I will give my best! ;)
B
5
S
1
Posts: 31
Reputation: 437

Post » Thu Jun 18, 2015 3:41 pm

One thing to do instead of constantly creating and destroying objects (though this takes more work) is to just move them. IE, recycle the objects that are already present. So have an ever-constant pool of objects to use and then just move them to a start location instead of creating a new one and destroying it later. Believe it or not, but this runs better on a lot of hardware by quite a bit.
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests