@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.
@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.
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.
@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?
@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.Content; " 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..
for a reason my character cant move up or down....
HamsterLoad 2 months ago
How did you learn this, did you just come up with it or did you have someone teach you?
restdown17 3 months ago
@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.
MrDeathNote1988 3 months ago
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 7 months ago
@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.
MrDeathNote1988 7 months ago
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 1 year ago
@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 1 year ago
@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 ;)
noble5743 1 year ago
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 1 year ago
@NamishuHatake Glad you got it working.
MrDeathNote1988 1 year ago
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 1 year ago
@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.
NamishuHatake 1 year ago
Comment removed
NamishuHatake 1 year ago
sucks that it doesn't work with XNA 4.. :[ 1 day tried to fix it.. no succes ;(
NamishuHatake 1 year ago
@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 1 year ago
@MrDeathNote1988 Would love it!
NamishuHatake 1 year ago
@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.Content; " 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 9 months ago
@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.
MrDeathNote1988 9 months ago
Comment removed
NamishuHatake 1 year ago