Module ImportFrom alias alias alias Import alias Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Import alias Import alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Import alias ImportFrom alias alias alias ImportFrom alias Import alias identifier ImportFrom alias alias alias Assign NameStore Num Assign NameStore Num Assign NameStore BinOpAdd Num BinOpMult Num Num Assign NameStore Num ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad TupleLoad NameLoad Num Num TupleLoad Num NameLoad Num TupleLoad UnaryOpUSub NameLoad Num Num TupleLoad Num UnaryOpUSub NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call NameLoad Expr Call NameLoad decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call NameLoad BinOpMult NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num keyword BinOpSub NameLoad BinOpMult Num NameLoad keyword BinOpSub NameLoad BinOpMult Num NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore BinOpDiv BinOpSub NameLoad BinOpMult Num NameLoad Num Assign NameStore BinOpAdd NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad While CompareLt NameLoad BinOpSub NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad While CompareLt NameLoad BinOpSub NameLoad NameLoad body Assign NameStore BinOpAdd Num Call NameLoad BinOpDiv BinOpMult Num NameLoad NameLoad Assign NameStore BinOpAdd Num Call NameLoad BinOpDiv BinOpMult Num NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num NameLoad Num keyword BinOpMult Num Call NameLoad NameLoad keyword BinOpMult Num Call NameLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Num AugAssignAdd NameStore BinOpMult Num NameLoad AugAssignAdd NameStore BinOpMult Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad BinOpAdd BinOpDiv NameLoad Num NameLoad BinOpAdd BinOpDiv NameLoad Num NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Str Str Str Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Num Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Num Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameLoad If CompareLt BinOpSub NameLoad BinOpFloorDiv AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Assign NameStore BinOpAdd AttributeLoad NameLoad attr BinOpFloorDiv AttributeLoad NameLoad attr Num orelse If CompareGt BinOpAdd NameLoad BinOpFloorDiv AttributeLoad NameLoad attr Num BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore BinOpSub BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpFloorDiv AttributeLoad NameLoad attr Num If CompareLt BinOpSub NameLoad BinOpFloorDiv AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Assign NameStore BinOpAdd AttributeLoad NameLoad attr BinOpFloorDiv AttributeLoad NameLoad attr Num orelse If CompareGt BinOpAdd NameLoad BinOpFloorDiv AttributeLoad NameLoad attr Num BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore BinOpSub BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpFloorDiv AttributeLoad NameLoad attr Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str BinOpSub SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore NameLoad If NameLoad body Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr BinOpMult BinOpMult AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr BinOpMult BinOpMult BinOpSub SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Num NameLoad If CompareLt NameLoad Num body Assign NameStore Num orelse If CompareGt NameLoad Num body Assign NameStore Num If CompareNotEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad Num Num body Assign NameStore Call NameLoad Num TupleLoad Num BinOpFloorDiv Num NameLoad Num Num Assign AttributeStore NameLoad attr TupleLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Assign NameStore NameLoad If NameLoad body Expr Call NameLoad orelse Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Num decorator_list Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call NameLoad Num Call NameLoad AttributeLoad NameLoad attr Num Num Call NameLoad Num Call NameLoad AttributeLoad NameLoad attr BinOpFloorDiv NameLoad Num Num Call NameLoad Num Call NameLoad AttributeLoad NameLoad attr BinOpFloorDiv NameLoad Num NameLoad Call NameLoad Num Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad Num Call NameLoad NameLoad Call NameLoad Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A __future__ division print_function unicode_literals N/A sys N/A os N/A N/A N/A N/A sys path insert 0 N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ .. N/A testinfo s, t 1.1, s, t 2.1, s, t 3.1, s, t 4.1, s, t 5.1, s, t 6.1, s, q N/A tags scrolling, ScrollingManager, autoscale N/A autotest 0 N/A math N/A pyglet pyglet.window key pyglet.gl * N/A N/A N/A N/A N/A pyglet resource path append N/A N/A N/A pyglet resource get_script_home N/A N/A N/A N/A pyglet resource reindex N/A cocos cocos tiles actions layer cocos.director director N/A cocos.euclid eu cocos.actions Delay CallFunc ScaleTo N/A view_width 640 N/A view_height 480 N/A world_width N/A 1000 N/A 4 98 N/A world_height 1000 ProbeQuad N/A N/A N/A cocos cocosnode CocosNode N/A __init__ N/A N/A self r color4 N/A N/A N/A N/A N/A N/A super ProbeQuad self __init__ N/A N/A self color4 color4 N/A N/A self vertexes N/A N/A r 0 0 N/A 0 r 0 N/A N/A r 0 0 N/A 0 N/A r 0 N/A draw N/A N/A self N/A N/A N/A N/A glPushMatrix N/A N/A N/A self transform N/A N/A glBegin GL_QUADS N/A N/A glColor4ub N/A self color4 N/A v N/A self vertexes N/A N/A N/A glVertex3i v N/A N/A glEnd N/A N/A glPopMatrix N/A N/A SquareLand N/A N/A N/A cocos layer ScrollableLayer N/A N/A is_event_handler True __init__ N/A N/A self world_width world_height N/A N/A N/A N/A self world_width world_width N/A N/A self world_height world_height N/A N/A N/A N/A super SquareLand self __init__ N/A N/A self px_width world_width N/A N/A self px_height world_height N/A bg N/A N/A N/A cocos layer ColorLayer 170 170 0 255 width world_width height world_height N/A N/A N/A self add bg z 0 N/A margin N/A int N/A world_width 0.01 N/A N/A self margin margin N/A bg N/A N/A N/A cocos layer ColorLayer 0 170 170 255 width N/A world_width N/A 2 margin height N/A world_height N/A 2 margin N/A N/A bg position N/A margin margin N/A N/A N/A self add bg z 1 N/A mod N/A N/A world_width N/A 2.0 margin 10.0 N/A y N/A margin mod N/A N/A self marks_positions N/A N/A N/A y N/A world_height mod N/A N/A x N/A margin mod N/A N/A x N/A world_width mod N/A N/A red N/A 55 N/A int N/A N/A 200.0 x world_width N/A blue N/A 55 N/A int N/A N/A 200.0 y world_height N/A actor N/A N/A N/A cocos layer ColorLayer red 0 blue 255 width N/A 2 N/A int mod height N/A 2 N/A int mod N/A N/A actor position N/A x y N/A N/A N/A N/A self marks_positions append N/A x y N/A N/A N/A self add actor z 3 N/A x N/A 3 mod N/A y N/A 3 mod N/A N/A self marks_positions N/A N/A self marks_positions N/A 3 N/A N/A self player N/A N/A N/A cocos sprite Sprite grossinis_sister1.png N/A N/A N/A self player scale 0.4 N/A N/A N/A self player model_width N/A N/A self player width N/A N/A N/A self player model_height N/A N/A self player height N/A N/A N/A self player position N/A N/A N/A mod 2 margin N/A N/A mod 2 margin N/A N/A N/A self player fastness 200 N/A N/A N/A self add N/A self player z 4 N/A N/A self bindings N/A N/A key LEFT N/A key RIGHT N/A key UP N/A key DOWN N/A key PLUS N/A key MINUS left right up down zoomin zoomout N/A N/A self buttons N/A left right up down zoomin zoomout 0 0 0 0 0 0 N/A N/A N/A self schedule N/A self step N/A on_enter N/A N/A self N/A N/A N/A N/A N/A N/A super SquareLand self on_enter N/A N/A self scroller N/A N/A self get_ancestor N/A N/A cocos layer ScrollingManager N/A N/A self scene N/A N/A self get_ancestor N/A N/A cocos scene Scene N/A N/A N/A self scene f_refresh_marks N/A self refresh_marks N/A on_key_press N/A N/A self k m N/A N/A N/A binds N/A self bindings N/A N/A k binds N/A N/A N/A N/A self buttons N/A N/A binds N/A k 1 N/A True N/A False N/A on_key_release N/A N/A self k m N/A N/A N/A binds N/A self bindings N/A N/A k binds N/A N/A N/A N/A self buttons N/A N/A binds N/A k 0 N/A True N/A False N/A on_mouse_press N/A N/A self x y button modifiers N/A N/A N/A N/A print on_mouse_press: N/A N/A vx vy N/A N/A N/A self scroller pixel_from_screen x y N/A N/A print 	pixel_from_screen(x, y): vx vy N/A clamp N/A N/A self actor new_pos N/A N/A N/A N/A x y new_pos N/A N/A N/A x N/A N/A actor model_width 2 N/A self margin N/A N/A x N/A N/A self margin N/A N/A actor model_width 2 N/A N/A N/A N/A x N/A N/A actor model_width 2 N/A N/A self world_width N/A self margin N/A N/A x N/A N/A N/A self world_width N/A self margin N/A N/A actor model_width 2 N/A N/A N/A y N/A N/A actor model_height 2 N/A self margin N/A N/A y N/A N/A self margin N/A N/A actor model_height 2 N/A N/A N/A N/A y N/A N/A actor model_height 2 N/A N/A self world_height N/A self margin N/A N/A y N/A N/A N/A self world_height N/A self margin N/A N/A actor model_height 2 N/A N/A x y N/A step N/A N/A self dt N/A N/A N/A buttons N/A self buttons N/A move_dir N/A N/A eu Vector2 N/A N/A buttons N/A right N/A buttons N/A left N/A N/A buttons N/A up N/A buttons N/A down N/A changed False N/A move_dir N/A N/A new_pos N/A N/A N/A self player position N/A N/A N/A N/A self player fastness dt N/A N/A move_dir normalize N/A new_pos N/A N/A self clamp N/A self player new_pos N/A N/A N/A self player position new_pos N/A changed True N/A new_zoom N/A N/A N/A self scroller scale N/A N/A N/A N/A buttons N/A zoomin N/A buttons N/A zoomout 0.2 dt N/A N/A new_zoom 0.3 N/A N/A new_zoom 0.3 N/A N/A N/A new_zoom 2.0 N/A N/A new_zoom 2.0 N/A N/A new_zoom N/A N/A self scroller scale N/A N/A N/A N/A self scroller scale new_zoom N/A changed True N/A changed N/A N/A N/A N/A self update_after_change N/A update_after_change N/A N/A self N/A N/A N/A N/A N/A N/A self scroller set_focus N/A N/A self player position N/A N/A N/A self refresh_marks N/A refresh_marks N/A N/A self N/A N/A N/A N/A mark position N/A zip N/A N/A self scene marks N/A self marks_positions N/A N/A screen_pos N/A N/A N/A self scroller pixel_to_screen position N/A N/A mark position screen_pos N/A teleport_player N/A N/A self x y N/A N/A N/A  only used by autotest  N/A N/A N/A self player position N/A x y N/A N/A N/A self update_after_change N/A N/A TestScene N/A N/A N/A cocos scene Scene N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super TestScene self __init__ N/A N/A self marks N/A N/A i N/A range 1 4 N/A N/A mark N/A ProbeQuad 3 N/A 0 N/A 255 i 0 255 N/A N/A mark position N/A -20 -20 N/A N/A N/A N/A self marks append mark N/A N/A N/A self add mark z 2 N/A on_enter N/A N/A self N/A N/A N/A N/A N/A director push_handlers N/A self on_cocos_resize N/A N/A N/A N/A super TestScene self on_enter N/A on_cocos_resize N/A N/A self usable_width usable_height N/A N/A N/A N/A N/A self f_refresh_marks N/A N/A show_common_text N/A N/A N/A N/A N/A N/A print 
tests ScrollingManager and ScrollableLayer when the contents are not provided
by a tilemap.

