Thread: The long-awaited Space Shooterz DX!

  1. #31
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    well I think we need to tell hunter to keep working.
    Wow, what amazing timing Just when I decided I was about done with the game! Alright, let me see: I'll make a list of the updates I'm going to make, and I probably won't be adding to the list anytime soon.

    -Make the alien shots not blend in with repeater shots
    -Add sound
    -Add diff. skins for the aliens. Artwork contributions very much welcome! I need about 7 skins, and I don't feel like drawing Also, if possible, the pics should be as similar in size as possible to the original.
    -Fix the help, and do bug fixes

    Sorry, but after this I wanna go on and do something else, since I'm tired of looking at the same code over and over
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  2. #32
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    No no no, not working on this game, I just mean like you have talent so you should keep working on games in general. I personally would continue onto something more advanced (3d!) if I were you.

  3. #33
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Ok, lol in that case I guess I can skip the skins/repeater shots (I was originally thinking of porting this to Direct3D for alpha and stuff but I guess I'll try something 3D), but I feel the need to get the bugs sorted out and the sound put in before I move on.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  4. #34
    Registered User yodoblec's Avatar
    Join Date
    Jun 2003
    Posts
    27
    I love the game. The coolest part is when all the ships come in and shoot lazers. My high score after about 10 mins of playing it was 2343.

  5. #35
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Okay, I've fixed the help and stamped out the bugs that I've heard reported (other than the screwy bug I noticed with the helpfile, although it doesn't affect anything).

    List of bug fixes:
    -Aliens now stagger their shooting like they were meant to originally - makes game much harder
    -Updated help section
    -Font is now "draft quality", so the text in the help should be big enough to read, i.e. font size can be synthesized now (a bug my friend reported)
    -Alien shots no longer remain after you die
    -Not really a bug, but bitmaps no longer need to be reloaded every time the reference count for them goes down to 0.

    I am now working on getting sound in, although I'm afraid that might be a while in coming. In the meantime, I'll post the updated version, and you guys can try it out again

    **EDIT**
    Also, you can get the required bitmaps from an earlier post I made, although in that zip I included "alienb.bmp", which is useless unless you wish to switch the alien's skin with that one.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  6. #36
    Registered User yodoblec's Avatar
    Join Date
    Jun 2003
    Posts
    27
    Wanna see a nice score?!?!? Here it is
    http://www.geocities.com/yodoblec/index/score.JPG
    Last edited by yodoblec; 06-06-2003 at 12:26 PM.
    "Must of been high on something"

  7. #37
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    "Must of been high on something"
    There's no pic there! BTW, did you try the new version?
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  8. #38
    Registered User yodoblec's Avatar
    Join Date
    Jun 2003
    Posts
    27
    My bad I don't know what's wrong. But it's up in the 7000 range!
    "Must of been high on something"

  9. #39
    Registered User yodoblec's Avatar
    Join Date
    Jun 2003
    Posts
    27
    Teach me how to right video games.
    "Must of been high on something"

  10. #40
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Teach me how to right video games.
    Umm.... http://www.gametutorials.com

    BTW, nice score
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  11. #41
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Originally posted by yodoblec
    My bad I don't know what's wrong. But it's up in the 7000 range!
    you cant link directly to an image on geocities. if you copy and paste the link into a browser it will work.

  12. #42
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Oh, I see. My bad after all But how did you take the screenshot? Everytime I try using PrintScreen it just captures a black screen.

    **EDIT**
    lol nvm about the black screen. I tried to beat your score, and after about 20 minutes this is what I came up with
    http://www.geocities.com/hunterguy_2/score.jpg
    Last edited by Hunter2; 06-07-2003 at 01:14 PM.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  13. #43
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Originally posted by Hunter2
    >This is not the cause of the lag, though.
    Do you know what is?
    No, I don't, and I'm afraid I don't have the time to dig deeper into your source code; I try to spend the little programming time I have on the weekends on my own game .
    You should certainly not stop here and decide the game is finished, the game really needs sound.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  14. #44
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Heh no worries, I understand about not wanting to dig deeper into the code. I wouldn't either, if I were you and I took a glance at it But have no fear of me quitting on it just yet, I'm still working on getting sound in, although I'm afraid music might slow it down too much (and I don't have too much fitting music for it anyways), and I don't know what I would use for music (directshow? directsound? directmusic? directmovie? directmidi? direct____?).
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  15. #45
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    No, I actually found your source code understandable -- despite the almost total absence of comments!

    One thing that could be useful in a future update of a new game is to make one of more baseclasses that handles some common tasks -- you currently have similar code in many of your objects' constructors.

    Then each object can be stored in a std::list<Object*>, and the kernel just traverses the list and processes the objects.

    Code:
    for (std::list<Object*>::iterator obj = objectList.begin();
                    obj != objectList.end();
                    ++obj)
                {
                    //Process each object
                    (*obj)->Process();
    
                    //Is this object scheduled for deletion?
    
                        if (!(*obj)->isAlive())
                        {
                            [snip]
                        }
    
                }
    When I add new objects to the game, enemies and bullets and bonuses, I never have to recompile the kernel!

    Just a tip...
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Inserting a swf file in a windows application
    By face_master in forum Windows Programming
    Replies: 12
    Last Post: 05-03-2009, 11:29 AM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 11:45 AM
  3. hton long long
    By carrotcake1029 in forum C Programming
    Replies: 1
    Last Post: 06-01-2008, 08:26 PM
  4. can someone check this out and let me know ?
    By javaz in forum C Programming
    Replies: 5
    Last Post: 01-21-2002, 02:13 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM