GLBasic forum

Other languages => GLBasic - de => Topic started by: trucidare on 2007-Dec-03

Title: IPPong
Post by: trucidare on 2007-Dec-03
Ich hab wie versprochen das pong spiel angefangen... benötige aber noch eine ball funktion. bin zu blöde dazu.

bisher steht client server erkennung und verbindung, senden undempfangen vonnachrichten, variablen,

nur noch das spiel an sich ^^
Title: IPPong
Post by: Schranz0r on 2007-Dec-03
if Collision then winkel = -winkel

Sprich der Einfallswinkel = Ausfallswinkel

ball machst du so:

ballx = COS(winkel)*speed
bally = SIN(winkel)*speed


Büddöschön :D
Title: IPPong
Post by: Kitty Hello on 2007-Dec-04
Ähm... In der Hilfe zu GLBasic, ja? Da ist ein Tutorial "PONG".
Title: IPPong
Post by: trucidare on 2007-Dec-04
Ooops ^^ ich werd sofort nachsehen ^^