SFML community forums

General => SFML projects => Topic started by: moistweb on September 14, 2013, 04:46:12 pm

Title: My first non-console Game : Reda's Snake
Post by: moistweb on September 14, 2013, 04:46:12 pm
Hello friends,
Reda's Snake is my first graphical game ( all the others were console games) written in C++ using the almighty SFML, and was made in 4 days. I faced some code design and bugs that I had to fix because this is my first game that uses a complete Game loop.

I really enjoyed making this game, and seeing it improve each day was really exciting.
Please,  if the code have some weakness, or if you think a part of the code could have been better, just tell me ! I absolutely need to know how you guys think about it as my first "Graphical" game. And I feel like I have to improve my skills, so any advice will be greatly appreciated.

https://www.copy.com/s/rYiIqMrAZ2tK/Reda%27s%20Snake.zip
Title: Re: My first non-console Game : Reda's Snake
Post by: JuDelCo on September 14, 2013, 05:13:49 pm
A screenshot doesn't hurt  :P

(http://i.imgur.com/gAmHGNP.png)

Suggestions:

- Remove unused assets (the background never changes and the .png has more than 1)
- Sometimes the food appear behind the body of the snake, so you can't see it until you pass throught.
- When you die, I expected to reset the game, not close the window and end the game.
- Make it more slow at start and speed up progressively (?)
- SFX? :D
Title: Re: My first non-console Game : Reda's Snake
Post by: moistweb on September 14, 2013, 05:30:26 pm
@JuDelCo, yes indeed that's some improvements I could easily apply, for the moment I'm planning on making a Pong Game. By the way, thanks for the screenshot, that's something I forgot  :)
Title: Re: My first non-console Game : Reda's Snake
Post by: seobyeongky on September 22, 2013, 04:10:51 pm
I saw source code. There are nice light classes. I can't believe it is your first non-console game!! :o :o
Title: Re: My first non-console Game : Reda's Snake
Post by: moistweb on October 03, 2013, 08:21:21 pm
Haha thanks for that great reply  ;D