How do I use a repeated image instead of black background?

Get help using Construct 2

Post » Tue Jun 30, 2015 7:18 am

Hi,

I'd like to know how can i change the black background color outside the game area when the game itself is not covering all the browser/mobile screen. Instead the black color i'd like to have a repeated image.

That should be done inside Construct 2 or changing the exported html?
Image
B
13
S
1
Posts: 74
Reputation: 886

Post » Tue Jun 30, 2015 8:16 am

import pattern image in files:
Image

Export Game

open the index.html file in text editor
Image
find
Image
and edit the index.html file:
Image
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Tue Jun 30, 2015 9:10 am

The most clear and perfect answer i got in a forum.

Thanks dude.
Image
B
13
S
1
Posts: 74
Reputation: 886

Post » Tue Jun 30, 2015 9:25 am

@Fire_Totem_Arena ....actually I've never tried this before...but ..seems to work :D
http://demo-backgroundc2.bitballoon.com/
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Tue Jun 30, 2015 9:53 am

Yeah, i tried and it works :)
Image
B
13
S
1
Posts: 74
Reputation: 886


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests