In the past few days I have clean up some code, and added in projectile speed, damange, range etc into the property file. I am now start to add in the multiple missile and bullet launch feature, and explosive amunitions. Two more projectile property settings need to be added. One is the firing angle offset, for multishots feature. The other is the damage radius, for explosive shells.
One thing I haven't made a decision yet is: am I going do a grenade throw trajectory thing like in Gears of War, using the mouse indicator as the destination, or do I just make the grenade fly in a straigt line and detonate on the destination? The first option is definitely more work, so most likely I will use the second option to keep things simple.
I already started to implement the shotgun feature. The shotgun I am trying to do is more similar to Contra one rather than FPS ones. Seems quite easy to implement actually. By adding multiple projectile properties into one item property file in XML format, I have good control and flexibility. It's also possible to make a gun firing different shots with the system, although most likely I am not going to do that. I have already setup the angle offset property, but still need to do the proper matrix transformation using the given angle to get the proper firing direction of each shot.
19 Mar 2008
Weapon Sys Improvement Continue
Labels:
weapon system
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment