Dr. Device :: (bullets shoot more bullets, but lag & freeze)
Posted: Thu Aug 09, 2012 5:02 am
I've been very busy...I'm making weapons!
I currently have three weapons (well, two and a half finished ones.) You can cycle through them with the "x" key because this is the "alpha version," although there will be a somewhat more interesting way of switching weapons when I get around to programming it. "z" key shoots. The first two, the triangle lasers and the spastic dark hole ball, work exactly as designed and I am very proud of them.
The third is a bit of a challenge. Anyone here read "Ender's Game?" The third weapon, the one with the little yellow ball, is going to be like the "Dr. Device," the kinetic energy weapon that [[IMPORTANT PLOT STUFF; GO READ THE BOOK IF YOU HAVEN'T YET]] and then goes to live with some pig aliens.
Question One:
Basically I want it to be where when I shoot enemies with the third weapon, the enemy explodes into three more yellow balls that fire in different directions, and then when those balls hit enemies, they explode into three more yellow balls that fire in different directions, and you see where this is going, mmyes? I tried calling a shoot-like function but I get basically no response, and one set of variables that I tried glitched my game so bad I was afraid the computer would start smoking.
Anyway. The weapon should be potentially devastating to your foes if it works, which brings me to my next point
Question Two:
(fix'd, thx Robin)
I currently have three weapons (well, two and a half finished ones.) You can cycle through them with the "x" key because this is the "alpha version," although there will be a somewhat more interesting way of switching weapons when I get around to programming it. "z" key shoots. The first two, the triangle lasers and the spastic dark hole ball, work exactly as designed and I am very proud of them.
The third is a bit of a challenge. Anyone here read "Ender's Game?" The third weapon, the one with the little yellow ball, is going to be like the "Dr. Device," the kinetic energy weapon that [[IMPORTANT PLOT STUFF; GO READ THE BOOK IF YOU HAVEN'T YET]] and then goes to live with some pig aliens.
Question One:
Basically I want it to be where when I shoot enemies with the third weapon, the enemy explodes into three more yellow balls that fire in different directions, and then when those balls hit enemies, they explode into three more yellow balls that fire in different directions, and you see where this is going, mmyes? I tried calling a shoot-like function but I get basically no response, and one set of variables that I tried glitched my game so bad I was afraid the computer would start smoking.
Anyway. The weapon should be potentially devastating to your foes if it works, which brings me to my next point
Question Two:
(fix'd, thx Robin)