unluqy
unluqy
Explore posts from servers
CC#
Created by unluqy on 10/24/2024 in #help
level system
im pretty new to c sharp so excuse me for not being hte best technically but i was thinking of different ways to implement a level system and was confused on which to use? at first i wanted to try use an interface of ILevels as each level will have maxgems / a maxtiemr but these values will be different for each level but i cant assign variables in an interface so would i just make a class of levels? and make attributes?
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?
No description
17 replies
CC#
Created by unluqy on 10/13/2024 in #help
c#?¥ beginnee
i meed to make a gameboard for myg ame, jtll be 115x15 spaces andnim guessing imm have to make thisva rect, but how woudl i make rhe gamevkard? a 2D array or are tbere otber ways? also i wwant to make the textures for the grid (all 15c15) of them dit into the recrangel how would i do that
8 replies
CC#
Created by unluqy on 10/8/2024 in #help
c# beginner
so i noticed a few videos talking about job requirements and atuff, those that get accepted usually have a whole list of languages they know, so i guess my question id what i should be learning next / along with c#? from a fairly new beginner
109 replies
CC#
Created by unluqy on 10/6/2024 in #help
going into c#
so i realised that im not the best at frontend and even though im a beginner and am not the best programmer? i really enjoy and have a passion for c#, i guess what im getting at is, what should i do? where can i learn the ins and outs of c sharp and can i build a career off of it? im still in school if that gives any idea to how free i am during the week
45 replies
CC#
Created by unluqy on 10/3/2024 in #help
making interface button
im just having trouble somehow implementing a button, i tried watching a tutorial but he talks about so many complex thijgs such as an eventHandle clikc and later doing click?.invoke(this, eventargs) that it just didnt make sense to me... so how would you go about making a button for my homeScreen (the homeScreen is one of the screens on my interface) i sorrta can map out what to do just do not know hwo to, i guess id have to make a button class with a texture,position and rect along with draw and load methods but i tried this and couldnt pass down the contentmanager to load the textures eyc, i also tried passing it down in my screenManager but then i had to make whole new instances of the object in my methods and it would never be able to load the textures it needed to draw them out, so nothing would be output onto the screen e.g public Load(){ texture = content.Load<Texture2D>(texture ong) Button MainMenu = new Button (texture) mainMenu.Load(texture) } public Draw(){ Button MainMenu = new Button () mainMenu.Draw() } (the code isnt perfect i just handtyped it on phone and sorry if everything is a bit vague)
4 replies
CC#
Created by unluqy on 9/30/2024 in #help
OOP guidance (for myself)
I'm having a real tough time grasping OOP for a project in school using Monogame, like I can't quite figure out how to reference variables / sprites and such from other classes, maybe i'm just being silly but I was looking for any in depth OOP guides, tips or even talks from people
194 replies