SFML community forums

General => SFML projects => Topic started by: iHope on January 16, 2012, 05:10:36 pm

Title: Pong!
Post by: iHope on January 16, 2012, 05:10:36 pm
So I decided to show off "my" Pong game. Game is on finish, so.. It can be kinda hard to understand(Like my english :)). Also game is .app, so works only in Mac Os X! But I put source and resources to download link, so you can compile it on Windows or Linux.

Controls:

Menu:
1 = Practice(Enemy paddle doesn't move)
A = Play against CPU(Enemy paddle moves)
S = Play against other human(Both paddles are moveable)
2 = Help(It's on finish, no need to really read it)
3 = Quit

Game:

Left paddle:
Up = W
Down = S

Right paddle:
Up = Up
Down = Down

Feel free to ask me any questions.

Download:
http://www.mediafire.com/?55xa8lbnxqhx9d3

Video:
http://youtu.be/aWn4-DuwM58
Title: Pong!
Post by: Haikarainen on January 17, 2012, 10:49:23 am
Great! Now do it with a backdrop of a sauna, replace the paddles with olut and ball with makkara!
Title: Pong!
Post by: iHope on January 17, 2012, 01:55:24 pm
Hmm... Nice idea! The only problem is drawing skills :?
Title: Pong!
Post by: Haikarainen on January 17, 2012, 02:20:49 pm
Quote from: "iHope"
Hmm... Nice idea! The only problem is drawing skills :?


Steal graphics from google, photoshop them to your needs!

For the beer;  http://kuohuvaahto.com/images/olut3.jpg  Cut it out in photoshop, make it a bit transparent in the middle, then draw a fragmentshader bound to its shape before drawing it ingame, so it'll be more realistic and glass/liquidlike.

Ball; http://ffp.uku.fi/vanhateens/kuvat/makkara.jpg cut this out, make it rotate CW when it moves right, and CCW when it moves left

http://www.winecellardesigns.biz/assets/images/Sauna/IWCD_Sauna.jpg this for backdrop!


Love the soundeffects ingame btw :D
Title: Pong!
Post by: Laurent on January 17, 2012, 02:32:29 pm
Quote
Steal graphics from google

First make sure that they are free for what you intend to do with them (even personal use).
Title: Pong!
Post by: Haikarainen on January 17, 2012, 02:41:34 pm
Quote from: "Laurent"
Quote
Steal graphics from google

First make sure that they are free for what you intend to do with them (even personal use).


Well of course this but, I dont wanna play no internetcop :D