Hi!
I'm just getting back into Blitz after surviving my first and second years of university, including the University Semester from Hell (which I've just survived)... Anyway, it appears that I've forgotten most of what I had learned before I took my break from Blitz, and that includes how to make arrays of types.
So, say I want 100 enemies, all with their own X and Y variables. I'd create a type:
...but then how would I make an array that uses the type? I want to be able to call it like this:
Is this possible? If so, how can you do this?
I'm just getting back into Blitz after surviving my first and second years of university, including the University Semester from Hell (which I've just survived)... Anyway, it appears that I've forgotten most of what I had learned before I took my break from Blitz, and that includes how to make arrays of types.
So, say I want 100 enemies, all with their own X and Y variables. I'd create a type:
Type TYPE_Enemy Field X_Pos Field Y_Pos End Type
...but then how would I make an array that uses the type? I want to be able to call it like this:
Enemy(35)\X_Pos = 20 Enemy(27)\Y_Pos = 250
Is this possible? If so, how can you do this?