On Mon, Oct 3, 2011 at 11:24 PM, Andy <[email protected]> wrote:

> I am looking at Protoeditor, I think I have it mostly figured out,

but...
>
> What is this restricted_fx variable that is called from an instance of
> cocos.layer.Scrolling_Manager().
>
>
when you call scrolling_manager.set_focus(x,y) it will try to scroll the
managed layers so that world coordinates shows at screen center;  except
when doing so will show forbidden areas in the managed layers. In that case,
(restricted_fx, restricted_fy ) will be the woorld coordinate under the
screen center



> My scroller doesn't have that variable, and I think faking it is

breaking things.
>
>
You are running an old cocos, probably 0.3.0
ScrollerManager.restricted_fx  is present since cocos 0.4.0
Should you upgrade, I recommend cocos 0.5rc0

 --
claudio

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to