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
Rick van Leeuwen
NA
37
14.4k
Vector at bottom right of screen (error)
Oct 19 2011 11:18 AM
Hello,
im trying to get a picture in XNA at the bottom right edge of my screen.
i managed to get the game full screen.
my screen is 1920 by 1080, so i entered this code:
protected override void Initialize()
{
// TODO: Add your initialization logic here
bat1Position = new Vector2(0, 0);
bat2Position = new Vector2(1920-bat2.Width, 1080-bat2.Height);
this.IsMouseVisible = true;
base.Initialize();
}
but i get this error: (i get the same error whatever i insert after the ","
can anyone help?
Thanks
Rick
Reply
Answers (
11
)
Load XML file from XNA
Simple highscore