Making a game for multiple resolutions

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Making a game for multiple resolutions

Post by zorg »

Cameras and viewports can be implemented a myriad of ways, it's more engine than framework territory, and iirc this was already discussed in the next version feature request thread that i can't actually find now...

Then again, here are some libs that implement cameras:
https://github.com/kikito/gamera
https://github.com/vrld/hump
https://github.com/davisdude/Brady
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
Calandriel
Prole
Posts: 39
Joined: Wed Apr 22, 2015 9:00 am

Re: Making a game for multiple resolutions

Post by Calandriel »

You can try PUSH. That's what I'm using on my current project.
Find it here:
viewtopic.php?f=5&t=80738
If violence is not solving all your problems, You're simply not using enough of it.
Twitter: https://twitter.com/Calandriell Some news about wtf I'm doing.
Tumblr:https://www.tumblr.com/blog/calandriell I use to draw some random stuff.
User avatar
Kibita
Prole
Posts: 31
Joined: Tue Dec 29, 2015 7:46 pm

Re: Making a game for multiple resolutions

Post by Kibita »

zorg wrote:Cameras and viewports can be implemented a myriad of ways, it's more engine than framework territory, and iirc this was already discussed in the next version feature request thread that i can't actually find now...

Then again, here are some libs that implement cameras:
https://github.com/kikito/gamera
https://github.com/vrld/hump
https://github.com/davisdude/Brady
I tried to use Brady but in my project I got the error: libs/brady/Camera.lua:178: attempt to call field 'setStencil' (a nil value). I tried to see if I did something to my project, but it seems to be an error from the project.
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Making a game for multiple resolutions

Post by zorg »

Kibita: I never used Brady, and i did not check the repo to see how it works, but the issue is with that in 0.10.0, [wiki]love.graphics.setStencil[/wiki] was removed/renamed; the library wasn't updated to be compatible with the current version, it seems.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
Kibita
Prole
Posts: 31
Joined: Tue Dec 29, 2015 7:46 pm

Re: Making a game for multiple resolutions

Post by Kibita »

zorg wrote:Kibita: I never used Brady, and i did not check the repo to see how it works, but the issue is with that in 0.10.0, [wiki]love.graphics.setStencil[/wiki] was removed/renamed; the library wasn't updated to be compatible with the current version, it seems.
Hmm, even for Push I got error: libs/push/push.lua:72: attempt to call method 'clear' (a nil value). Look like all of the libraries are outdated.
I wanna make a game for mobile, that's why I need a library that handle this multi resolution problem.
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests