TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jean H
NA
7
4.7k
Need help with text file import in C# xna
Feb 7 2011 6:14 AM
hi,
I have 5 sprites with same spritesheat. The position of each sprite on the frame must be determined by a text file i have to read into my program using StreamReader. The text file is as follows:
0,-160
160,-300
320,-250
480,-320
640,-200
This is each the x and y position where the image must start to move from. Can someone help me how to read the text into my program and use it as the x and y off each sprite? please
Reply
Answers (
3
)
Creating and Managing game objects?
Adding Gravity to Drawings