STALKER-X (Camera library)
Re: STALKER-X (Camera library)
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)
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
https://www.gamasutra.com/blogs/ItayKer ... ollers.php
Science and violence
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: STALKER-X (Camera library)
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.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
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: STALKER-X (Camera library)
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.
- ken.athomos
- Citizen
- Posts: 77
- Joined: Fri Aug 05, 2016 10:13 am
- Location: Philippines
Re: STALKER-X (Camera library)
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)
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=217857ken.athomos wrote: ↑Sun Jan 21, 2018 11:49 amCheck 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.
- scissors61
- Citizen
- Posts: 76
- Joined: Fri Jan 08, 2016 10:16 am
Re: STALKER-X (Camera library)
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
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
-
- Prole
- Posts: 3
- Joined: Fri Mar 23, 2018 5:32 am
Re: STALKER-X (Camera library)
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."
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."
Who is online
Users browsing this forum: No registered users and 1 guest