Like this:

95 Responses to “Platformer Tutorial Series”

Just finished watching the 2nd and 3rd tutorial videos! They’re really great, thanks for making them! I can’t wait for the next tutorial video about Collisions & The Editor! Any idea when it will be available?

Well,that’s really better than a bunch of books and tutorials I’ve read.So easy to understand,and I had severe times trying to code a jump.Now it’s a piece of cake and really cool code.

The only thing that bugged me is that you used strings to express the player stat (e.g running right or left,standing…),which is so painful when you miss a letter or use a capital letter instead of small,and XNA won’t catch the error if occurred.I suggest you use ‘enumerations’ instead.Same effect but taking the advantage of IntelliSense.Here’s an example(I bet you already know):

enum lucasStat
{
MovingRight,
MovingLeft,
Standing
}

lucasStat currentStat = lucasStat.Standing;

Other than that neglectable bug,this is really one of the best resources for any one interested in XNA.
Sorry for the long post,can’t wait to see a map editor tutorial or something ;).

Thanks for the complement, Dr. Saiko. TBH I have never used enums, but I am aware of their existence. Your idea is easy to implement and could prevent future errors. When I make the next tutorial, I’ll keep it under consideration.

I’m working on it today, actually. It’s going to take a while, since I’m covering a lot of complicated material. I might split it up into two segments. For now though, I need to reupload the video files.

I’m dealing with a lot right now, to have any free time to do a tutorial at all. The code has been done for weeks, all that I need to do is make a vid. But because of school’s approach I’ve had to focus on reading four books and writing a 4-11 page essay, not to mention worrying about getting a portfolio together for college. So really much to my regret I haven’t had any time to sit down and program;and I don’t think I’ll have time once school begins, because I have 6 total AP courses to deal with. What you should do now, if you have been following these incredibly boring videos, is to try and do it yourself.

Well done on the tutorials just finished watching them and i like the way you do some stuff. I especially like the last tutorial where you had an error (I knew it was the draw :P) and even though you didn’t plan it you taught newbies how to problem solves and use break points in their own code. Well done. I am currently using mine for the 360 so the controls are a bit dodgy on mine xD. Looking forward to your next tutorial.

I understand that you are pretty busy with school and whatnot. I was just wondering if you would be able to post the code for collision handling. One of the best ways to learn how to program is to read code. If you could do that so that we could download the source code that would be very much appreciated.

I don’t know if you got the last post I made but it looks like you might have deleted it. I liked the tutorials you did they were very helpful. However, I think the one I wanted the most was collision handling because it is such a big part of how games work. I was wondering if you could send the source code via email, because I understand you are very busy right now, but it gives me something to learn. They say that one of the best things you can do is read code to learn concepts and what not. If you could email me it I would appreciate it.

I´ve just ended watching your videos. They were really great stuff. I think you have a very simple way to explain and do things. I wish in the future you could cover map saving and loading, adding tile layers and collision detection

Congratulations on your tutorials!!
i’ve alrady followed all of them & I know u’ve been busy lately.
i’m trying to make collisions myself but failed on it, now i dont even kno where to start. cud u pleas at least point me in the right direction? thanks!

The premium thing is because of rapidshare it happens at busier times in which you have to have a premium account or keep retrying every 2 minutes. Nothing you can do about it except upload somewher eelse.

Sorry, I have been considering resurrecting the XNA tutorial series after finals but unfortunately not the VB one. If I remember correctly, rectangular collision in VB has a lot to do with if-then statements and .Bounds.IntersectsWith(.Bounds), if that helps at all.

Was just wanting to say that your tutorials are amazing and youv done a great job with it. Its helped me learn c# and give me a good start to making my platform game as a college project. Cant wait for the Collision tutorial and i hope its up before my project deadline =p
Again, Thanks.

thank you for the new code. this language is taking me a little longer to learn for some reason. i learned c++, java, flash, basic, and dark basic petty quick. maybe i’ll pick it up soon but until then i thank you for these tutorials.

BIG UPS on the tutorials mate. Have learned so much from you, am waiting for new videos so i can keep learning more. Am confused a little about the character jumping in relation to later adding proper physics? does the same code apply, or will we have to rewrite the jumping code for collision and gravity?

I’m looking into implementing collisions now and tutorial 3 now, Gotta make it work with my code.

I didn’t like the jump function so I coded my own, it needs some cleanup but you might find it useful. It’s a modified tutorial 2 with “mario” jump behavior.

That means you won’t jump if you hold the jump key after a jump, you will double or triple jump if you press jump on time just before landing and you can do short or long jumps depending on how long you hold the jump key.

Definitely very helpful! Ive just finished the first tutorial but it worked out great so far and I’m excited to do the rest. Ive read a lot of other tutorial’s and read an XNA book but now that I am ready to make my own full game, this seems like the best place to start. I knows it been 2 years but it would be great to see more tutorials.