SFML community forums

General => SFML projects => Topic started by: paupav on July 26, 2014, 05:26:04 pm

Title: Bouncing thingy game (released)
Post by: paupav on July 26, 2014, 05:26:04 pm
So, I've created new game in SFML.
Game is made so that you can modify any value like moveSmoothness, bouncerSpeed, ballSpeed, playerWidth, playerHeight, ballSize, resoution.

(http://s9.postimg.org/urxjgtqmn/image.png)
(http://s9.postimg.org/e6uiewowf/image.png)
(http://s9.postimg.org/5n6j3er67/image.png)

http://www.youtube.com/watch?v=50xlGroT2FA

V1.0
Source code: http://www.mediafire.com/download/zw1pskirsqn0tc8/SFML_bouncingThingy_source.zip (http://www.mediafire.com/download/zw1pskirsqn0tc8/SFML_bouncingThingy_source.zip)
Prebuild 32bit Linux: http://www.mediafire.com/download/zw1pskirsqn0tc8/SFML_bouncingThingy_source.zip (http://www.mediafire.com/download/zw1pskirsqn0tc8/SFML_bouncingThingy_source.zip)

V1.1
Source code:
http://www.mediafire.com/download/3ycpgw1uu2xtcqi/bouncingthingy_v1.1_source.zip
Prebuilt for 32bit Linux:
http://www.mediafire.com/download/l04l6ebreev4u52/bouncingthingy_v1.1_lin32.tar.gz
Title: Re: Bouncing thingy game (released)
Post by: paupav on July 26, 2014, 05:47:55 pm
I know there are still bad coding stuff like transforming to other types by writing e.g (int) or (double) before variable names.
Title: Re: Bouncing thingy game (released)
Post by: paupav on July 27, 2014, 08:49:04 am
Any comment would be appreciated
Title: Re: Bouncing thingy game (released)
Post by: BaneTrapper on July 27, 2014, 10:38:57 am
Here is a comment, you should add a place where those hearths would be constant, so cut the game field a little, so the player could see his hearths all the time.
Also the game is supper slow, increase ball and paddle moving speed, or reduce the playable field size.
Try to add special events, a object will freeze for 1 second. So if its paddle cannot move it for 1 second, or ball just stops for 1 second. Try to give it flavor its really plain.

Other then that, there ain't much to it. Almost everybody started on stuff like this 8).
Title: Re: Bouncing thingy game (released)
Post by: Hapax on July 27, 2014, 01:58:27 pm
I have to say that I, personally, don't like the header files missing out the parameter names so that you have functions with a mass of identical POD types and no idea what they do without delving into the implementation file.  :P
Title: Re: Bouncing thingy game (released)
Post by: paupav on July 27, 2014, 03:03:51 pm
@Hapax this way it's easier if you have to change something. At least for me.

Here is a comment, you should add a place where those hearths would be constant, so cut the game field a little, so the player could see his hearths all the time.
Also the game is supper slow, increase ball and paddle moving speed, or reduce the playable field size.
Try to add special events, a object will freeze for 1 second. So if its paddle cannot move it for 1 second, or ball just stops for 1 second. Try to give it flavor its really plain.

Other then that, there ain't much to it. Almost everybody started on stuff like this 8).
Thanks for the feedback :D
Bouncer speed, bouncer size and ball size increase depending on the current game time.
Ill add those things that you've said.
Title: Re: Bouncing thingy game (released)
Post by: Nexus on July 27, 2014, 03:47:51 pm
I would use less agressive colors. Even with very simple flat areas, things can look good, which you see in the graphical design hype that has started with Windows 8. But red on top of light green is too much ;)

In general, not everything has to be colored. If you don't find a good color scheme, use gray and give only a few elements a color. This has the additional nice effects that those elements are emphasized.

@Hapax this way it's easier if you have to change something. At least for me.
It is as long as the project is very a small and you know the meaning of each parameter by heart. As soon as it becomes more complex, you will be very glad about self-documenting code :)
Title: Re: Bouncing thingy game (released)
Post by: paupav on July 28, 2014, 08:51:13 pm
Updated to v1.1 .
Thanks to all my supporters  ;D
Please post feedback :D