Does anyone have any advice on making a Bloons TD game? I can't figure out how to make the monkey throw the dart when the bloon is close. (I'm new to programming this kind of game).
Sincerely,thinkhow am I going to make this game?
Offline
whenclicked
foreversaySPIT MY GRANDMOTHER OUT!!!!
Offline
jdwjrnchewy wrote:
whenclicked
foreversaySPIT MY GRANDMOTHER OUT!!!!
Testing 123
Offline
I think i know how to. You'll need an invisible circle.
Last edited by Firedrake969 (2012-05-06 17:12:12)
Offline
If it's only distance sensing you're worrying about then it's "simple"
whenclicked
foreverdeleteall ▼ofdistances ▼adddistance1*todistances ▼adddistance2*todistances ▼adddistance3*todistances ▼ifitem>1 ▼ofdistances ▼itemand2 ▼ofdistances ▼item3 ▼ofdistances ▼point towardsenemy1 ▼ifitem>2 ▼ofdistances ▼itemand1 ▼ofdistances ▼item3 ▼ofdistances ▼point towardsenemy2 ▼ifitem>3 ▼ofdistances ▼itemand1 ▼ofdistances ▼item2 ▼ofdistances ▼point towardsenemy3 ▼*distance is worked out through this:sqrt of (xposof1sprite) + (xposoftheother)*(xposof1sprite) + (xposoftheother)
Offline