Why the game goes very slow

Discussion and feedback on Construct 2

Post » Wed Mar 05, 2014 12:03 pm

In the pc with chrome the movements of my game go well, but play it from my smartphone not goes well.

Please test this game: http://www.paraguapp.com/spacecavern.html
B
5
Posts: 21
Reputation: 348

Post » Wed Mar 05, 2014 12:17 pm

Because PC has how many gigs ram and cpu is how much.
Now your phone has how many mb ram and cpu is how much?

Welcome to cross platform/device gaming and the constant headache that comes with it :)

Sidenote: nice little game, great detail, looks great.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

Post » Wed Mar 05, 2014 12:46 pm

rafamem wrote:In the pc with chrome the movements of my game go well, but play it from my smartphone not goes well.

Please test this game: http://www.paraguapp.com/spacecavern.html


I saw that the assets of your game are pretty big, for exemple oscuro is 1400 x 1050, I think you should reduce it's size in the image editor, then scale it up in the layout view, since it is a gradient, the loss should not be noticeable too much

Also sprite7 is too big, you should separate it in multiple smaller objects

Star could maybe be smaller

bg1 bg2 and bg3 also take some space
creditos could be remplaced with a Spritefont/9-patch combination but that is not the culprit I think
Explosion1 is too detailed I think

Particles is 250x250, I think it is too much (it is empty too?)

Sprite 4 could be smaller maybe?

I think all of this is your principal issue right there (might not be the only one though)
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Wed Mar 05, 2014 3:52 pm

Thank you, guys! I'm gonna follow your recommendations.

I'm glad you like the game, Dutoit. My idea is to enhance the graphics and publishing to Android :-)

Thanks for the detailed suggestions, Aphrodite! :-)
B
5
Posts: 21
Reputation: 348

Post » Wed Mar 05, 2014 6:44 pm

Good paragua game.

Regards from your neighbor from Argentina :)
B
31
S
13
G
6
Posts: 355
Reputation: 5,058

Post » Wed Mar 05, 2014 6:49 pm

The game is very cool too bad it didnt worked out on mobile
B
51
S
9
G
2
Posts: 153
Reputation: 3,488

Post » Wed Mar 05, 2014 8:47 pm

Gracias Katzin! :-D

Thanks mrnannings! This game will come out in mobile version sooner or later, initially with 6 levels and in 3 languages. I have yet to work on the graphics and optimization. :-)
B
5
Posts: 21
Reputation: 348

Post » Thu Mar 06, 2014 12:24 am

Performance can be related to two problems.
A. poor graphical optimization(ie images too large)
B. poor code. Often I find that most mobile performance problems is poor code.

here is a suggestion. Unlink the layout from the event sheet. Run the layout. if your FPS jumps really high. Then your code needs work.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Thu Mar 06, 2014 1:05 am

Thank you jayderyu!

Something strikes me: I optimize photographic images in jpg, but when you export the Construct 2 saved in png format. In addition, it also exports the images that are not used in the project.

Note: The game I tried it with a Samsung Galaxy Mini 2, a low-end smartphone.
B
5
Posts: 21
Reputation: 348

Post » Thu Mar 06, 2014 2:26 am

rafamem wrote:Thank you jayderyu!

Something strikes me: I optimize photographic images in jpg, but when you export the Construct 2 saved in png format. In addition, it also exports the images that are not used in the project.

Note: The game I tried it with a Samsung Galaxy Mini 2, a low-end smartphone.


C2 will convert them to png upon export, to prevent that, you have to open C2's image editor, and to change the export format there (I don't have C2 right now so I can't tell exactly where it is)

Also some old phone and others can(will) have difficulties to run html5 games
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Darknessed and 5 guests