How to increase screen size?

I’m dealing with very low resolution pixel art (6x10 player sprite), and I want to give the player a good view of the game instead of trying to squint at sprites that are only a few pixels big.

I’ve tried changing the width and height settings in game.project, but that only changes the viewport size, not how big the content is.

Is there a way to increase the size of the content on screen, or do I have to resize my sprites?

zoom with fixed projection?

1 Like

That works, but now I have another problem. How do I increase the game’s window size without also increasing collection size? I can’t seem to increase the width/height in game.project without the game’s content shrinking.

I’m not sure I understand what you mean? If you use the fixed projection and specify a zoom all of your content will be zoomed in and your able to increase the window size.

I’m currently very tired, brain is mush, and I said the wrong things. Here’s my situation:

Right now, I have the width/height in game.project set to 180x90, due to tiny sprites. If I use fixed projection and zoom, the content is at a good size regardless of window size, which is great. But by default the window is tiny, and if I try to specify a higher width/height the player starts offscreen and I need to scale the window up just to see him. If the width/height is high enough, the player stays offscreen even if I resize the window to fill my monitor. I’m not sure where the collection is rendered relative to the window, and I’m not sure if I can change that with fixed projection. I think I need a camera to focus on the player?

I think I’m going to sleep, then read the manual properly before trying this again.

1 Like

A camera would help yes. You should look into one of the existing camera solutions in the asset portal since they will allow you to zoom as well as follow a game.object or center on it.

I’d really think about making the scale bigger in the editor… Would be an easy way to solve this problem and might be easier than playing with the camera