Ulydev, thanks for a neat lib.
I see, it is unfinished yet
Anyway it has saved a lot of my time.
I had a bug that the push shifts my images either horizontally or vertically
after the switch to the full screen mode and back.
But this thread has helped me to solve the problem.
push - a resolution-handling library
Re: push - a resolution-handling library
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
Re: push - a resolution-handling library
You're right about that, I started to notice it recently and I've fixed it in my personal builds. I'll be sure to push the fix on github when I have some timeD0NM wrote:Ulydev, thanks for a neat lib.
I see, it is unfinished yet
Anyway it has saved a lot of my time.
I had a bug that the push shifts my images either horizontally or vertically
after the switch to the full screen mode and back.
But this thread has helped me to solve the problem.
Re: push - a resolution-handling library
Would you care to tell us how? I'm finding the same issue myself.D0NM wrote:Ulydev, thanks for a neat lib.
I see, it is unfinished yet
Anyway it has saved a lot of my time.
I had a bug that the push shifts my images either horizontally or vertically
after the switch to the full screen mode and back.
But this thread has helped me to solve the problem.
Re: push - a resolution-handling library
I was calling push:switchFullscreen()Madrayken wrote: Would you care to tell us how? I'm finding the same issue myself.
w/o arguments. It should be working, but alas
Code: Select all
push:switchFullscreen(WINDOW_WIDTH, WINDOW_HEIGHT)
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
Re: push - a resolution-handling library
ok. found another bug:
It discards the display number (if u use more than one monitors).
I use 1 monitor for coding, and the 2nd one for the game window and debug.
an ugly fix is:
It discards the display number (if u use more than one monitors).
I use 1 monitor for coding, and the 2nd one for the game window and debug.
an ugly fix is:
Code: Select all
local _, _, flags = love.window.getMode( )
love.window.setMode( self._RWIDTH, self._RHEIGHT, {fullscreen = self._fullscreen, borderless = false, resizable = self._resizable, display = flags.display} )
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
Re: push - a resolution-handling library
Just opened 2 issues https://github.com/Ulydev/push/issues
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
Re: push - a resolution-handling library
Just closed 2 issues.
Thanks!
Thanks!
Re: push - a resolution-handling library
Thank you! Looking at your issues closing speed I gotta go coding fasterUlydev wrote:Just closed 2 issues.
Thanks!
now testing pixel_perfect option.
everything is fine!
Well, Some time ago I had some multi-monitor issues. I just cannot remember it clearly. It might be love2d issue as well.
On getting to the problem again I'll open an issue.
PS Would u like to increase the lib version next time, too?
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
Re: push - a resolution-handling library
Definitely yes.D0NM wrote: Well, Some time ago I had some multi-monitor issues. I just cannot remember it clearly. It might be love2d issue as well.
On getting to the problem again I'll open an issue.
PS Would u like to increase the lib version next time, too?
Re: push - a resolution-handling library
sent a pull request of the "stretched fill" mode
PS Also u use the shared code in calculateScale and initValues.
PS Also u use the shared code in calculateScale and initValues.
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
Who is online
Users browsing this forum: No registered users and 4 guests