A
Adry
Guest
Hi GM community! I'm fairly new to programming but was wondering if any one could help me out a bit with this conundrum of an issue..
I have a game that is 160 x 140. However I have set the window size to (380 x 340) which is a 3x magnification for the pixel art. now my question is this..
Is there any way to make my background display with the 160 x 140 resolution? Rather than being 3x magnified. Here is my code so far..
P.S the xscale / yscale if set to .5 changes the size of the bg, but the pixels remain faithfully 3x magnified so it just comes out distorted.. Any advice?
I have a game that is 160 x 140. However I have set the window size to (380 x 340) which is a 3x magnification for the pixel art. now my question is this..
Is there any way to make my background display with the 160 x 140 resolution? Rather than being 3x magnified. Here is my code so far..
GML:
/// @description Insert description here
// You can write your code in this editor
BG_Random = choose(battle_bg_c, battle_bg_c,);
var lay_id = layer_get_id("Backgrounds_1");
var back_id = layer_background_get_id(lay_id);
layer_background_xscale(back_id, 1);
layer_background_yscale(back_id, 1);
layer_background_sprite(back_id, BG_Random);