My camera is not working right!

You are viewing a static copy of the old 2DBoy forum, which closed in 2010. It is preserved here for historical interest, but it is not possible to reply to topics. For more recent discussion about World of Goo, visit our new forum.
My camera is not working right!james200912/05/2009 - 16:01

Just started designing a level. It scrolls upwards, but after a little bit it doesn't scroll up anymore. The level uses balloons, so the goos just disappear off the screen.

does anyone have an idea what could cause this?
Thanks
James


Last modified Sat, 12/05/2009 - 16:03 by james2009
Re: My camera is not working right!GMMan12/05/2009 - 21:39

That happens with some levels. The problem is that your camera is being limited to where a goo ball have been. Take the World of Goo Corporation for example. You can only scroll as far as how tall your tower is, and left to right as where the goo balls have gone maximum. Balloons don't really count towards the camera range, so you'll need to expand your camera range up to where you want it. (Like how it's done on Tower of Goo.)

Re: My camera is not working right!james200912/07/2009 - 11:50

Thanks, but erm... I looked at the towerofgoo level
and I couldn't see anything different in the camera, than
what I had done.

Oh sorry, it used the endpos value, which I did try
but still no bananas!

Would you mind explain how to do that?
cheers
James


Last modified Mon, 12/07/2009 - 11:52 by james2009
Re: My camera is not working right!marteen3312/07/2009 - 12:41

in your scene.xml file change "maxY" to bigger number

Re: My camera is not working right!james200912/08/2009 - 20:28

Aaaaahhhhhhhh!

To the both of you, a big thank you!
James

Re: My camera is not working right!progx-us04/10/2010 - 04:58

Is changing scene.xml file helpes you? james2009
I have the same problem but changing scene.xml file didn't help me.
Thanks.

Re: My camera is not working right!DaftasBrush04/13/2010 - 03:43

[quote author=progx-us link=topic=2346.msg17121#msg17121 date=1270893491]
Is changing scene.xml file helpes you? james2009
I have the same problem but changing scene.xml file didn't help me.
Thanks.
Try setting the autobounds property to false
It's in the Level XML (or under the "level" item in the Level tab in wog editor)

This should allow the camera to move to any part of the scene right from the start.
HTH