Problem Description
On load, images are always displayed at axis 0,0. Line of concern is ctx.drawImage(frameimg, 0, 0). We are using a number of images, including sprites with filled color, they appear squashed in the upper left and hand corner not long before being laid out correctly.
Temp solution: for each runtime we could update the script to show images off the stage by setting points to -6000.
However, the option we have gone with until this can be resolved is: add a function on load complete that calls an external JS function that lets canvas know construct is ready, e.g. set canvas style to display:block.
Also note: we are also calling web services to get JSON data.
Observed Result
Image mash up, axis points 0,0
Expected Result
No image mash up.
Affected Browsers
- Chrome: (NO)
- FireFox: (YES)
Operating System and Service Pack
Windows 7 Service Pack 1
Construct 2 Version ID
Release 163