canvas div in index.html PLEASE HELP ME

Get help using Construct 2

Post » Thu Sep 01, 2016 7:23 am

I have a problem with adding images into the screen canvas in html file as in the attached url . I would like to add a image .png under the screen canvas2 . This image must be scaled with the window canvas2. what i must change in my index.html?




how can I add an image to the canvas2 was responsive or scale well with screen canvas ?
B
10
S
4
G
1
Posts: 26
Reputation: 892

Post » Thu Sep 01, 2016 7:27 am

Message: SEBASTIANSSS can only post plain text URLS until they have 500 rep. 2 URLS modified. Why?
https://s10.postimg.org/4qedcseop/222.png

https://s10.postimg.org/krhm8odzt/111.png
B
10
S
4
G
1
Posts: 26
Reputation: 892

Post » Thu Sep 01, 2016 9:23 am

Looking through the tutorials could help :
https://www.scirra.com/tutorials/60/construct2-how-to-customize-the-exported-html5-indexhtml

Your issue is not directly related to Construct 2 but with HTML/web design in general. You can find further help in dedicated web developers websites.

The idea is to make a div which contains your picture, and insert the canvas into that div.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
291
S
114
G
95
Posts: 7,293
Reputation: 70,144

Post » Fri Sep 02, 2016 8:55 am

OK. Thanks for help
B
10
S
4
G
1
Posts: 26
Reputation: 892


Return to How do I....?

Who is online

Users browsing this forum: BackendFreak, lahbach and 31 guests