You can run the test in the two available modes:'autoscale' True/False
Look near the script begin to choose the mode; the instructions and expected
results text will match the mode.

use arrows to move, +- in the main keyboard (not the keypad) for zoom,
ctrl-f to toggle fullscreen status.

You will need grossinis_sister1.png , to be found in the test directory.

You will need cocos r966+ ( for 'cocos_on_resize' event and supresion of
NotImplementedError in pixel_to_screen)

For clarity set view_width, view_height to respect your desktop aspect
ratio; look near the script begin

 N/A show_mode_1_text N/A N/A N/A N/A N/A N/A print 
Mode: autoscale, that is autoscale=True

1. scroll constraits works:
    verify that moving the player you can make the view scroll to reveal all
    of the world, and not more than that.

2. resize maps the correct area and the scroll constraits work ok after a
resize:
    a. move the player to bottom left corner. Use ctrl-f to repeatedly switch
    between windowed and fullscreen.
    Both screens should show the same world area, only at different scale.

    b. Repeat at the top-right corner.

    c. when in fullscreen,  verify that moving the player you can make the
    view scroll to reveal all of the world, and not more than that.

3. zooming ( ScrollerManager scale) works:
    zoom in or out using key '+' or '-', not so much that all the world shows
    in a single screen, then repeat 1), 2)

