XNA/C# Basic tile game/engine tutorial - Part 2

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,947
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 2, 2010

This is the second part of my tile game tutorial, I have used the map editor made in the first tutorial to create a map. Now i'm goin to show you how to make a game!! This tutorial will cover loading maps, scrolling maps and collision detection. Comment, rate, subscribe!!!!

Part1 - http://www.youtube.com/watch?v=mvie2SLwVOw
Part2 - http://www.youtube.com/watch?v=PlkeQihhZ4Q
Part3 - http://www.youtube.com/watch?v=CS5bY2RCaJ8
Part4 - http://www.youtube.com/watch?v=waSdN7jT6HU

The project along with the content can be downloaded at http://www.4shared.com/file/jjM-pMdF/TileGame.html

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (MrDeathNote1988)

  • I watched the whole tutorial and after i ran i get a system ran out of memory error at this "point tileSet.Add(bounds);" thanks for the help!

  • @iiIcECreAmTruK I assume that you mean tileSet.Add(bounds); with the word point prep-ended? That is a weird one, what limits are you using in the surrounding loop? How many objects are you populating the list with? Have you tried to step through the code in the debugger so see what's happening before it crashes?

  • @MrDeathNote1988 Thanks for the help mate dont know how the point got in there but that was the issue engines running like a charm now great tut and i thoroughly enjoy your development logs so keep them coming.btw I subbed ;)

  • @iiIcECreAmTruK Thanks for the sub man, glad you got it working.

  • Hey great vid :) hope you can help this is my first time programming, where it says "public void Loadlayer(System.IO.StreamRead­er.objReader)" on mine it has an error that says "identifier expected" at the end next to this ")" . I dont know what to do :( ??

    Thanks

    5/5

  • @Nametaker08 Try removing the . between StremReader and objReader. ie:

    public void LoadLayer(System.IO.StreamRead­er objReader)

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • This tutorial is so interesting! Too bad all I learned until now is C. Pretty confusing. Guess I'll come back to your tutorial once I'm into C#. In the meantime, thumbs up for the great work (:

  • @MrDeathNote1988 Its strange, it compiles and works but where it says "catch (Exception ex)", it says the variable ex is declared but never used?

  • @MrDeathNote1988 Oh lol yup, it compiles now :) Thanks for the quick reply.

  • @Jnj71 If you send me a pm with the exact error's you're getting i'll be glad to have a look at it for you.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more