Platformer Tutorial Series
#1 – Basic movement and Set-Up
Download (includes finished project, video, resources):
#2 – Jumping
Download (includes finished project, video, reference):
#3 – Character Class
Download (includes finished project, video):
#4 – Basic Map Editor
Download (includes finished project, video, resources):
XNA – Video, Project and Resources (~1:15 minutes long)
#5 – Collision Part 1 – Landing on platforms (code only for now)
*Note: I’ll try to make a video tutorial as soon as I get back from vacation. This is just to tide people over until then. 😛
Hi,
Thanks a lot for adding us on your blogroll.
Warm Regards,
Abhinav
zatungames said this on April 17, 2009 at 5:17 am |
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?
Matt said this on May 3, 2009 at 3:59 pm |
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 ;).
Dr.Saiko said this on May 6, 2009 at 11:15 pm |
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.
fatso784 said this on May 8, 2009 at 1:42 pm |
The Links for Video 1 and 2 are sending me to the filefront homepage anyone else having same problem?
SirNoob said this on May 15, 2009 at 11:15 am |
Thanks for bringing this to my attention.
fatso784 said this on May 16, 2009 at 2:25 am |
Hi, is there any news on the next video tutorial in this series?
Matt said this on May 16, 2009 at 11:00 am |
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.
fatso784 said this on May 16, 2009 at 1:43 pm |
Yahooo! I’m so exited to see the next tutorial.I really hope it’s about an editor or a 2D Camera that follows the player(though I believe it will be collision >_>..I’m good thought :)).
Dr.Saiko said this on May 16, 2009 at 8:20 pm |
Any news on the 4th video? 😡
Artemis said this on May 30, 2009 at 7:28 pm |
Sorry about that.
fatso784 said this on June 9, 2009 at 3:42 am |
Excellent series.
Can’t wait for the next installment.
sr83 said this on June 6, 2009 at 12:09 am |
LOL..it wasn’t about collision after all.This came in the right time for me (was watching Nick Gravelyn’s tile editor series right now,great stuff).
Thanks.DLing now.
Dr.Saiko said this on June 11, 2009 at 1:05 am |
Are you planning on making a tutorial about collision?
Durn said this on July 6, 2009 at 3:51 pm |
Yes. I’m having trouble with bugs right now, but I’m working on it.
fatso784 said this on July 6, 2009 at 5:46 pm |
Any eta on the 5th video on collision?
Strom said this on August 17, 2009 at 5:39 pm |
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.
fatso784 said this on August 22, 2009 at 10:36 pm |
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.
Dominic said this on August 31, 2009 at 6:21 pm |
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.
Darin Stromberg said this on September 24, 2009 at 2:22 pm |
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.
Slim said this on September 24, 2009 at 10:56 pm |
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
Thx for the great tut!
PressStart said this on November 15, 2009 at 7:21 pm |
Thanks! 😀
fatso784 said this on November 16, 2009 at 12:13 am |
Nice to see your still alive fatso. You still planning/making these? I have tried collision detections myself several times and can’t seem to work it out for this type of game.
Cheers bro good luck.
Dominic said this on November 16, 2009 at 11:09 am |
Collision Detection and XML anytime soon?
Your other videos were awesome… please continue
Skull said this on November 18, 2009 at 11:58 pm |
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!
Luis said this on November 29, 2009 at 5:11 pm |
I appreciate your work. The tutorials have actually helped a lot. Have a good day!
Appreciation said this on December 4, 2009 at 8:11 am |
Hey, the files are no longer downloadable, you plan to upload them somewhere else?
gebloner said this on December 8, 2009 at 6:51 pm |
Uhhm thanks for telling me, RapidShare changed their policy. But it’s only the second VB file that’s missing. I’ll hv it up in a few.
fatso784 said this on December 8, 2009 at 9:59 pm |
well, they’re there per se, but you can’t access them without a premium account. is that intentional?
gebloner said this on December 8, 2009 at 10:01 pm
I checked on another computer and I don’t see a problem with the links. But if anyone else has issues about premium accounts or something, just tell me so I can get that fixed.
fatso784 said this on December 13, 2009 at 6:33 pm |
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.
Dominic said this on December 13, 2009 at 6:44 pm
Thank you alot!
Will you be making a tutorial about collision and gravity and stuff?
Thanks!:)
Aydo said this on December 12, 2009 at 12:08 pm |
Will you end this (though I can see it being a long time til that happens) by wrapping it all up in OOP programming by moving parts of what is written into different codes?
I know OOP but I am not particularly good at it.
Good stuff though, nothing too particularly new from other tutorials I’ve seen but pretty clear. Sort of wish you left some mistakes in there and shown us what happens but its not really necessary.
pothb said this on December 27, 2009 at 6:00 am |
Could u upload the c# videos to anothore site rapidshare wont let me download them =(
Ravo said this on January 10, 2010 at 4:29 pm |
Could you upload the c# videos to another site? (rapidshare wont let me download them because the server ran out of room) =(
Eric said this on January 11, 2010 at 8:33 pm |
I’m uploading to MegaUpload now.
fatso784 said this on January 11, 2010 at 9:41 pm |
Thanks, part 1 and 2 helped me out alot now im going fore part 3 and 4 =)
Ravi said this on January 12, 2010 at 5:22 pm |
Fatso, are you going to continue the platformer tutorial series? I can’t find good tutorials on a tile system/collision. (for VB)
Please continue! You really helped me alot!
Aydo said this on January 12, 2010 at 5:59 pm |
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.
fatso784 said this on January 19, 2010 at 6:29 pm |
but i cant downlowd the files freely.
saeed said this on January 21, 2010 at 6:34 pm |
i keep get error from rapid share.
saeed said this on January 21, 2010 at 6:38 pm |
i can only download from the mirror for file 1 and when trying to extract the video i get a 0x80004005. Ive re downloaded and tried multiple extractors. Dunno whats going on with file 1
rob said this on February 20, 2010 at 4:58 pm |
Extracting with 7-zip worked with me. It’ll still give an error, but the video is fine.
Dominic said this on March 8, 2010 at 4:53 am |
These tutorials were pro. Thanks a bunch!
Zack said this on March 12, 2010 at 12:34 am |
thanks!
fatso784 said this on March 12, 2010 at 7:52 pm |
THANKS alot 😀
Nicolas said this on March 17, 2010 at 6:01 am |
I can’t tell you how much this videos are helping me, I’m just starting with XNA (I know C# quite well).
I hope you can continue this and I’ll be visiting this blog to read everything else you upload (tutorial or not)
Thanks again
Seth said this on March 17, 2010 at 6:26 am |
thanks! 🙂
fatso784 said this on March 21, 2010 at 2:54 pm |
I like your tutorial you explain things real well i wish you can come with some more tutorials ….hit me up so i can ask some questions
Byron said this on March 19, 2010 at 4:55 am |
i’m very new to c#. i started some months ago but i love your tutorials. i understand your explanation also as a “bloody beginner” and with a little english knowledge (reason for my bad english)
so thanks for this tutorials, they are realy helpfull, i just wanted to say this =)
greetings from austria
Dominik said this on March 19, 2010 at 7:17 pm |
Haha thanks, greetings from the U.S. I’m glad I could help!
fatso784 said this on March 21, 2010 at 2:56 pm |
is this video meant to have sound?
Nathan said this on March 21, 2010 at 7:45 am |
uh yeah haha. maybe you don’t have the right codec installed. i suggest using AVICodec or some other tool to identify if this is the problem.
fatso784 said this on March 21, 2010 at 2:54 pm |
Hi,
I just wanted to thank you for your work.
Regards.
Aidin said this on March 27, 2010 at 5:44 pm |
Hey,
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.
regards.
Jeebo said this on April 8, 2010 at 4:16 pm |
Hi,
I really liked your tutorials!
When are the collision tutorial coming? 🙂
David said this on April 25, 2010 at 6:07 pm |
thanks for the tutorials.
i learned a lot, looking forward to your next tutorial.
I’m not trying to be a pest but do you have an ETA for your next tutorial.
Ryan said this on May 12, 2010 at 4:23 pm |
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.
Ryan said this on May 21, 2010 at 9:59 pm |
When is the next tutorial coming? I`m thirsting for XNA! (BTW, great tutorials :D.)
Zach K. said this on May 23, 2010 at 4:23 am |
Thnx soooo much the collision code, cant wait for the tutorial!!!
Rob said this on May 29, 2010 at 10:23 am |
Awesome… I still havne’t really looked a tthis tutorial yet, as I’ve started on others… and trying to get through them and understanding. But it’s nice to see this not being abandoned.
pothb said this on June 24, 2010 at 10:37 am |
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?
thanks heaps mate 😀
storm1822 said this on July 1, 2010 at 7:16 am |
Awesome tutorials man! I can’t wait for the tutorial vid on the collision! 🙂
Patrick W. said this on July 13, 2010 at 4:24 am |
Hi.No more tutorials??
I learned a lot!!
Congratulations!
Great Tutorial!!
caco said this on July 20, 2010 at 7:16 pm |
These are great!
thanks alot!
will be checking in for the collision video…. hopefully you can
also make a tutorial about scrolling levels..
gs said this on September 7, 2010 at 4:56 pm |
Hi, greetings from Germany
Your tutorial is very good! I kept long looking for something like that! And I hope there will be the collision video soon 😉
carlito said this on October 21, 2010 at 1:08 pm |
Whe are we going to get the collision videos?
ray said this on October 25, 2010 at 5:38 pm |
Just a quick question for anyone in general:
If I use different sprite with say, 13 frames, it only jumps when the spacebar is held down.
Any thoughts?
Josh said this on October 26, 2010 at 12:12 am |
Hey nice tutorials
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.
http://dl.dropbox.com/u/149537/Platformer-1.rar
Now onto part 3 😀
Andres said this on December 4, 2010 at 6:59 pm |
hi, i have few edit for Map.cs
use Map.CreateData(filename,mapname,titleset) for save map
use Map.ImportMap(filename) for load map
using System.IO;
using System.Text.RegularExpressions;
NamKazt said this on December 12, 2010 at 10:24 pm |
Just found these tutorials – they’re excellent! Shame they appear to have stopped 😦
Any plans to continue or at least finish collision?
Tom said this on February 13, 2011 at 11:35 pm |
Hi, please fix the corrupt file in Basic movement and Set-Up
specifically the Video, thank you!
Note:
I use the Mediafire mirror link
Ron said this on February 14, 2011 at 1:26 am |
Very helpful tutorials! And they’re still relevant after almost two years!
Andre said this on March 7, 2011 at 5:37 pm |
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.
Brandon said this on April 13, 2011 at 7:35 am |
Wow …. just watched the first part yet and i Love your tutorial 🙂 *thumbs up* your page made it to my favs 😉
Xadjim said this on May 1, 2011 at 11:07 pm |
I just downloaded tutorial #1 – Basic movement and Set-Up
from MediaFire , During extraction i got CRC error
So plz replace it with a working copy,im trying Rapidshare now
Abaf said this on May 26, 2011 at 10:49 am |
Hey, When will we see part 2 of Collision :3
Jessy said this on May 29, 2011 at 8:21 pm |
One damn long vacation. I wish mine were a year long too.
Phyxfire said this on July 3, 2011 at 5:19 am |
I feel sad because he didn’t continue the tutorials 😦
We’d really need your help
Fr34kSh0w said this on August 7, 2011 at 7:48 am |
Shame I really wanted more. I’ll be emailing ya ;]
You’re such a great Tut maker!
Testme said this on August 25, 2011 at 4:41 pm |
Ehh.. Ive tried to extract your files, but the video is corrupt (According to winrar, (The very first tut(Got it from the mirror, ill try and get it from rapidshare and see if its the same))
rasmus said this on September 12, 2011 at 9:28 am |
Seems to be just the vid from the mirror thats corrupt 🙂 Looking forward to trying out your tut!
rasmus said this on September 12, 2011 at 9:30 am |
Thanks for the great tutorial, can’t wait for the 5th part!
grimu said this on September 21, 2011 at 4:17 pm |
These tutorial are amazing, please, don’t ever stop making them, they are simple and perfect as a base for people who know c# but not XNA. Thank you so much and I look forward to the next video.
Aleks said this on September 27, 2011 at 7:59 pm |
[…] man Fragen hat, Hilfe braucht und irgendwo nicht weiter kommt, ist das eine super Anlaufstelle. XNA RPG Development Für mich, die ultimative Platformer Tutorial Serie. Video Tutorials, die die Entstehung eines […]
XNA Tutorials » apertureless » By Jakub said this on November 1, 2011 at 4:39 pm |
pls continue your work!
lehrbua said this on February 4, 2012 at 2:13 pm |
It has now officially been two years since your last post. Why?!
z said this on February 12, 2012 at 10:36 pm |
Nice tutorials! You explain everything really well, I learned a lot from it. You should consider doing more, you’re pretty darn good at it. Anyways, thanks! 😀
Muddy said this on March 9, 2012 at 4:06 am |
Anyone else think he got kidnapped on holiday?
Stevo612 said this on March 17, 2012 at 9:12 pm |
Well I guess you betrayed us. Pretty easy for you to let it go, but we’ve been waiting with incomplete applications.
Neo0ne said this on April 11, 2012 at 7:55 am |
It’s a shame. Your tutorials were awesome. I’m learning C# with XNA and I cant tell you that your tutorials are the best I’ve found.
donelwero said this on June 6, 2012 at 7:04 am |
Anyone got mirrors for #3 & #4 links are down
Rain (@Melon__Bread) said this on September 6, 2012 at 7:17 am |
can someone email me chap 2 and 3? I’ve been trying to get into coding for a while, but its been frustrating and these have been really helping. Thanks-
Justin said this on September 23, 2012 at 7:13 pm |
the download link for the 2nd tutorial for xna is not working.
the mirror too.
jwoo2000 said this on May 18, 2013 at 4:13 am |
Hello, PLEASE PLEASE can you re-uplad the files
Watapax said this on August 16, 2013 at 4:03 am |