![]() |
| | #1 |
| I am he who is the man! Join Date: Sep 2002
Posts: 361
| Space Shooterz! One more thing: Can you reconmend a good tutorial? (besides TheForgers!) One more more thing: Can you beat the game? I've gotten to 13 aliens w/out an ending! Question For All: What is your favorite weapon? What is you highest score
__________________ Stan The Man. Beatles fan When I was a child, I spoke as a child, I thought as a child, I reasoned as a child. When I became a man, I put childish ways behind me" (the holy bible, Paul, in his first letter to the Cor. 13:11) |
| Stan100 is offline | |
| | #2 |
| Registered User Join Date: Dec 2001
Posts: 479
| what game are u talking about? |
| pode is offline | |
| | #3 |
| Rambling Man Join Date: Jan 2002
Posts: 1,050
| Hunter's game that he created a LONG time ago. My understanding that he is not going to update the game again, but he is in the midst (at least that's what he said a while ago) of recreating the game but in DirectDraw instead of GDI. Stand, if you have the source to the game why don't you make the changes to the game yourself? |
| TechWins is offline | |
| | #4 |
| Banned Join Date: Oct 2001
Posts: 1,552
| |
| frenchfry164 is offline | |
| | #5 | |
| I am he who is the man! Join Date: Sep 2002
Posts: 361
| Quote:
If You ever call me StanD I will have to come to where you live and attack you
__________________ Stan The Man. Beatles fan When I was a child, I spoke as a child, I thought as a child, I reasoned as a child. When I became a man, I put childish ways behind me" (the holy bible, Paul, in his first letter to the Cor. 13:11) | |
| Stan100 is offline | |
| | #6 | |||||
| Carnivore ('-'v) Join Date: May 2002
Posts: 2,866
| Quote:
Haven't started though, still tied up with DirectDraw.Quote:
), but it's impossible to beat the game... the aliens have a population that is several million times that of us humans In short, you can beat your friend's score, but not the game.Pretty foolproof design if you think of it, since it isn't too easy for anybody (it just keeps getting harder until your computer crashes from running out of memory), and it isn't too hard for anybody to not be able to beat at least level 1 and 2 (just stay put and shoot rockets ).Quote:
![]() Quote:
But I gotta figure out how to use DirectDraw first.Quote:
__________________ Just Google It. √ (\ /) ( . .) c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination. | |||||
| Hunter2 is offline | |
| | #7 |
| _ Join Date: Dec 2002
Posts: 280
| I bet you could beat the game with a simple memory hack But that is out of my league for right now. |
| Munkey01 is offline | |
| | #8 |
| Banned Join Date: Jan 2003
Posts: 1,708
| Hey hunter I like your space shooters game. I'm glad you're making it with dx, the gdi one ran slow after a few levels, but I enjoyed playing it nonetheless, and I was happy you shared the source! ![]() EDIT: You said you were having problems with the keys, here's something from nehe's tutorial, i dunno if you've looked at it or not but it works fine having keys pressed down at the same time you make a bool array with 256 elements. Then in your windows procedure you put: EDIT2: I hope you didn't get a chance to read the windows procedure keyboard code I posted a few minutes ago, don't bother with that it's too slow Using getkeystate handles keyboard input much faster, here's a snippet from a gametutorial. the 0x80 just makes it so it is only active when the key is being held down, you can #define NOHOLD 0x80 or something in your codeCode: // Check if we hit the Up arrow or the 'w' key
if(GetKeyState(VK_UP) & 0x80 || GetKeyState('W') & 0x80) {
// Move our camera forward by a positive SPEED
MoveCamera(speed);
}
// Check if we hit the Down arrow or the 's' key
if(GetKeyState(VK_DOWN) & 0x80 || GetKeyState('S') & 0x80) {
// Move our camera backward by a negative SPEED
MoveCamera(-speed);
}
// Check if we hit the Left arrow or the 'a' key
if(GetKeyState(VK_LEFT) & 0x80 || GetKeyState('A') & 0x80) {
// Strafe the camera left
StrafeCamera(-speed);
}
// Check if we hit the Right arrow or the 'd' key
if(GetKeyState(VK_RIGHT) & 0x80 || GetKeyState('D') & 0x80) {
// Strafe the camera right
StrafeCamera(speed);
}
Last edited by Silvercord; 02-05-2003 at 08:47 PM. |
| Silvercord is offline | |
| | #9 |
| Carnivore ('-'v) Join Date: May 2002
Posts: 2,866
| Hmm, sounds interesting. This is supposed to allow you to press and hold a lot of keys at once? I always thought that was a hardware restriction... Oh well, I'll give it a run in a test program. And also, I'm assuming that this bypasses the message loop? So that means I'll have to re-structure my program... Oh well Where there's a will there's a way! (p.s. Thanks for the suggestion, I never thought of that )**EDIT** By the way, would you happen to know how fast GetKeyState() runs? After all, it would have to be called a LOT of times, and I'm kind of worried about performance right now...
__________________ Just Google It. √ (\ /) ( . .) c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination. Last edited by Hunter2; 02-05-2003 at 09:12 PM. |
| Hunter2 is offline | |
| | #10 | |
| Banned Join Date: Jan 2003
Posts: 1,708
| Quote:
| |
| Silvercord is offline | |
| | #11 |
| Carnivore ('-'v) Join Date: May 2002
Posts: 2,866
| Well then, looks like Space Shooterz! GDI version 2 is coming to a theatre near you but for the DirectX version I'll use DirectInput.
__________________ Just Google It. √ (\ /) ( . .) c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination. |
| Hunter2 is offline | |
| | #12 | |
| I lurk Join Date: Aug 2002
Posts: 1,361
| Quote:
| |
| Eibro is offline | |
| | #13 |
| Banned Join Date: Jan 2003
Posts: 1,708
| That's pretty cool eibro |
| Silvercord is offline | |
| | #14 |
| Registered User Join Date: Dec 2001
Posts: 479
| yeah its really cool man, could u do it with minesweeper too? i tried reducing the mines, it wont change! can u help me out pls?! |
| pode is offline | |
| | #15 | |
| _ Join Date: Dec 2002
Posts: 280
| Quote:
| |
| Munkey01 is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Out of space when compiling kernel | NuNn | Linux Programming | 3 | 04-01-2009 02:43 PM |
| disk space mysteriously gone | evader | C++ Programming | 4 | 01-21-2004 01:30 PM |
| The long-awaited Space Shooterz DX! | Hunter2 | Game Programming | 63 | 06-15-2003 01:27 PM |
| someone who is good at finding and fixing bugs? | elfjuice | C++ Programming | 8 | 06-07-2002 03:59 PM |