Cursor-Custodian icon indicating copy to clipboard operation
Cursor-Custodian copied to clipboard

A small SDL2 game made in 48 hours

Results 12 Cursor-Custodian issues
Sort by recently updated
recently updated
newest added

In order to work properly on mac I've changed the build system to cmake. Additionally, I've fixed two minor problems a) memory leak in WindowsRenderer that increase the memeroy usage...

This pushes the string objects up a scope level so that the pointers are valid as long as the returned objects are within scope.

In renderwindow.cpp, there are some functions that render text, specifically the function "renderCenter" and the last overload of "render" (the one that starts on line 87). I noticed that they...

In player.cpp, Player::getScore and Player::getHighScore return pointers to dealocated memory. const char* Player::getHighscore() { std::string s = std::to_string(highscore); s = "BEST: " + s; return s.c_str(); } const char* Player::getScore()...

The ui is broken on arch when using newest version of `SDL_TTF` package Example: ![Screenshot from 2022-02-25 20-43-24](https://user-images.githubusercontent.com/75212488/155771601-d7106dc0-5746-4199-bfdd-c09d23cf4579.png) And also this game is SO addicting

Hello! It seems like you forget to destroy your `renderer` in the `void RenderWindow::cleanUp()` method. `SDL_DestroyRenderer(renderer);`

Hi Polymars, im actually trying to use your game but i can't because the libstdc++-6.dll is missing, thx for reading my issue and have a good day !

It is always good to see a developer putting their code out there and welcoming collaboration. And I think this game has a lot of potential. But, copyright laws being...

@PolyMarsDev this fixes the issue you describe in your video (which I was able to recreate on my local). It wasn't actually any issue with SDL_TTF lib, but with the...