360

Non-platform specific questions.

360

Postby hobgoblin » Fri Feb 27, 2004 1:41 am

i'm trying to put an aimbot in my actor

if i push the arrows, the caracter moves in the screen

and i want to make the picture alwas aim in the target

animpos = nframes*direction(x,y, target.x , target.y)/360.0;
y+=1;


this one does not work

am i forgeting something?
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Postby makslane » Fri Feb 27, 2004 1:20 pm

Your animation has all rotation frames? (look demos\Asteroids\data\shipNormal*.bmp)
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest