me and my friend recently finished our first ever c++/sdl game. he did the graphics, and i did all the coding.
i would love to get some feedback on it, so if anyone have the time, please check it out: http://www.luxfictus.com/indexgames.html
our first c++/sdl game
Moderator: PC Supremacists
- YourNerdyJoe
- Chaos Rift Cool Newbie
- Posts: 79
- Joined: Sun Oct 02, 2011 3:28 pm
- Current Project: Top secret (not really) Top-Down Shooter for GBA
- Favorite Gaming Platforms: GBA, Gamecube, PC, 3DS
- Programming Language of Choice: C/C++
- Contact:
Re: our first c++/sdl game
Not bad
I like the idea of going through levels in pong instead of a simple score.
However when I was looking through your images folder I noticed that you had an image for each time you lose a life. Think of LoZ and how many images they'd have to draw for when Link has max health. A better way to do this would be to draw an image for "life" and "no life" and then do somthing like this:
Hope this will help and this game of yours is really fun
I like the idea of going through levels in pong instead of a simple score.
However when I was looking through your images folder I noticed that you had an image for each time you lose a life. Think of LoZ and how many images they'd have to draw for when Link has max health. A better way to do this would be to draw an image for "life" and "no life" and then do somthing like this:
Code: Select all
for(int i=0; i<maxlives; i++)
{
if(i>lives)
{
DrawNoLife(x+(i*32),y);
}
else
{
DrawLife(x+(i*32),y);
}
}
Re: our first c++/sdl game
yes the way the life's is coded is kinda messy, but i couldnt be bothered to rewrite the code at the end of the project, but i am planning to rewrite it eventually to see how much i have improved my skills. thanks for the tips though, always fun to learn how to better my skills :D
oh and its very nice to hear that you liked the game :D
oh and its very nice to hear that you liked the game :D