Appo Posted October 30, 2008 Report Share Posted October 30, 2008 Hey, i'm wanting to make a homing attack without making any more sensors, i've come up with this but it's as buggy as hell, there'll probably be an easy way of doing this but i don't know, could someone please give us a hand here, thanks heres what i have so far, if u need the app, i'll upload Link to comment Share on other sites More sharing options...
Appo Posted November 3, 2008 Author Report Share Posted November 3, 2008 infact i was thinking, is there really much call for a homing attack in 2D? does it help in gameplay? Link to comment Share on other sites More sharing options...
LarkSS Posted November 4, 2008 Report Share Posted November 4, 2008 Homing attack was only introduced in Sonic Adventure to make killing enemies in 3D not be a pain in the ass. IMO I don't see it really helping gameplay much in 2D, but rather slow you down if anything. Anyhow, use this routine for figuring out the X and Y speeds for a homing attack: Decimal Points, MMF2, and you Link to comment Share on other sites More sharing options...
Appo Posted November 5, 2008 Author Report Share Posted November 5, 2008 Hey thanks for that, looks abit complex though (i'm not a hardcore programmer) but i'll see what i can make of it, cheers Link to comment Share on other sites More sharing options...
Felik Posted January 10, 2009 Report Share Posted January 10, 2009 Actually I was wondering how to make it without additional sensors and bouncing ball movement too. And finally I understood. Arctangent is the best way to do it. This is how it works: I also added an mfa file as example. Yes it's a bit hard to understand 'cause it's using high math expressions. But it works perfectly. If you wish, I can explain all the actions though P.S. You see kids, University actually DID help me in gamemaking Homing attack tutorial.mfa Link to comment Share on other sites More sharing options...
DimensionWarped Posted January 11, 2009 Report Share Posted January 11, 2009 ... High math? Thats basic trigonometry. Well, good job anyway. Link to comment Share on other sites More sharing options...
Felik Posted January 11, 2009 Report Share Posted January 11, 2009 Yes, but we didn't go into it very much at school, only at the university. At the final class of school we mostly did cos/sin/tan computations and only started some integrals. End of offtopic. Link to comment Share on other sites More sharing options...
Recommended Posts