ConsoleGameEngine icon indicating copy to clipboard operation
ConsoleGameEngine copied to clipboard

All the examples are broken/not work

Open xavehoo opened this issue 2 years ago • 4 comments

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)...

xavehoo avatar Feb 02 '23 14:02 xavehoo

Could you be more specific?

natecurtiss avatar Feb 02 '23 14:02 natecurtiss

Hi, here are the output:

CaveGenerator sample (I don't know if this is a correct output): Screenshot_20230202_162840

Example_3D: Screenshot_20230202_162717

Example_HelloWorld: Screenshot_20230202_163800

Sokoban: Screenshot_20230202_162753

Tetris: Screenshot_20230202_162543

Breakout: Screenshot_20230202_163000 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".

xavehoo avatar Feb 02 '23 15:02 xavehoo

Any news?

xavehoo avatar Mar 08 '23 11:03 xavehoo