hi guys I am having a problem with my game crashing..
I first set up a state machine to switch between the title / levels which was working fine when I had just did an SDL_FillRect on each game state.
Now I have a title screen, then you enter the game which just prints out a graphical maze that is setup with a 2d vector of tiles, each tile is a Tile class object.
I finished the first level and did a test to make sure I can still change between states, I set a tile that will send you back to the title screen when you walk into it. It works, but then when you try to enter the game again there is a Stack Hash error It seems like it has something to do with the map vector, when I comment out the map and just have a black screen with my player I can escape back to the title screen and then back to the black screen with my player.. (but then if you try it again it crashes)
so I am thinking maybe it has something to do with both the map and my player graphics or the vector.. Does anyone recognize the error?
I have been streaming as I build my learning projects on twitch.tv/gamer27lv if anyone shows up there in the chat box I can show you the game and the crash
thanks for any info!
StackHash APP CRASH
Started by gamer27lv, May 15 2012 10:42 PM
3 replies to this topic
#1
Posted 15 May 2012 - 10:42 PM
#2
Posted 16 May 2012 - 03:58 AM
I narrowed it down to my player, it is not the map crashing the game...
#3
Posted 16 May 2012 - 04:05 AM
looks like I got is solved nevermind...
EDIT: nevermind....not solved
EDIT: nevermind....not solved
#4
Posted 16 May 2012 - 06:50 AM
Some code and stack traces would help.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