4. consistency screen to world coordinates conversion(aka pixel_from_screen):
    a. restart the script, mouse click the inner bottom left corner, do ctrl-f
    click again over the inner bottom left corner, zoom a little, click again
    over the the inner bottom left corner.
    Now look at the console: the pixel_from_screen values must all be near a
    common value.

    b. restart the script, scroll to the top right corner, repeat a. replacing
    'botton left' by 'top left'

5. world to screen coordinate changes (aka pixel_to_screen) correctness:
    restart the script; move a bit. Look at the lower left corners in the lower
    row of squares; you should see a small square in the shades of green.
    moving, zomming, resizing (ctrl-f) should not alter the relative position of
    small green squeares with respect to the world.

6. good behavior when world small that the view:
    scale down (zoom out) to the max. When the world becomes smaller than the
    view, it should nicely center in the screen.
    Moving the player from left to right border should not produce 'jumps' on
    the view.
 N/A show_mode_2_text N/A N/A N/A N/A N/A N/A print 
Mode: not autoscale, that is autoscale=False

1. scroll constraits works:
    verify that moving the player you can make the view scroll to reveal all
    of the world, and not more than that.

2. resize maps the correct area and the scroll constraits work ok after a
resize:
    a. move the player to bottom left corner. Use ctrl-f to repeatedly switch
    between windowed and fullscreen.
    Both screens should depict the world at the same scale, thus the bigger
    view will more area in the world.
    When going from big to small, the player must be visible n the small view.
    When going small to big, the bg should show all showed in the small plus
    some extra area.

    b. Repeat at the top-right corner.

    c. when in fullscreen,  verify that moving the player you can make the
    view scroll to reveal all of the world, and not more than that.

