Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
11
Reply
Vector at bottom right of screen (error)
Rick van Leeuwen
Oct 19 2011 11:18 AM
1.5k
Reply
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
11
)
Next Recommended Forum
Load XML file from XNA
Simple highscore