Quote: "Btw 6 or 10k weapons, it's just a "for" condition that meets the requirement"
On the outside but it is a lot more operations for the processor to handle and it could impact performance depending on what you're doing inside that for loop.
Quote: "
Is there some tier 2 tutorial out, so i can see the complexity?"
Not that I know of but there are examples. As for complexity, the commands themselves are the same.
agk:: Print("Hello World"); in tier 2
does the same as
Print("Hello World") in tier 1
So tier 2's complexity depends a lot on your knowledge of C++ which is safe to say, a lot more complex than Tier 1. But here's a little example of how you'd accomplish your goal in tier 2.
#include <iostream>
#include <cstdio>
class weapon {
public:
int bullets[50]; // creates an array of 50 bullets, 0-49
};
int main() {
weapon MyArray[10];
MyArray[1].bullets[1] = 1;
printf("%i", MyArray[1].bullets[1]);
printf("%s", "\n");
system("Pause");
return 0;
}
This outputs:
1
Press any key to continue . . .
NOTE: The above doesn't use any AppGameKit commands.