Rate of Fire?
blastfactor
Member Posts: 72
Hey guys, how do i make it so that my character has a certain Rate of fire?and also, how would i make it so that if you buy something at a "store" then the image, rate of fire, health, or damage changes? and how do i make it so that if my variable "enemies left" goes to zero, that it goes to another scene? thank you for all help.
Comments
2. to adjust the rate of fire, just use a variable instead of a fixed time. then in the store when they buy an item, update that variable. as far as a store goes, you'll need to have a bunch of actors with attributes on what they cost. then when a user clicks on them, check to see if they have enough points or money or whatever, and if they do, subtrack that number from their points and give the user the item.
basically you need to track a bunch of attributes, and then change what is displayed on screen depending on them.
3. you'll need an actor that monitor's the enemies left, and when that hits zero, change scene. you could also just put this rule on your main character.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
http://www.pixelmator.com/
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left