Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Missle Pong
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
hdef




PostPosted: Wed Dec 22, 2004 5:23 pm   Post subject: Missle Pong

Well pong yet again... but with a twist... Has power ups and the ability to fire missles...



Also has a single or 2 player feature... *Warnign the ai in 2 player is hard to beat, u can only beat him if u take away all his life...*

Read the rules and controls or powerups at the start menu...

*please ignore typos as of right now im not picky when ti comes to them*

also... this game isnt really suppose to be difficult to keep the ball going... its suppose to make players use their missles to force people to miss while they are dodging them.

*Note thanks to draddog for beta testing and debugging the ai, it only took us what? 15 files? lol*



missle pong.zip
 Description:

Download
 Filename:  missle pong.zip
 Filesize:  349.13 KB
 Downloaded:  334 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
draddog




PostPosted: Wed Dec 22, 2004 5:29 pm   Post subject: Re: Missle Pong

hdef wrote:

*Note thanks to draddog for beta testing and debugging the ai, it only took us what? 15 files? lol*

not 15 files 15 tries anyways thanks for the credit
he did everything else
cool dude




PostPosted: Wed Dec 22, 2004 5:33 pm   Post subject: (No subject)

it's good although it's very hard to lose and beat the computer. u should make the speed a lot faster
hdef




PostPosted: Wed Dec 22, 2004 5:34 pm   Post subject: (No subject)

welll sending the file back and forth anyway lol...

lol the code for my program is so unorginized lol
hdef




PostPosted: Wed Dec 22, 2004 5:35 pm   Post subject: (No subject)

yea i was going to but i would need to change nearly every line drawn there or else they will pass through each other....
cool dude




PostPosted: Wed Dec 22, 2004 5:36 pm   Post subject: (No subject)

try putting it into procedures and functions and commenting it. that will make it more organized and dont forget our favourite key F2
draddog




PostPosted: Wed Dec 22, 2004 5:37 pm   Post subject: (No subject)

it could but then everything would need to be adjusted
so it would take a while
exspecially ith the unorganized code lol
draddog




PostPosted: Wed Dec 22, 2004 5:38 pm   Post subject: (No subject)

he has procedures but its just difficult
Sponsor
Sponsor
Sponsor
sponsor
draddog




PostPosted: Wed Dec 22, 2004 5:40 pm   Post subject: (No subject)

some of my gmes hve too much code to be indented Sad
i dont like that its hard t read
cool dude




PostPosted: Thu Dec 23, 2004 2:37 pm   Post subject: (No subject)

draddog wrote:
some of my gmes hve too much code to be indented Sad
i dont like that its hard t read


it's not hard to read indented code, in fact it's a lot easier. as well wat do u mean by having too much code to be indented because u could indent any code even if it is big.
hq78




PostPosted: Thu Dec 23, 2004 4:31 pm   Post subject: (No subject)

i like it, i thought it was ann awesome game, good work!
draddog




PostPosted: Thu Dec 23, 2004 7:10 pm   Post subject: (No subject)

i dont know its just says not enough memory to indent file
even if i have alot of memory Sad
benQ




PostPosted: Fri Jan 07, 2005 7:10 pm   Post subject: Hey

Hey how do you get the ball to bounce off the walls and the blockers? Can you send me the code to get it to bounce off walls? My summative is to make a blocksies game. Thank! Very Happy
cool dude




PostPosted: Sat Jan 08, 2005 11:28 am   Post subject: (No subject)

to get the ball to bounce of the walls you could use this simple code

code:

setscreen("graphics:640;400")
View.Set ("offscreenonly")
color(white)
colorback(black)
cls

var x : int :=  320   
var y : int := 350     
var xchange:int:=1
var ychange:int:=1



loop
cls
    x := x - xchange
    y := y + ychange
   
    Draw.FillOval (x, y, 10, 10, white)
    delay(5)
    View.Update
   
    if x = 10 or x =630 then
        xchange:=xchange*-1
   
    end if
    if y = 10 or y = 390 then
        ychange :=ychange*-1
    end if

end loop



to make the ball bounce of the paddles it is almost the same code accept rearanging the code a bit and changing the boundaries
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 14 Posts ]
Jump to:   


Style:  
Search: