Thanks this was indeed my problem fixed it now!Seven wrote:Because title screen is called in a loop and you create a new image inside title screen you are creating a new image every frame. Create the image only once and then use the single instance over and over in the loop. Same thing with the camera
Search found 2 matches
- Wed Dec 11, 2013 9:53 am
- Forum: Beginners Help
- Topic: Project Crashes after Drawing the menu screen
- Replies: 4
- Views: 655
Re: Project Crashes after Drawing the menu screen
- Mon Dec 09, 2013 11:30 am
- Forum: Beginners Help
- Topic: Project Crashes after Drawing the menu screen
- Replies: 4
- Views: 655
Project Crashes after Drawing the menu screen
I'm trying to draw a menu screen before loading the level of my game, The menu gets drawn and right after that the project crashes.
This is my main #ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#pragma comment(lib, "Irrlicht.lib")
#endif
#include <irrlicht.h>
#include <iostream>
#include ...
This is my main #ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#pragma comment(lib, "Irrlicht.lib")
#endif
#include <irrlicht.h>
#include <iostream>
#include ...