Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Little practise Air Hockey game [DBC]

Author
Message
Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 1st May 2005 05:53
I just suddenly felt like making a crappy little air hockey game....here's the code (No Media)



You move with the mouse, and change camera views with buttons 1,2 and 3.

To all the newbies: If you wants a tutorial on how to make games like air hockey or pong just ask

"Well, if he dies, it'll teach him not to do it again." - Me
dlefik 2008
21
Years of Service
User Offline
Joined: 28th Apr 2005
Location: Spencerville, OH
Posted: 3rd May 2005 18:13
Hey thats pretty slick for no media, just didn't seem like the puck did much other than bounce back and forth in a straight line between the computer player and you even when trying to hit the puck at different angles. Good job though.
Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 3rd May 2005 18:22
thanks, i noticed that too, but if you wanna make it better just replace


with



or just copy all of this....



now its harder...

"Well, if he dies, it'll teach him not to do it again." - Me
EddieB
21
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 5th May 2005 02:21
Yeh, Very Nice little game.

With some good models and detailed graphics it will be a great game.

Keep it up

-Eddie

Learning C
Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 5th May 2005 03:11
Wow thats really cool.


"Lets migrate like bricks" - Me
Ginga123
20
Years of Service
User Offline
Joined: 19th Jul 2005
Location: The ZOO
Posted: 22nd Jul 2005 21:21
thats pretty good but impossible with a laptop (no mouse)lol
computer 23 me 0
Call me coder
21
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 20th Aug 2005 21:58
lol the ai is too good for me. Everywhere i hit the puck the comp got it ez.



TO ALL THOSE PROGRAMING PEOPLE OUT THERE!

Login to post a reply

Server time is: 2026-07-03 05:01:21
Your offset time is: 2026-07-03 05:01:21