missile command...

BlitzMax Forums/BlitzMax Programming/missile command...

splaq(Posted 2009) [#1]
Ok im sure this is really easy, and what not...but I'm attempting to re-create missile command...I want my missiles to drop from the sky at random x positions from rand(x), 0y ...and every single one of the trace a direct route to the player which is at 400x,600y but..the problem im having is everything goes left or right heading twards the middle of the screen then dives straight down...or goes down too much and corrects mid ways twards the "target"....i want a direct straight path to the target...no mid air corrections...i know my math is all fu..messed up cause well i suck at math...so does anyone know what i'm doing wrong?


InvisibleKid(Posted 2009) [#2]
check this post out here.