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
Making a game for multiple resolutions
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Making a game for multiple resolutions
Me and my stuff True 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.
- Calandriel
- Prole
- Posts: 39
- Joined: Wed Apr 22, 2015 9:00 am
Re: Making a game for multiple resolutions
You can try PUSH. That's what I'm using on my current project.
Find it here:
viewtopic.php?f=5&t=80738
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.
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.
Re: Making a game for multiple resolutions
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.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
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Making a game for multiple resolutions
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 True 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.
Re: Making a game for multiple resolutions
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.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.
I wanna make a game for mobile, that's why I need a library that handle this multi resolution problem.
Who is online
Users browsing this forum: Google [Bot] and 7 guests