marine2oorah4u
marine2oorah4u
CC#
Created by marine2oorah4u on 11/21/2024 in #help
working on trying my luck at joining my 1st dev team (wish me luck)
So the next couple weeks, I'm going to be trying my luck at joining this super small development team for a game that I've played for a while that's not been doing so well. Ive come quite far from a year or so ago, but the hard work isn't done yet. but I'll be focusing on that for the next couple of weeks. Wish me luck πŸ™‚ But I guess the point of this thread is... I wanted to share this. https://docs.google.com/document/d/17kbIdjcOdm_DBjOjEcfKMypDFRiEjeWEE_eG0F9TieU/edit?usp=sharing What I'm going to be doing on this is: basically re-reviewing all of my knowledge. Ive got a playlist that Ill be going over and using that i saw, or thisΒ  https://www.youtube.com/playlist?list=PLZPZq0r_RZOPNy28FDBys3GVP2LiaIyP_ But in the document, I wanted to be able to show them and say that... - This is subject XYZ. - This is whats going on. and/or - This is what I think is going on. - This is how it's used or done. and/or - Here is an example or two of it being used. I was going to throw in an example of said thing being used in Monogame vs. the base C# field (VS), but from what people are saying, it's not really much different, so it's probably not worth it. But what I think would be awesome from any of you is either: idk if any of you guys would have either additional things from what I would have added, either that I would have added at that time, or even in general, things that you think I should know or try to learn... All I know is that they probably won't do a software engineer-level type of test out, and it'll most likely be simple or basic programming, but I'm afraid that the person who will be testing me out will throw a bunch of curveball questions at me that I wouldn't know, and I just want to make sure I'm 110% prepared to be able to pass this on my first goal. My goal is to be able to pass before Christmas. There's no way I'm making this a 4 5 6+ month long ordeal, mainly because I already know a decent amount of C#, so it's just a matter of me polishing up my knowledge, learning or going over the remaining stuff, and preparing to try and knock this test out the BallPark :p What I do think would be awesome I think it would be super awesome to be able to throw in some extra stuff... stuff that say maybe they either wouldn't plan on testing me out in, or just unexpected knowledge or subjects, such as a complete understanding of binary (bits/bytes) based code (?), super simple barebone level shader work, or whatever other C# knowledge that isn't as common, or just things that I could catch them off guard from me knowing about. Now that would be something super cool to be able to pull off. But despite that, I think, if proper, that it would still be nice to know it (whatever you guys suggest), being that it would still be C# knowledge. And yeah, that's basically where I am at the moment. I would really love any feedback, whether that be comments or feedback on the Google Doc or here even. I'm going to need all the luck I can get, and then some if I plan on doing this in my monthly goal.
1 replies
CC#
Created by marine2oorah4u on 10/16/2024 in #help
can u help me make the mouse not move the slider when colliding with the slide bar?
https://paste.mod.gg/ypaygrlzizyf/0 full class otherwise the method i added is i think the only one in my class for controlling the slider...should be anyways im trying to make it where if you originally click on the arrow buttons to move the slider up or down, the biggst issue im having is that if you move the mouse cursor outside of the button, and the mouse touches the slider, thrn it starts to move it unintentionally, vs when you click on it specifically idk if its possible or if it can be done, or what i need to do
1 replies
CC#
Created by marine2oorah4u on 7/20/2024 in #help
how do i make a loop or array to choose between different color[]? (csharp)
im new to c# so i dont know a whole lot, but im trying to do something with my version of snake. So what i want to try to do is, essentially i want to add in a way to choose between different color combinations for the tail, i.e: like the different colors of different irl snakes as a cool little feature this is my code that i added to the post for the game. this is the code for the color of the snake tail currently
tailColorList = new Color[] {Color.Red, Color.Black };
tailColorList = new Color[] {Color.Red, Color.Black };
nothing special lol this is the draw code for the snake
int colorOn = 0;
for (int i = 0; i < snake.TailLength; ++i)
{
spriteBatch.Draw(texture, new Rectangle(snake.Tail[i].X * cellSize, snake.Tail[i].Y * cellSize + worldScreenTopY, cellSize, cellSize), tailColorList[colorOn]);

if (++colorOn >= tailColorList.Length)
{
colorOn = 0;
}
}
int colorOn = 0;
for (int i = 0; i < snake.TailLength; ++i)
{
spriteBatch.Draw(texture, new Rectangle(snake.Tail[i].X * cellSize, snake.Tail[i].Y * cellSize + worldScreenTopY, cellSize, cellSize), tailColorList[colorOn]);

if (++colorOn >= tailColorList.Length)
{
colorOn = 0;
}
}
i have a gamestate that i was starting to work on that i would have the skin selector active, in which you could swap through and choose different color combinations to use. basically, how would i go about adding support for this, or what code would i do to do so? I imagine that it would involve either a Color[] array of each combination of colors, maybe an array for the picker? otherwise i dont really know what i would do. Again im still learning, so my code probably isn't the best, or my thinking/logic is post likely wrong, via how i would have to do this. But if youre able to help, then that would be super helpful. let me know πŸ™‚
11 replies
CC#
Created by marine2oorah4u on 5/20/2023 in #help
❔ looking to find smneto help me understand offsets via Rects/collission (also help w c# in general)
hello so im looking for some help, to help me with learning offsets for a rect via collission someone that i know has been helping me here n there when he has time, and we started off by me learning how to make pong in c# via monogame. Keep in m,ind i have 0 coding background, and allthough i suck at math...this has been super fun so far...at least as long as im able to understand everything going on haha... Im eager to be able to start actually doing some cool stuff with pong and possibly use that to create other arcade style games...its just sometimes i just wanna rip my hair out...as bad as that sounds only being pong..but its something im super eager about learning, its just super frustrating at times though
56 replies
CC#
Created by marine2oorah4u on 1/8/2023 in #help
❔ need help with a small project
anyone able to help me with a small project or help show/teach me how to do something? so this game im trying to learn c# to help with in game they use a blured out clip as the background . this.backGroundVideoPlayer = new VideoPlayer(); videoContent = new ContentManager(Services.Instance) { RootDirectory = @"Content" + "Video" }; backGroundVideo = videoContent.Load<Video>("tm"); i think this is what is used i helped to get a bunch of new clips but i was told that i need to do this . "You have to make a class, set up an event for the video end, make a transition for the video end, handle the video going out of memory because for some reason it does, then you do the random videos which you need to either make with a post fix of 123ect or put the videos in it's own dir and grab all of them in an array but idk if monogame supports that. Then you have to generate seed for the rand function that you have to keep that seed in memory so it is truly random. Then you can finally go into the main screen and attempt to use what you have made and most likely have to debug and fix bug for the next 8 hours."
2 replies