Open razterizer opened 7 months ago
Here you can see that:
I don't know the reason for the second issue, so therefore it is not so easy to fix, but the first issue can be solved by adding the following code in the init() function of GameEngine:
init()
GameEngine
#ifndef __APPLE__ #ifndef __WIN32 std::system("clear"); #endif #endif
For issue (1), I would start looking in clear_screen() in Screen.h and then GameEngine.h.
clear_screen()
Screen.h
GameEngine.h
It might be a WSL Ubuntu thing.
Here you can see that:
I don't know the reason for the second issue, so therefore it is not so easy to fix, but the first issue can be solved by adding the following code in the
init()
function ofGameEngine
: