Re: Projectiles
I have worked my little problem above, and am just writing just post how I did it just encase anyone else gets a similar problem.
Instead of using a two dimensional array:
[b:vmeck30m]int myArray[50][50];[/b:vmeck30m]
I created an array of a structure I built:
[b:vmeck30m]struct projectiles{
int onoff;
int x;
int y;
int xm
int ym;
int width;
int height;
} everyProjectile[MAX_BULLETS];[/b:vmeck30m]
So them I could still use all my equations, I just had to replace all:
with smallLoop being a int I was using along side my for(loops)
replace: myArray[smallLoop][0]
with : everyProjectile[smallLoop].onoff
I still have no idea why the 2Darray never worked but mneh