Added: 1 year ago
From: MrDeathNote1988
Views: 5,612
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (19)

Sign In or Sign Up now to post a comment!
  • for a reason my character cant move up or down....

  • How did you learn this, did you just come up with it or did you have someone teach you?

  • @restdown17 Nobody taught me, I was just interested in games and wanted to make them. So I made a few small games like pong and breakout and built it up from there.

  • Having a problem with the code. I inputed it, went through the code twice, but I'm gettng:

    System.DivideByZeroException was unhandled Message=Attempted to divide by zero.

    Thank you,

  • @mirtec001 Send me a pm with the details of the error, e.g. what line number and the code that it breaks on and i'll help you.

  • i noticed in your first video, you started with windows game 3.1, does it matter which i use? i only ask becuase i only have windows game 3.0.

  • @noble5743 For this tutorial you should be fine, there's not a lot of difference between 3.0 and 3.1. There may be few differences but nothing that you shouldn't be able to fix very easily.

  • @MrDeathNote1988 yea basically i think that 3.0 didn't have a method for having 2 or more arguements where 3.1 does.

    i have 3.1 now xD

    thanks for this wonderful tutorial ;)

  • I GOT IT!!! It didn't copy the map.txt to the output directory!! =D

    I had to set it in the properties of the test.txt to copy always! :P

    Thanks for everything.

    I won't remove my comments in case someone else has the same problem.

  • @NamishuHatake Glad you got it working.

  • Ok I found the problem, it couldn't get the tileWidth and tileHeight. Can't get it fixed, but when I run your project after compiling it, it just works.. this confuses me like hell because I also tried to COPY and PASTE your code... still didn't work =O I'm desperate xD

  • @NamishuHatake and again I found out why, it doesn't load the map. It can find the sileset.Width and tileset.Height, but nothing from the objReader! it mapHeight = 0, mapWith = 0, tileHeight = 0 and tileWidth = 0. So what I think is that the map that I made doesn't work.

    EDIT: Now I loaded your map and it still didn't work. I then just converted your project and then used it, it worked with your tiles and stuff, but when I added mine it didn't work anymore... the same problem again.

  • Comment removed

  • sucks that it doesn't work with XNA 4.. :[ 1 day tried to fix it.. no succes ;(

  • @NamishuHatake Hmmm that's weird. I've never tried xna 4. I'll download it, fix the project and upload a copy of the project for you to have a look at. How's that sound?

  • @MrDeathNote1988 Would love it!

  • @NamishuHatake Hey dude, im using XNA 4.0...and this tutorial works for me...although I did have to input code for example "using Microsoft.Xna.Framework.Conten­t; " Before I added that the "ContentManager" part wasn't working. There was other things I had to add although won't add onto this reply...inbox me if you would like to know..

  • @MrBerzerkPanda Thanks for the heads up man, i'm actually gonna do an update video on the changes you need to make for 4.0.

  • Comment removed

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