Sign in to follow this  

XNA - Read arrays from file

Recommended Posts

Hello, i'm working on a simple 2D rpg game, and i've been trying to make so instead of creating an array in a class, i can just load it from a textfile in my "Contents" folder. Something that would be good, is if i could add a switch to generate the textures, for instance:


case 'G':




or something simular?:)


Also, if i could add collision, for example a rock?


Thanks in advance :3

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this