How do I set page size and center animation

Get help using Construct 2

Post » Thu Oct 23, 2014 11:00 pm

I've imported a sequence of images and created an animation then exported the file to HTML5, using either/or the 'normal' or 'embed in 'iframe' export option. When the index.html page opens the animation (which is quite small) sits in the upper left corner of the html page. When I embed the index.html in an iframe the entire page is squashed down into the iframe size (400w 280h) so the animation is very small sitting in the upper left corner.

Is there some way I can control the size of the index.html page so it just shows my animation, which should be centered on the page, not great masses of empty space to the right and below?

Thanks
RonM :ugeek:
B
5
S
1
Posts: 28
Reputation: 327

Post » Thu Oct 23, 2014 11:07 pm

Try in project properties change "Full Screen In Browser" to Scale Outer and add behaviour to your image to Scroll To.
Also change property of Layout - Unbounded Scrolling to Yes.

This should fix all your issues imo.
B
10
S
1
Posts: 56
Reputation: 654


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 35 guests