unluqy
unluqy
Explore posts from servers
CC#
Created by unluqy on 10/24/2024 in #help
level system
ohh okay thanks so much (:
7 replies
CC#
Created by unluqy on 10/24/2024 in #help
level 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
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
also sorry, forgot to mention but the beforehand screenshot, i had the width and height as 80 but swapped it later to 70 and 60
17 replies
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
i hope that cleared some stuff up, if not just lmk and ill try my best
17 replies
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
the + 100 is just to set a gap from the top of the screen
17 replies
CC#
Created by unluqy on 10/22/2024 in #help
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
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
No description
17 replies
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
No description
17 replies
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
71 and 61 is to leave a little gap between the tiles, its just for aesthetic preference but ill show the difference
17 replies
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
for each j (tile in each row) it adds 81 to the x value (81 is the width of 1 tile) so i jkust incremented it like that
17 replies
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
in other words, theres no actual content in the array if that helps?
17 replies
CC#
Created by unluqy on 10/22/2024 in #help
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
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
No description
17 replies
CC#
Created by unluqy on 10/22/2024 in #help
Where did I go wrong in making a loop of this 2D array?
This is the correct version ^
17 replies
CC#
Created by unluqy on 10/13/2024 in #help
c#?¥ beginnee
monogame
8 replies
CC#
Created by unluqy on 10/13/2024 in #help
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
CC#
Created by unluqy on 10/13/2024 in #help
c#?¥ beginnee
sorry i wrote that at 6 am when i woke up and immediately fell back asleep
8 replies
CC#
Created by unluqy on 10/8/2024 in #help
c# beginner
also anotehr questrion., relating the array / gamebaord i wanna make, how would i make it so the 2d array fitsi nside the rectangle i want to display on screen / fills all 15x15 gaps
109 replies
CC#
Created by unluqy on 10/8/2024 in #help
c# beginner
oh! i didnt realise it was just for WPF, i sorta just googled grid c# msdn and clicked on the first thing, thats my bad sorry
109 replies
CC#
Created by unluqy on 10/8/2024 in #help
c# beginner
yeah the grid class, sorry it was unclear
109 replies