O
oziphantom
Guest
What I want:
A window that is 960x600 or 1280x800 etc but the game world is 320x200
so I make a room, and I set settings to be 320x200 and I enable views and view 0 and visible when room starts and I set the view to be
0,0 320,200
and I set the port to be
0,0 320,200
This is to get a simple no zoom case working.
I get this
for reference the brown area should be 48x40 and the little guy is about 20 pixels high.
I've disabled interpolation in global settings.
and I have my start up code as such
where hero is the object that shows the guys sprite. and Tileset is a tilset background object.
I have also tried explicitly setting the view to be
no change.
What am I missing?
A window that is 960x600 or 1280x800 etc but the game world is 320x200
so I make a room, and I set settings to be 320x200 and I enable views and view 0 and visible when room starts and I set the view to be
0,0 320,200
and I set the port to be
0,0 320,200
This is to get a simple no zoom case working.
I get this
for reference the brown area should be 48x40 and the little guy is about 20 pixels high.
I've disabled interpolation in global settings.
and I have my start up code as such
GML:
global.rm = room_add();
room_assign(room0, global.rm);
room_tile_add(global.rm, tileset, 0, 0, 48, 40, 0, 0, 10000);
room_instance_add(global.rm, 0,0,hero);
room_goto(global.rm);
I have also tried explicitly setting the view to be
GML:
view_visible[0] = true;
view_enabled = true;
view_hview[0] = 200;
view_wview[0] = 320;
view_hport[0] = 200;
view_wport[0] = 320;
What am I missing?