简体   繁体   中英

XNA game resolution higher than pc resolution - Does it cause problems?

When developing a xna game for pc, one problem is that people use different resolutions.

But what happens when the target pc has a lower resolution than the game? Do I have to use vector graphics?

The only way to use a lower resolution is by making the view port smaller, but I don't want to do that. I tested setting the resolution to ultra hd but it stays on full hd on my full hd screen. Is full hd just the maximum of xna or does the game automatically use the screens resolution when it's lower?

The game runs on fullscreen.

A common solution to this problem is to always render one's game to a set resolution and then scale the entire screen image to fit. Examples of how to do this can be found at XNA resize window without increasing resolution

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM