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

Username:   Password: 
 RegisterRegister   
 My first game! **SPACE GAME***
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
nate




PostPosted: Sun Apr 27, 2003 9:26 am   Post subject: My first game! **SPACE GAME***

Here is this space game i made. Its only really good on large monitors cause thats what i use. On small monitors you can't see the whole level. But its not bad. I got to change the fact that you can only shot the guy with the end of your laser. but w.e. My comp teacher will be impressed!

**NOTE**
I have set the red plane to be in a different place then normal cause if you guys have small monitors you won't beable to see him. If you have a large monitor just set the
redShipxcord := 965
redShipycord := 585
You have to replace it in 3 diff. places but the game is still fun without the ship being their
**NOTE**

-Nathan



space game.zip
 Description:

Download
 Filename:  space game.zip
 Filesize:  39.08 KB
 Downloaded:  522 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
jamez




PostPosted: Sun Apr 27, 2003 11:12 am   Post subject: (No subject)

That's pretty cool, good job nate Very Happy

One thing I owuld change in your code is this:
(It makes it so you can move on an diagonal)
code:
    Input.KeyDown (plane1control)

    if plane1control (KEY_UP_ARROW) then
        greyShipYcord += 5
        if greyShipYcord >= 600 or greyShipYcord >= 180 and greyShipYcord <= 181 and greyShipXcord >= 420 and greyShipXcord <= 550 then
            greyShipYcord += -5
        end if
    end if
    if plane1control (KEY_DOWN_ARROW) then
        greyShipYcord -= 5
        if greyShipYcord <= 30 or greyShipYcord >= 500 and greyShipYcord <= 501 and greyShipXcord >= 420 and greyShipXcord <= 550 then
            greyShipYcord += 5
        end if
    end if
    if plane1control (KEY_LEFT_ARROW) then
        greyShipXcord -= 5
        if greyShipXcord <= 30 or greyShipXcord <= 550 and greyShipXcord >= 549 and greyShipYcord >= 200 and greyShipYcord <= 510 then
            greyShipXcord += 5
        end if
    end if
    if plane1control (KEY_RIGHT_ARROW) then
        greyShipXcord += 5
        if greyShipXcord >= 960 or greyShipXcord >= 419 and greyShipXcord <= 420 and greyShipYcord >= 200 and greyShipYcord <= 510 then
            greyShipXcord -= 5
        end if
    end if
    if plane1control (KEY_ENTER) then
        ...
JSBN




PostPosted: Sun Apr 27, 2003 11:17 am   Post subject: (No subject)

Good job, pretty cool. U mightt want to make the colision detectors bigger tho, other than that it's very good
Tony




PostPosted: Sun Apr 27, 2003 12:23 pm   Post subject: (No subject)

Game is good, I like it. Though if you got v4 compiler, go with jamez's sujestion about controls, that will allow you to move diagnally.

Some sujestions:

have missiles or short lazer bursts instead of 1 continues line for your weapons system

and ability to shot diagnaly as well.

The way I see it, it should be an overhead instead a side view with 360 degree rotation and ability to shot in any direction

+25Bits -Tony
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
jamez




PostPosted: Thu May 01, 2003 9:17 am   Post subject: (No subject)

[quote="tony"]

and ability to shot diagnaly as well.

The way I see it, it should be an overhead instead a side view with 360 degree rotation and ability to shot in any direction[quote]

could you make a tutorial on that? im too stupid to figure it out Very Happy
Tony




PostPosted: Thu May 01, 2003 11:07 am   Post subject: (No subject)

I would try to make something like that. Send me a PM to keep as a reminder.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Brewah




PostPosted: Fri May 02, 2003 5:26 pm   Post subject: (No subject)

Well isn't that funny, those jet images are the ones I MADE for the game I'm developing right now!
nate




PostPosted: Fri May 02, 2003 5:56 pm   Post subject: Yah i might have used someones

Sry if i used yours, i just found what i could, used what i could

-Nathan
Sponsor
Sponsor
Sponsor
sponsor
Brewah




PostPosted: Fri May 02, 2003 6:42 pm   Post subject: (No subject)

I don't mind as long as you ask, and credit is given.
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  [ 9 Posts ]
Jump to:   


Style:  
Search: