WebMobile Builds Problem: Camera Render Out of bounds content

WebMobile Builds Problem: Camera Render Out of bounds content
0

#1

When i run the game on Cocos preview all the content is inside of camera view

but when i build WebMobile The content ignore camera bounds

How can i fix this?
I have my canvas with fix height only.
When i choose Fix width the same happens


#2

the cocos creator version that you used?


#3

cocos creator 2.1


#4


image
I can’t reproduce your problem,did you do some special things with the browser or build?


#5

sorry i edited


#6

what could cause this?


#8

I created a new project
this is my initial setup . i left both sprites outside of canvas
640x960 fit height


build web mobile portrait
result:

now i moved both sprites inside canvas

build web mobile portrait
result:

so i don’t know what else to do :confused:

Additionally i downloaded the example project from here
http://docs.cocos2d-x.org/creator/manual/en/getting-started/quick-start.html
build for web mobile
resuts: