Matt Styles

Results 136 comments of Matt Styles

SDL2 handles this slightly differently - the key down event has a repeat field: https://wiki.libsdl.org/SDL2/SDL_KeyboardEvent You'd do something like: if (evt.type == SDL_KEYDOWN) { if (!evt.key.repeat) { //handle event }...

Hi! Thanks for testing out the engines - I'm interested in hearing what you think (and seeing what you make)! I've pretty much stopped on xygine now - it kind...

Hi. It's true, in my opinion, that SFML is not very good for mobile development. If you're using SFML for window/events however, it is perfectly fine for making 3D in...

No. SDL2 compiles as a binary library as usual, but the game code/crogine code also compiles as a library for android too (instead of a stand alone executable). Then a...

Thanks for attempting this - macOS isn't really my area. Hitherto I've always installed all the external libs with brew and it's worked OK, but I've never attempted Apple Silicon...

Fantastic! 😁

Have you seen macOS.md in the samples/golf folder? That has a run-down of building a bundle with cmake

It basically contains the full extent of my knowledge of building on macOS - I actually started writing it to remind myself how to do the existing builds each release......

I've never used -D CMAKE_C_COMPILER="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc" -D CMAKE_CXX_COMPILER="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++" personally, I let cmake find the compiler itself. These lines were added by someone else working on a mac build. symbol(s) not found...

My error was the lack of std::filesystem support - the actual error appears just before the `** BUILD FAILED **` line (and is missing from your post). In hindsight [this...