3. zooming ( ScrollerManager scale) works:
    zoom in or out using key '+' or '-', not so much that all the world shows
    in a single screen, then repeat 1), 2)

4. consistency screen to world coordinates conversion(aka pixel_from_screen):
    a. restart the script, mouse click the inner bottom left corner, do ctrl-f
    click again over the inner bottom left corner, zoom a litle, click again
    over the the inner bottom left corner.
    Now look at the console: the pixel_from_screen values must all be near a
    common value.

    b. restart the script, scroll to the top right corner, repeat a. replacing
    'botton left' by 'top left'

5. world to screen coordinate changes (aka pixel_to_screen) correctness:
    restart the script; move a bit. Look at the lower left corners in the lower
    row of squares; you should see a small square in the shades of green.
    moving, zomming, resizing (ctrl-f) should not alter the relative position of
    small green squeares with respect to the world.

6. good behavior when world small that the view:
    scale down (zoom out) to the max. When the world becomes smaller than the
    view, it should nicely center in the screen.
    Moving the player from left to right border should not produce 'jumps' on
    the view.
 N/A main N/A N/A N/A N/A N/A N/A show_common_text N/A autoscale True N/A autoscale N/A N/A N/A show_mode_1_text N/A N/A N/A show_mode_2_text N/A N/A N/A director init view_width view_height autoscale autoscale N/A scene N/A TestScene N/A world_layer N/A SquareLand world_width world_height N/A scroller N/A N/A N/A cocos layer ScrollingManager N/A autotest N/A resize_scroller N/A N/A N/A N/A N/A N/A scroller scale 0.75 N/A N/A N/A w h N/A world_width world_height N/A template_action N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Delay 0.05 N/A CallFunc N/A world_layer teleport_player 0 0 N/A Delay 1 N/A CallFunc N/A world_layer teleport_player N/A w 2 0 N/A Delay 1 N/A CallFunc N/A world_layer teleport_player N/A w 2 h N/A Delay 1 N/A CallFunc N/A world_layer teleport_player w h N/A Delay 1 N/A CallFunc resize_scroller N/A Delay 1 N/A CallFunc N/A N/A director window set_size 800 600 N/A CallFunc N/A world_layer update_after_change N/A N/A N/A world_layer do template_action N/A N/A N/A scroller add world_layer N/A N/A N/A scene add scroller N/A N/A N/A director run scene N/A N/A N/A __name__ __main__ N/A N/A N/A main