unluqy
Explore posts from serverslevel system
so in my game, each level is called a "day" there will be 5 total days and day 1 begins with a small amount of bombs and gems, each bomb loses a life toward the player, and i was thinking to just implement this with a Random function but each day also has a MaxGems and MaxBombs number so it does generate TOO many, as the days progress these numbers get higher for the bombs and the timer also is deducted at the start of each day, i want the days to have the same class since they have the same attributes but each day will have a different value for each attribute? if that makes sense?
7 replies
Where did I go wrong in making a loop of this 2D array?
the outside x is to reset for every row so that they start at the same x position so they can display under each other and the y accesses the i value so if it was the 2nd row itd multiply 61 (the height of a tile) by 2 to put it in the 2nd row if that makes any more sense
17 replies
Where did I go wrong in making a loop of this 2D array?
im sorry i dont quite understand, my code isnt meant to access the items if that clears anything up, its just a placeholder, a 15x15 array which i can iterate through to display the gameboard
17 replies
c#?¥ beginnee
i need to draw a gameboard for my game, it is supposed to be 15x15 and i was guessing i have to make it using a rectangle to display on the screen, but wan wondering if a 2d array would be better and i could just iterate through the loop to assign the tile texture to each space, but then how would i make the array display where i want and have the tiles fill up the area iwant e.g i want it to fill up the middle of the screen
8 replies