Closed jmlee337 closed 11 years ago
What makes you think that?
On Mon, May 13, 2013 at 3:46 PM, jmlee337 notifications@github.com wrote:
— Reply to this email directly or view it on GitHubhttps://github.com/cullensu/Capstone/issues/72 .
see new description
On Mon, May 13, 2013 at 3:47 PM, cullensu notifications@github.com wrote:
What makes you think that?
On Mon, May 13, 2013 at 3:46 PM, jmlee337 notifications@github.com wrote:
— Reply to this email directly or view it on GitHub< https://github.com/cullensu/Capstone/issues/72> .
— Reply to this email directly or view it on GitHubhttps://github.com/cullensu/Capstone/issues/72#issuecomment-17846203 .
Jeremy Lee University of Washington, class of 2013 Computer Engineering jmlee337@gmail.com
I found them: MenuState:43 GameRegistry:11
@akirilov @cullensu wat do?
Well, it still compiles and runs if I change the one in MenuState to GameRegistry.gameState, not sure if it will break replays or anything.
On Tue, May 14, 2013 at 12:42 AM, jmlee337 notifications@github.com wrote:
I found them: MenuState:43 GameRegistry:11
@akirilov https://github.com/akirilov @cullensuhttps://github.com/cullensuwat do?
— Reply to this email directly or view it on GitHubhttps://github.com/cullensu/Capstone/issues/72#issuecomment-17861287 .
Just kidding, doing that breaks when you try and start a new game the second time
On Tue, May 14, 2013 at 12:53 AM, Cullen Su cullensu90@gmail.com wrote:
Well, it still compiles and runs if I change the one in MenuState to GameRegistry.gameState, not sure if it will break replays or anything.
On Tue, May 14, 2013 at 12:42 AM, jmlee337 notifications@github.comwrote:
I found them: MenuState:43 GameRegistry:11
@akirilov https://github.com/akirilov @cullensuhttps://github.com/cullensuwat do?
— Reply to this email directly or view it on GitHubhttps://github.com/cullensu/Capstone/issues/72#issuecomment-17861287 .
Ok, changing to declaration in GameRegistry to initialize as null and changing the code in MenuState to:
var newGameState:GameState = new GameState();
GameRegistry.gameState = newGameState;
FlxG.switchState(GameRegistry.gameState);
Seems to work, can we verify it doesn't break anything before we push it?
On Tue, May 14, 2013 at 12:54 AM, Cullen Su cullensu90@gmail.com wrote:
Just kidding, doing that breaks when you try and start a new game the second time
On Tue, May 14, 2013 at 12:53 AM, Cullen Su cullensu90@gmail.com wrote:
Well, it still compiles and runs if I change the one in MenuState to GameRegistry.gameState, not sure if it will break replays or anything.
On Tue, May 14, 2013 at 12:42 AM, jmlee337 notifications@github.comwrote:
I found them: MenuState:43 GameRegistry:11
@akirilov https://github.com/akirilov @cullensuhttps://github.com/cullensuwat do?
— Reply to this email directly or view it on GitHubhttps://github.com/cullensu/Capstone/issues/72#issuecomment-17861287 .
Ok this thing hates formatting, I give up trying to make that look nice
If you trace in the constructor of an object that is created upon gamestate init/creation, you get twice as many lines of log as expected