Questions tagged as 'sdl'

0
answers

How to detect the collision with the floor SDL2

I'm developing a learning game using C ++ with SDL2, and I want to check when my character touches the floor. For this I created the class "Collider", with the following function (adapted): bool isCollinding (SDL_Rect a, SDL_Rect b) { if(a.x...
asked by 02.06.2017 / 03:49
1
answer

How to include the SDL_image lib for my solution in Visual Studio 2015?

I'm trying to create a game in C ++ with SDL2 for Windows Phone 8.1 I follow this link tutorial and a game with just the project SDL2 / WinRT (no SDL extensions) works fine. But with that I can just do a few small things like fill the sc...
asked by 02.12.2015 / 19:05
0
answers

Error compiling in DEV-C ++ (SDL)

I made the whole procedure to use SDL2, but when I compile the following error occurs: [Error]SDL/SDL.h: No such file or directory This is the content of the line where the error occurs <SDL/SDL.h> What should I do ?? I research...
asked by 15.06.2015 / 23:35