Hi guys im fairly new to game programming and i am currently making a tower defense game and i know how to do the score and everything like that, its just that i need help with enemies, harder levels and also how to indicate in some way that you are on that level.
Thank you
Offline
Enemies, I'm not sure as well as harder levels, but for the indicate levels, you could use a broadcast that changes a variable everytime a level has been completed. How you go about that depends on how you want to approach it; you could have an outlying enemie that broadcasts it for one, or when you have a certain score.
Offline
StarscreamClone wrote:
Enemies, I'm not sure as well as harder levels, but for the indicate levels, you could use a broadcast that changes a variable everytime a level has been completed. How you go about that depends on how you want to approach it; you could have an outlying enemie that broadcasts it for one, or when you have a certain score.
Yes that is true but thing thing is i dont really know how to create enemies and how many hits they can take from me firing at them, also i kinda need a health bar for my tower... sorry i forgot to mention these things in my first post
Offline
danny2234 wrote:
StarscreamClone wrote:
Enemies, I'm not sure as well as harder levels, but for the indicate levels, you could use a broadcast that changes a variable everytime a level has been completed. How you go about that depends on how you want to approach it; you could have an outlying enemie that broadcasts it for one, or when you have a certain score.
Yes that is true but thing thing is i dont really know how to create enemies and how many hits they can take from me firing at them, also i kinda need a health bar for my tower... sorry i forgot to mention these things in my first post
Ah it's fine. I'm an experienced Scratcher, and I'm not very good at games myself! For the enemies, an idea for health would be to assign them each their own variable, and whatever you're using as a weapon can decrease that variable by however many you want, and when the variable hits zero, have it hide.
Offline
StarscreamClone wrote:
danny2234 wrote:
StarscreamClone wrote:
Enemies, I'm not sure as well as harder levels, but for the indicate levels, you could use a broadcast that changes a variable everytime a level has been completed. How you go about that depends on how you want to approach it; you could have an outlying enemie that broadcasts it for one, or when you have a certain score.
Yes that is true but thing thing is i dont really know how to create enemies and how many hits they can take from me firing at them, also i kinda need a health bar for my tower... sorry i forgot to mention these things in my first post
Ah it's fine. I'm an experienced Scratcher, and I'm not very good at games myself! For the enemies, an idea for health would be to assign them each their own variable, and whatever you're using as a weapon can decrease that variable by however many you want, and when the variable hits zero, have it hide.
OMG yes yes! thankyou StarscreamClone now i get it
thanks for the help
Offline
danny2234 wrote:
StarscreamClone wrote:
danny2234 wrote:
Yes that is true but thing thing is i dont really know how to create enemies and how many hits they can take from me firing at them, also i kinda need a health bar for my tower... sorry i forgot to mention these things in my first postAh it's fine. I'm an experienced Scratcher, and I'm not very good at games myself! For the enemies, an idea for health would be to assign them each their own variable, and whatever you're using as a weapon can decrease that variable by however many you want, and when the variable hits zero, have it hide.
OMG yes yes! thankyou StarscreamClone now i get it
thanks for the help
No problema!
Offline