Cocoonjs Screen Scale Problem

Get help using Construct 2

Post » Fri Jan 11, 2013 12:11 pm

Hi guys,

Its my first time asking so I hope its the right place

I am trying to make a game by using cocoonjs for android but I got serious problems about its screen scaling. I made my layouts 640px x 480 px and used fullscreen scale mode but its doesnt scale it for my Samsung Galaxy S Advance. Its screen size is 800px x 480px and when I import the game, a lot of gap appears. I searched through the forum and read all the tutorials but I dont want to strech or make my sprites bigger because there are pretty lot of them.

Also, I got another problem with layout transition. During the transition, the layout doesnt smoothly takes the place of the last one. It shakes and a little bit of whiteness appear for a sec then the other layout comes in. I checked everything but nothing seems wrong.

I would really appreciate if you can help me

B
3
Posts: 8
Reputation: 343

Post » Fri Jan 11, 2013 9:14 pm

Did you set the project properties to scale in C2, not just in the cocoonjs export?
B
50
S
21
G
8
Posts: 844
Reputation: 10,299

Post » Fri Jan 11, 2013 9:44 pm

@justifun Yes, I already did that.
B
3
Posts: 8
Reputation: 343

Post » Sat Jan 12, 2013 11:11 am

@Opperand I wrote a little something about this here maybe it will help:

http://www.scirra.com/forum/multiscreen-cocoonjs_topic61313_post376578.html?KW=#376578

For your layout transition you could try using a fade in, and out technique:

http://www.scirra.com/forum/fade-in-to-another-layout_topic47211.html
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Sat Jan 12, 2013 12:17 pm

@Wink Your method was looking weird actually but it worked!.I was searching for the solution for a long time so thanks for the help

I will try the fade out thing now.
B
3
Posts: 8
Reputation: 343


Return to How do I....?

Who is online

Users browsing this forum: Shanetastic, Yahoo [Bot] and 26 guests