diff --git a/agsbox2d_demo/Game.agf b/agsbox2d_demo/Game.agf index 1afd7e2..c7a27db 100644 --- a/agsbox2d_demo/Game.agf +++ b/agsbox2d_demo/Game.agf @@ -1,6 +1,6 @@ - + agsbox2d_demo @@ -96,6 +96,7 @@ Default Default True + False False 1 @@ -2359,7 +2360,7 @@ 0 0 0 - 6 + 7 150 100 True diff --git a/agsbox2d_demo/room4.asc b/agsbox2d_demo/room4.asc index 51d0cb6..c82dff9 100644 --- a/agsbox2d_demo/room4.asc +++ b/agsbox2d_demo/room4.asc @@ -83,7 +83,7 @@ function room_Load() box5.fixture = AgsBox2D.CreateFixture(box5.body, box5.shape, 2.0); box6.body = AgsBox2D.CreateBody(world, 192.0, 120.0, eBodyDynamic); - box6.shape = AgsBox2D.CreateRectangleShape(20.0, 20.0); + box6.shape = AgsBox2D.CreateRectangleShape(25.0, 20.0); box6.fixture = AgsBox2D.CreateFixture(box6.body, box6.shape, 2.0); AgsBox2D.CreateDistanceJoint(box5.body, box6.body, 128.0, 120.0, 192.0, 120.0, true); diff --git a/agsbox2d_demo/room4.crm b/agsbox2d_demo/room4.crm index 0aaa8f8..26d0787 100644 Binary files a/agsbox2d_demo/room4.crm and b/agsbox2d_demo/room4.crm differ diff --git a/agsbox2d_demo/room7.asc b/agsbox2d_demo/room7.asc index 8dfb4c5..f966373 100644 --- a/agsbox2d_demo/room7.asc +++ b/agsbox2d_demo/room7.asc @@ -231,7 +231,7 @@ function room_RepExec() surf.Release(); } } - + DrawingSurface* surf = contactGraphic.GetDrawingSurface(); // write contact count surf.Release(); @@ -254,4 +254,10 @@ function room_Leave() { gDebugGUI.BackgroundGraphic = 0; gDebugGUI.Visible = false; -} \ No newline at end of file +} + + +function room_AfterFadeIn() +{ + player.Say("Use Tab to hide and show the Debug GUI"); +} diff --git a/agsbox2d_demo/room7.crm b/agsbox2d_demo/room7.crm index 1c148c9..f9680cc 100644 Binary files a/agsbox2d_demo/room7.crm and b/agsbox2d_demo/room7.crm differ