3/31/2024 0 Comments Snood game![]() ![]() i think ill refactor my ball class to implement the code you provided to see if it helps!. my code isnt great since most of my programming is self taught/trial and error, but thanks for the help. So once i get down to the if statement(my collision detection(so far)) where you see all the 20's, the 20's are the width and height of the ball texture which is a 20*20 texture. ![]() Ok, the double nested loop is each ball checking the collision against another ball, i have one list of vector2s and this is run inside of the ball class. In other words, does not contain multiple &'s or per component math. Your Collides function should look "exactly" like the one i posted. If you connect three or more identical Snoods, they will disappear. Your goal is to save all the trapped Snoods by launching other Snoods at them. The gameplay is identical to Snood you know from the 90's. Snood is a fun puzzle game that tests your intellect rather than your reflexes. I have no idea why you have that double nested loop, doesnt only one ball move at a time? You'd just need to scan the list once checking each ball against the single ball that can move.Īlso what is that large if check used for with all the +20's and stuff, what the heck is 20?įoreach (Ball b in staticBallList) Snood is one of the most popular puzzle games of all time. For (int i = 0 i BallPositions.X &īallPositions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |