Hi,
great job with the examples. I will definitely suggest your videos to my students.
In order to make the OneLoneCoder_PathFinding_AStar.cpp compile on linux, besides changing the include directive to include olcConsoleGameEngineSDL.h instead of olcConsoleGameEngine.h, I also had to change VK_SHIFT and VK_CONTROL to VK_LSHIFT and VK_LCONTROL. This because the first two are not defined in olcConsoleGameEngineSDL.h, and there does not seem to exist scancodes in SDL that can be mapped directly to them.
I know this is restrictive because the user can only press the left keys, but would you consider the change to make the code more portable?
Hi, great job with the examples. I will definitely suggest your videos to my students.
In order to make the OneLoneCoder_PathFinding_AStar.cpp compile on linux, besides changing the include directive to include olcConsoleGameEngineSDL.h instead of olcConsoleGameEngine.h, I also had to change VK_SHIFT and VK_CONTROL to VK_LSHIFT and VK_LCONTROL. This because the first two are not defined in olcConsoleGameEngineSDL.h, and there does not seem to exist scancodes in SDL that can be mapped directly to them.
I know this is restrictive because the user can only press the left keys, but would you consider the change to make the code more portable?
Thank you