Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All the examples are broken/not work #23

Open
xavehoo opened this issue Feb 2, 2023 · 3 comments
Open

All the examples are broken/not work #23

xavehoo opened this issue Feb 2, 2023 · 3 comments

Comments

@xavehoo
Copy link

xavehoo commented Feb 2, 2023

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

@natecurtiss
Copy link

Could you be more specific?

@xavehoo
Copy link
Author

xavehoo commented Feb 2, 2023

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
Copy link
Author

xavehoo commented Mar 8, 2023

Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants