Correct background size to a Endless Run game

Get help using Construct 2

Post » Tue Nov 11, 2014 4:08 pm

As the title says,

What could be the correct size for a background that i can use on a Endless run game, to match the mostly sizes of smartphones screens..

Anyone knows?

Thanks

Edit: i have a character sprite of 75px.
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Tue Nov 11, 2014 4:28 pm

TiledBackground prefer images sized 64x64, 128x128, 256x256, 512x512 and so on... Personally I would make a scenery 1024x1024 and set layer parallax to X 5px and Y also 5px. It gives nice and smooth transition of background.

Of course if you intend to make bigger layout (between 2000px and 8000px) I suggest to split background (the quickest way is to use imagesplitter.net)
B
6
S
1
Posts: 57
Reputation: 514

Post » Tue Nov 11, 2014 4:30 pm

Lazarus1988 wrote:TiledBackground prefer images sized 64x64, 128x128, 256x256, 512x512 and so on... Personally I would make a scenery 1024x1024 and set layer parallax to X 5px and Y also 5px. It gives nice and smooth transition of background.

Of course if you intend to make bigger layout (between 2000px and 8000px) I suggest to split background (the quickest way is to use imagesplitter.net)


512x512 would fit nice for a 75px sprite?(the runner)
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Tue Nov 11, 2014 4:31 pm

It's not about background size. It's about how you design your game to fit mobiles screens.

If your game is 640x320, and it's scaling to fit mobile entire screen, then there's no point of using full HD image for the background.

Or maybe you are asking for the background size as a layout size, of the game? You need to clearly describe what you want to get best answers.
ImageImageImageImage
B
158
S
67
G
43
Posts: 2,603
Reputation: 36,003

Post » Tue Nov 11, 2014 4:35 pm

shinkan wrote:It's not about background size. It's about how you design your game to fit mobiles screens.

If your game is 640x320, and it's scaling to fit mobile entire screen, then there's no point of using full HD image for the background.

Or maybe you are asking for the background size as a layout size, of the game? You need to clearly describe what you want to get best answers.


So, the game will work only in landscape mode.

i need hmm a size that can fit on smartphones(i will use scaling to work well on iphone4s and a galaxy S5 for exemple)
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Tue Nov 11, 2014 4:37 pm

512x512 would fit nice for a 75px sprite?(the runner)


With that question you must experiment on your own, but you are on good way, but runner sprite i would make
64px width and 96px height with background size 768px height. It looks great on my 15inch screen with resolution 1366x768.
B
6
S
1
Posts: 57
Reputation: 514

Post » Tue Nov 11, 2014 4:42 pm

Or you can stick to 1280x720, and scaling will do the rest. But it's really all up to you. If you want to fill entire game screen then you need to use scaling.

Check the Autorunner template from C2/templates folder to get some ideas.
ImageImageImageImage
B
158
S
67
G
43
Posts: 2,603
Reputation: 36,003

Post » Tue Nov 11, 2014 4:48 pm

What about a windows size of 960x640 and a background size of 1200x800 ?
and then use scaling to fit on most phones.

Because the ipad ~on landscape mode~ will be 1024x768.
iphone5 will be 1136x640.
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Tue Nov 11, 2014 5:13 pm

Message: Lazarus1988 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Panoramic images will be fine. but resolution is one thing, another matter is format, I bet, everyone who is using construct2 uses as background PNG format and it's best option, but use Interlaced PNG file.

Here is a nice lecture about png :)

http://nuwen.net/png.html
B
6
S
1
Posts: 57
Reputation: 514

Post » Tue Nov 11, 2014 5:25 pm

Thank you all for the tips!

:D
B
9
S
2
G
1
Posts: 92
Reputation: 826

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests

cron