XNA/C# Basic tile game/engine tutorial - Part 2
Loading...
4,947
Loading...
Uploader Comments (MrDeathNote1988)
see all
All Comments (13)
-
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...
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 8 months ago
@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 8 months ago
@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 7 months ago
@iiIcECreAmTruK Thanks for the sub man, glad you got it working.
MrDeathNote1988 7 months ago
Hey great vid :) hope you can help this is my first time programming, where it says "public void Loadlayer(System.IO.StreamReader.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 1 year ago
@Nametaker08 Try removing the . between StremReader and objReader. ie:
public void LoadLayer(System.IO.StreamReader objReader)
MrDeathNote1988 1 year ago