Nev3r said:It just doesn't work correctly.. I don't know if I'm the problem when I put the values.. But well, the random angles doesn't work fine for me. I just wanted to make a 360º random using A_ChangeAngleRelative With VAR1=0 and VAR2=360 but... Looks like it does only from 0º to 80º, no matter which values... I think I could be more exact on the first topic >_<
#define ANG45 0x20000000
#define ANG90 0x40000000
#define ANG180 0x80000000
#define ANG270 0xc0000000
#define ANGLE_10 0x071C71C7
#define ANGLE_45 0x20000000
#define ANGLE_90 0x40000000
#define ANGLE_180 0x80000000
#define ANGLE_350 0xF8E38E38
#define ANGLE_MAX 0xFFFFFFFF
#define ANGLE_60 (ANGLE_180/3)
Logan_GBA said:Nev3r said:It just doesn't work correctly.. I don't know if I'm the problem when I put the values.. But well, the random angles doesn't work fine for me. I just wanted to make a 360º random using A_ChangeAngleRelative With VAR1=0 and VAR2=360 but... Looks like it does only from 0º to 80º, no matter which values... I think I could be more exact on the first topic >_<
Code:#define ANG45 0x20000000 #define ANG90 0x40000000 #define ANG180 0x80000000 #define ANG270 0xc0000000 #define ANGLE_10 0x071C71C7 #define ANGLE_45 0x20000000 #define ANGLE_90 0x40000000 #define ANGLE_180 0x80000000 #define ANGLE_350 0xF8E38E38 #define ANGLE_MAX 0xFFFFFFFF #define ANGLE_60 (ANGLE_180/3)
then var1 should be 0 and Var2 should be 4294967295 aka 0xFFFFFFFF
I see. :PDraykon said:SRB2's random sucks, it's not really possible to do anything randomly properly.