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.

Newcomers DBPro Corner / Space Shooter

Author
Message
Game Master1330
17
Years of Service
User Offline
Joined: 19th Oct 2007
Location: (GetReaderXYZ() * 42 ) / 0
Posted: 3rd Oct 2009 18:28 Edited at: 5th Oct 2009 00:32
Hi,
This is my first game, so any comments or help appriciated.
It is a two player space shooter with a targeting system and 3dness.

To do list: ( = Working on, = finished, = finished but bugged and = unstarted.)

Controls:
Firing:
Collision:
HUD:
Main Loop:

Problems / Questions
Boost system screwed up. Will fix tomorrow.
How do I save a variable to a file?
How do I set up collision so that the two spaceships don't hit each other and can't go off the screen?
How do I see if an object is roughly in front of one of the ships?

Controls:
P1 Controls:
WASD = Move = 17, 30, 31, 32
QE = Up / Down = 16, 18
Left Shift = Boost = 42
Space = Shoot = 57

P2 Controls:
5123 = Move = 76, 79, 80, 81
46 = Up / Down = 75, 77
Right arrow key = Boost = 205
Enter = Shoot = 156

Latest Version Attached.

Current Code:


Any help appriciated!
Matt

Umm...

Attachments

Login to view attachments
cyril
17
Years of Service
User Offline
Joined: 6th Aug 2007
Location: 7 miles away from big ben
Posted: 4th Oct 2009 02:16
replace paste image with sprite command
after using the draw sprite first command.

ie:
Game Master1330
17
Years of Service
User Offline
Joined: 19th Oct 2007
Location: (GetReaderXYZ() * 42 ) / 0
Posted: 4th Oct 2009 02:32
It dosent recognise draw sprite first as a command... Thanks for trying to help anyway.

Umm...
cyril
17
Years of Service
User Offline
Joined: 6th Aug 2007
Location: 7 miles away from big ben
Posted: 4th Oct 2009 11:06
woops i written it wrong, its "draw sprites first"
i need to poof check my writing before posting
Game Master1330
17
Years of Service
User Offline
Joined: 19th Oct 2007
Location: (GetReaderXYZ() * 42 ) / 0
Posted: 4th Oct 2009 11:24
Ok thanks!
Matt

Umm...
Game Master1330
17
Years of Service
User Offline
Joined: 19th Oct 2007
Location: (GetReaderXYZ() * 42 ) / 0
Posted: 6th Oct 2009 00:18
Does no1 evr look here ?

Umm...
Stefan p
16
Years of Service
User Offline
Joined: 2nd Nov 2008
Location: Online
Posted: 8th Oct 2009 02:36 Edited at: 8th Oct 2009 02:36
Use object collision to see if they are colliding then dont let them move anymore.

To not let them go offscreen then set up a boundary system where you declare the bounds at the starts of the program and every loop you check to see if is inside the bounds and if its not then don't let it.

To write a varrriable to a file you use these commands (Open to Write, Write Word, Write String, Close File; Tut covers them) but first I suggest you read this tutorial. http://forum.thegamecreators.com/?m=forum_view&t=96084&b=7

Thanks, Stefan

Login to post a reply

Server time is: 2024-11-25 02:05:42
Your offset time is: 2024-11-25 02:05:42