renokun
New Member
Posts: 3
Posts: 3
|
Post by renokun on Jul 4, 2014 22:31:58 GMT
Hello again! Having a great time trying to figure out this kit!
I had a quick question or two about players that I cannot seem to find an answer to...
First, does the kit have code in place for player upgrades? For example, shooting three bullets in a cone in front instead of just one or a 360 degree spread all around.
Also, what about a protective shield type power up that provides the ability to absorb more hits?
Thanks in advance! Cheers!
|
|
|
Post by DarkTonic Dev on Jul 5, 2014 3:27:38 GMT
For a very simple player "shot" upgrade you could just assign the "number to spawn" field of a Triggered Spawner to a World Variable. Then when the player powers up, increase that variable. Check the "keep center" checkbox to make the shots spread out. However you'll need to probably use the "code triggered event 1" to fire it off and make the player shoot. The enemies in the Triggered Spawner example scene are set up with shooting like this, so take a look at that.
As far as absorbing more hits, you can either add hit points to the player at run time, or put another Killable in front of him that will need to be destroyed first.
|
|