Page 2 of 2

Re: STALKER-X (Camera library)

Posted: Sun Nov 19, 2017 1:45 am
by adnzzzzZ
I forgot to document that. Set camera.draw_deadzone to true and call camera:draw() outside the attach/detach block.

Re: STALKER-X (Camera library)

Posted: Sun Dec 03, 2017 4:10 pm
by HDPLocust
Yo, here the great research about cameras behavior in a lot of 2d-games, so it can be useful for "Great Camera Combine Library" : )
https://www.gamasutra.com/blogs/ItayKer ... ollers.php

Re: STALKER-X (Camera library)

Posted: Sun Dec 03, 2017 4:29 pm
by zorg
HDPLocust wrote: Sun Dec 03, 2017 4:10 pm Yo, here the great research about cameras behavior in a lot of 2d-games, so it can be useful for "Great Camera Combine Library" : )
https://www.gamasutra.com/blogs/ItayKer ... ollers.php
I'm pretty sure he was aware of that article, since most functionality the article contains (and the itsp video doesn't really cover), adn did implement in the library.

Re: STALKER-X (Camera library)

Posted: Sat Jan 20, 2018 2:03 pm
by hasen
Is there any demo code of this in basic use? I'm trying to get it working with Tiled with STI. I'm new to Love2d anyway but liked the look of your camera for a platformer game.

Re: STALKER-X (Camera library)

Posted: Sun Jan 21, 2018 11:49 am
by ken.athomos
hasen wrote: Sat Jan 20, 2018 2:03 pm Is there any demo code of this in basic use? I'm trying to get it working with Tiled with STI. I'm new to Love2d anyway but liked the look of your camera for a platformer game.
Check the github page of the library then scroll down to Quick Start. It basically discusses how to use the library and its many camera types.

Re: STALKER-X (Camera library)

Posted: Sun Jan 21, 2018 12:01 pm
by hasen
ken.athomos wrote: Sun Jan 21, 2018 11:49 am
hasen wrote: Sat Jan 20, 2018 2:03 pm Is there any demo code of this in basic use? I'm trying to get it working with Tiled with STI. I'm new to Love2d anyway but liked the look of your camera for a platformer game.
Check the github page of the library then scroll down to Quick Start. It basically discusses how to use the library and its many camera types.
Yes I saw that, it seemed simple enough but I'm having trouble getting it to work with STI. I have another thread here about it anyway https://love2d.org/forums/viewtopic.php ... 5&p=217857

Re: STALKER-X (Camera library)

Posted: Fri Feb 16, 2018 5:00 pm
by scissors61
Hi, I like how simple it is to use this library for cool things
I have a problem though, I'm using a point n click feature that gets broken when I rotate this camera, the mouse position is not correct in its conversion to the rotated world I think.
Thanks

Re: STALKER-X (Camera library)

Posted: Fri Mar 23, 2018 5:43 am
by skeleton60
Hello,

for unknow reason shake effect does nothing when i try to call shake method, but the fade, and flash effect are running good !

anyone know why shake effect dont want to shake? (i did like the example in doc to do fade/flash and shake) so i have no idea why fade and flash are working but shake isnt :(

edited: ok i know the reason, and reason is i never read all lines in docs -_- here is the reason: "Note that if you have a target locked and you have NO_DEADZONE or a lerp of 1 set, then a screen shake won't happen since the camera will be locked tightly to the target."