Page 2 of 2

PostPosted: Fri Nov 10, 2006 3:19 am
by Fuzzy
Lets try this again.. Hopefully Dillo or someone else can spot any errors..

Code: Select all
double angWrap(double ang){return (double)abs((((long)(ang*100))%35999)*0.01);}


Yikes. Imbedded heaven! But it should work with both positive and negative, as well as floating point numbers and %! test please!

PostPosted: Sat Nov 11, 2006 12:37 am
by DilloDude
Still a few problems: negative numbers return the absolute value(-20 returns 20 instead of 340), and a bit is added (365 returns 4.01 instead of 4, and 720 returns 0.02 instead of 0)

PostPosted: Sat Nov 11, 2006 1:41 am
by DilloDude
Hedfone wrote:try breaking the huge picture up into several screen length pictures and making them seperate actors. yeah, it's a pain, but...what can ya do? :D

Or use one tiled actor with either large sections or smaller tiles that are more useful.

PostPosted: Sat Nov 11, 2006 6:52 pm
by Sgt. Sparky
but u cannot even load the animation onto game editor to make it a tile