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

olcConsoleGameEngine.h does not display correctly #57

Open
ekyne opened this issue Dec 11, 2020 · 3 comments
Open

olcConsoleGameEngine.h does not display correctly #57

ekyne opened this issue Dec 11, 2020 · 3 comments

Comments

@ekyne
Copy link

ekyne commented Dec 11, 2020

I have been following the 3D Graphics Engine tutorials which use olcConsoleGameEngine.h. However, when I run the code, the console window appears shrunk and is no longer running. The other engines seem to run fine, so the issue isn't on Visual Studio's end. Has anyone else encountered the same issue?

@Coder-Rahul-Y
Copy link

I copied the code to my visual studio and pasted it in a new header file.

But it's showing many compile time error.
At line:
98
102
255
Etc etc.

Can you suggest something

@lucasig11
Copy link

lucasig11 commented Mar 11, 2021

I had the same issue and fixed it by changing the pixel size values from the ConstructConsole function from 4 to 2.

int main()
{
    olcEngine3D engine;

    if (engine.ConstructConsole(256, 240, 2, 2))
        engine.Start();
    return 0;
}

@Manar-hub
Copy link

Tried all sizes, didn't work.

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

4 participants