14 years, 4 months ago
Highlights
Servant Of The Lord, I actually read what you said twice, very nice explanation, I shall implement it right away and see how it works
14 years, 4 months ago
14 years, 7 months ago
while (running) { SDL_PollEvent(&event); if (event.type == SDL_QUIT) { SDL_Quit(); return 0; } else if (event.type == SDL_KEYDOWN) { int key_code = event.key.keysym.sym; if…
14 years, 4 months ago
I'm using SDL_mixer to play a .wav sound, but I don't know when to free it. I have this code: Bullet::Bullet() { //Create Bullet /* Play the shot sound */ sound = Mix_Lo…
14 years, 7 months ago
I'm having an issue with moving diagonally. Firstly, I don't want my player to move faster when moving diagonally. Secondly, I want to mimic the movement of most modern…
14 years, 7 months ago
Latest Activity
See all in DiscussionsServant Of The Lord, I actually read what you said twice, very nice explanation, I shall implement it right away …
14 years, 4 months ago
while (running) { SDL_PollEvent(&event); if (event.type == SDL_QUIT) { SDL_Quit(); return 0; } else if (event.type == SDL_KEYDOWN) { int …
14 years, 4 months ago
Thank you, the first alternative worked!
14 years, 7 months ago