I'm back here with a little issue about resolution. Actually i try to get the same resolution as the NES for some test.
Unfortunatly it didn't get the expected result in full screen mode. I try several things and wonder if any one got a tips for it ?
I try changing widht and height in conf.lua but no change in fullscreen (still 1920x1080).
I try this function:
Code: Select all
-- love.update function scale_size() width,height = love.graphics.getDimensions window_width,window_height = love.graphics.getDimensions() window_scale_y = window_height/256 window_scale_x = window_scale_y window_translate_x = (window_width - (window_scale_x*240))/2 scr.h = window_scale_y scr.w = window_scale_x end --love.draw() love.graphics.translate(window_translate_x,0) love.graphics.scale(window_scale_x,window_scale_y)
and the "cross" mouse move far away from the screen.
All files if it help: So if anyone got an idea