2 animpos help plz

Non-platform specific questions.

2 animpos help plz

Postby mrgame » Tue Dec 11, 2007 9:48 pm

ok two anoying things that i cant figure out.

my 36 frame animation.

ive got it so when i press right and left key it turns. but when it goes a full round it wont go anymore. eg it just stops and i have to go back round the other way
how do i sort that out?

angles
how to i make it so my angle and animation are in time. at the moment ive got it angle = angle + 10; and they both do a full circle with each other.
but can i make it like ange = angle + 4; and my animation = angle or somthing.

sorry if im not clear. please help :)
mrgame
 
Posts: 118
Joined: Sun Oct 21, 2007 8:09 pm
Location: my computer
Score: 3 Give a positive score

Re: 2 animpos help plz

Postby Kalladdolf » Mon Dec 17, 2007 8:36 am

well, with animpos, I can help you (not with angle, I'm in a hurry :( )

ok, enter code for draw actor
Code: Select all
if (animpos > 36)
{animpos = 0;}
if (animpos < 0)
{animpos = 360;}
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: 2 animpos help plz

Postby Spidy » Mon Dec 17, 2007 8:39 am

hey kall i always saw your sign. your sickman caverunner xman is stuck??

Them projects:
Sickman caverunner Xmas (20%)
Sonic kart (12.3%)
Heatwave (0.001%)
Image
VOTE FOR MY SIGNATURE PLEASE.......THANK YOU
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron