I would post up my CAPX, but I just can't as it's a completed game.
Here is my issue. I have a Layout that is 1100,800 and window size is 960x640. On start of layout I am setting scrollto x to 550, and scrollto y to 400 so the window is centered on my layout.
I cannot get it to work. I have checked and doubled checked every object to make sure they don't have a scrollTo behavior. I even opened up a compiled c2runtime.js file in notepad++ to make sure nothing had a scrollto behavior.
This is an existing game that I just recently changed the layout and windows sizes on it. I tried the above on all 4 of the existing layouts (each with their own event sheet) and it just won't center.
However, if I created a new layout in the project with a new event sheet it works fine.
Could I be overlooking something on my existing layouts? I do this pretty much in all of my new projects (to allow for various screen sizes) and I have never had a problem until now, so I have to just be missing something.
Thanks.