XNA Puzzle Game - Part 7 of 7
Uploader Comments (dhoyt2010)
All Comments (14)
-
@Bojex Great, glad that you can make it work on Xbox. I never tried it myself, I've only developed games on Windows. You can just refer to me as "Duane Hoyt", thanks.
-
@dhoyt2010 Hi, thanks for the answer. Well yeah that can be done, what i did instead was using the First Method that worked exactly the same and got the same result. The game is now working perfectly on Xbox, i will upload the video later. Can i know your full name so we can put you in our thesis acknowledgement ?
-
@Bojex Mainly the Find() method is just searching for an item by a lambda express so for example "p => p.Y == block.Y" is returning a block where the Y property matches. You can easily replace it with another nested foreach loop if you can't use the Find() method.
-
Hello there.
Well what @javikuz didn't say was that he and myself are writing a tetris-clon in XNA 4.0 for Xbox 360 and we started with your code here, so we really appreciate the tutorial. It's really excellent, we will give you the credit you deserve when everything it's finished.
Something i wanted to mention was that for Xbox the Find method of list is not supported. You can find it in the first foreach inside DropBlocks. I wanted to ask you if you know of an alternative for using this?
-
@javikuz Thank you very much for checking out XNA 4.0 :D. I would expect that most of the functionality would be the same. In my next tutorial on Matrices I would like to demonstrate using 4.0.
-
Hey the tutorial was excellent and i really learned a lot from it, really appreciate it. This tutorial works just fine with XNA 4.0 if anyone is wondering, only two issues.
1. You will have to make your own cube for the tutorial, maybe use photoshop, or even paint, im not really sure but i did not have the option to make a bitmap in XNA.
2. In the CheckDrop method when you define the bottomBlock you have to use descending instead of ascending.
The rest of the code is 100% solid for XNA 4.0.
Amazing tutorial but i'm stuck on making different rotations for different shapes. I have a line shape and the T shape make but i can't figure out how to make them rotate right. Any help would be great :) thanks in advance
SuperJTutorials 1 month ago
@SuperJTutorials In the HandleInput() method contains functionality that you can modify for the rotation that would get stored in the list of Rectangles. To create a new rotation would be to adjust the x and y coordinates of the Rectangle objects that gets stored in the "_currentShape" variable.
dhoyt2010 1 month ago
Well the comment got too long. I will continue here.
Because the method is not supported the game cannot run. I'm doing a little bit of research but without luck so far.
Hope someone can have an answer for this.
Thanks for the tutorial.
Bojex 11 months ago
@Bojex I appreciate the comments. There are many approaches to getting the same result. In the case of .NET you have many options. I'm just showing only one approach to a particular algorithm and figure you would find an alternative :).
dhoyt2010 11 months ago