Gamemakernooblet Posted January 16, 2008 Report Share Posted January 16, 2008 Well yeah i would like to know how to make homing attack. I know how to make jump dash but i have no idea how to make homing part. Link to comment Share on other sites More sharing options...
Ayling Posted January 16, 2008 Report Share Posted January 16, 2008 Adapt this for yourself. I didn't make it, but the concept's there. Have fun. Basic Homing.gam Link to comment Share on other sites More sharing options...
MetaRus Posted January 16, 2008 Report Share Posted January 16, 2008 nooo. it's tutorial is not can be help on Sonic Worlds and others similar engines... Link to comment Share on other sites More sharing options...
Damizean Posted January 16, 2008 Report Share Posted January 16, 2008 Object = GetNearestObject(Sonic, x, y);// Calculate direction vectorSpeedX = Object.x - Sonic.X;SpeedY = Object.y - Sonic.Y;// Normalize and apply usual homing speedLength = 1/Sqrt(SpeedX*SpeedX+SpeedY*SpeedY);SpeedX = SpeedX*Length*HOMING_SPEED;SpeedY = SpeedY*Length*HOMING_SPEED;[/Code] Link to comment Share on other sites More sharing options...
BlazeHedgehog Posted January 16, 2008 Report Share Posted January 16, 2008 This all seems very familiar. Remember, kids: The forum doesn't have a search function just so you can ignore it. Link to comment Share on other sites More sharing options...
Gamemakernooblet Posted January 16, 2008 Author Report Share Posted January 16, 2008 This all seems very familiar. Ohsnap.. sorry lol. And yea, problem solved Link to comment Share on other sites More sharing options...
Ayling Posted January 16, 2008 Report Share Posted January 16, 2008 nooo. it's tutorial is not can be help on Sonic Worlds and others similar engines... Umm, yeah it can. you need to modify it though. Link to comment Share on other sites More sharing options...
Recommended Posts