Weapon combo selection

This is a discussion on Weapon combo selection within the Game Programming forums, part of the General Programming Boards category; Your game kicks ass, I like how the homing missiles circle around the enemy. What do those little things that ...

  1. #16
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    Your game kicks ass, I like how the homing missiles circle around the enemy. What do those little things that ships drop do? I pick them up and they do not seem to do anything.

  2. #17
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    when's the game gonna be ready anyway??
    what does signature stand for?

  3. #18
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Ruski,

    Well, even if you make a 2D game, what are you going to animate the models with?? Sprites??
    Who said anything about models or animations? And aren't 'models' for 3d games? For me, 2D models are called 'Images' And no animations for me, 'least not for the rockets. Maybe someday when I get into DirectX and I can afford the performance slowdown.


    JoshG,

    The little blippers the aliens drop would be (I believe, according to your description) the combo upgrades But in the version you have, probably they don't do anything yet. That comes in the version on my computer right now I'll probably upload the new version sometime soon; in case it IS the new version, I already implemented one method of combo-selection:
    1 = repeater
    2 = chained lasers
    3 = linked lasers
    4 = missiles

    And after you pick up the appropriate upgrade, you hit the two weapons of the upgrade and voila! The combo pops up! Oh, BTW you can tell what upgrade is what by the pic If there's a blue thing then repeater is one of the weapons, if it's got 2 red things with 1 in front, then chained lasers is one, if it's got 2 red things side by side, then linked, and if there's a purple thing then there's missiles.

    Current controls:
    Ctrl = previous weapon
    1,2,3,4 = weapons
    H = cycle weapons
    when's the game gonna be ready anyway??
    A few days hopefully I might want to add a limitbreak upgrade and fix a bug that just popped up (the moment an alien shoots, I get an illegal operation ).
    Just Google It. √

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

  4. #19
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    Hmm, if it is an illegal operation, I bet somewhere in your code you try to write to memory that you did not allocate. I am guessing you are using a linked list for the bullets from an alien, and when it shoots it is not allocating the memory? I had a problem like that before.

  5. #20
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    I bet somewhere in your code you try to write to memory that you did not allocate
    Yep!

    I am guessing you are using a linked list for the bullets from an alien, and when it shoots it is not allocating the memory?
    Nope!

    Anywhere close??
    Nope!

    Anything to do with bullets or aliens???
    Nope!

    Then what the heck was it????
    I declared an array of 180 Star's and tried drawing 200 of them
    Just Google It. √

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

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Generalising methods to handle multiple weapon types
    By Swarvy in forum Game Programming
    Replies: 2
    Last Post: 05-22-2009, 03:52 AM
  2. Replies: 2
    Last Post: 03-05-2009, 10:25 AM
  3. Reset Combo Control VS C++ 6.0
    By WaterNut in forum Windows Programming
    Replies: 8
    Last Post: 12-26-2007, 10:37 AM
  4. selection problem
    By Ken JS in forum C Programming
    Replies: 3
    Last Post: 08-04-2007, 10:47 PM
  5. Create new combo boxes based on items selected in preview combo box
    By RealityFusion in forum Windows Programming
    Replies: 2
    Last Post: 01-10-2007, 09:50 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21