ConsoleGameEngine
ConsoleGameEngine copied to clipboard
All the examples are broken/not work
Hi, I've found this interesting project on GitHub, but after I tried to start debugging the examples in a new Console App created with Visual Studio 2022, none of them seem to be working (.NET Framework 4.6.1 or above)...
Could you be more specific?
Hi, here are the output:
CaveGenerator sample (I don't know if this is a correct output):

Example_3D:

Example_HelloWorld:

Sokoban:

Tetris:

Breakout:
in that case the function
public bool GetKeyDown(ConsoleKey key) { int s = Convert.ToInt32(NativeMethods.GetAsyncKeyState((int)key)); return (s == -32767) && ConsoleFocused(); }
always return false, because the s variable value is 0, event if I press the Enter Key.
I've copied all the code from their respective files to my sample console app, as well as the files "caligraphy.flf" and "monkey.obj".
Any news?