I've created a two dimensional int array, with 5 colomns and 100rows more than enough for what I want.
col 1 = is it use or not
col 2 = x location
col 3 = y location
col 4 = x movement, this can be a minus or positive number
col 5 = y movement, same as above
Right when my player presses the space key, the program loop and checks array[loop][0]
and check for the first one which is equal to zero (not in use).
Once a projectile collides with something or goes of the screen I zero it attributes, to make it well not in use.
Yet for some reason after its fired to what I can only presume to be 100 due its max, it either doesn't work or sometimes works but sends the projectiles on a random reappearing act on the screen =/
I suppose what my question really is, am I using the two dimensional array for something it will never be able to handle?? and has anyone got any ideas on how to create an alternative table??
O just to note as well have created a two dimensional pointer array and that never worked either =/


