is an aspect of 40:23 bad? i mean i have no pixels that scale bad. fullscreen doesnt give me half pixels. so? is it bad?
I discussed this in a status update.
https://forum.yoyogames.com/index.php?members/evanski.28930/#profile-post-30603
Where my room size is 1280x736 and my fullscreen is 1920x1080
and theres no visual half-pixels or stretching and in full screen theirs no bars around the edges
Heres some code I use to switch it to fullscreen I got if from pixelated pope's video
The general question im asking is, is this okay to do or do I have a problem?
I discussed this in a status update.
https://forum.yoyogames.com/index.php?members/evanski.28930/#profile-post-30603
Where my room size is 1280x736 and my fullscreen is 1920x1080
and theres no visual half-pixels or stretching and in full screen theirs no bars around the edges
NOTE: the black is the background, the whole thing is a room not just the colored square
NOTE: the white is the background, the whole thing is a room not just the colored square
Heres some code I use to switch it to fullscreen I got if from pixelated pope's video
Code:
if keyboard_check_pressed(vk_f11)
{
if window_get_fullscreen()
{
window_set_fullscreen(false);
room_set_viewport(room,view_current,true,0,0,room_width,room_height);
room_set_view_enabled(room,true);
surface_resize(application_surface,room_width,room_height);
window_set_size(room_width,room_height);
}
else
{
window_set_fullscreen(true);
ideal_width = display_get_width();
ideal_height = display_get_height();
//chucker for odd number
if (ideal_width & 1)
{
ideal_width++;
}
room_set_viewport(room,view_current,true,0,0,ideal_width,ideal_height);
room_set_view_enabled(room,true);
surface_resize(application_surface,ideal_width,ideal_height);
window_set_size(ideal_width,ideal_height);
}
}
Last edited: