It does not rotate with the ball but on its own (15 degrees per second I think). I should have made it clearer that it's part of the demonstration.mike wrote:That is funky effect, but the debug text (like the amount of BALLS that have been drawn seems to be subject to the rotation, which I am guessing isn't a part of the point?
CAMERA: scrolling and scaling
-
- Party member
- Posts: 215
- Joined: Sun Jan 18, 2009 8:03 pm
Re: CAMERA: scrolling and scaling
If I haven't written anything else, you may assume that my work is released under the LPC License - the LÖVE Community. See http://love2d.org/wiki/index.php?title=LPC_License.
Re: CAMERA: scrolling and scaling
Ah, right. I got confused. That demo is so damn trippy ![ROFL :rofl:](./images/smilies/ms-rofl.png)
![ROFL :rofl:](./images/smilies/ms-rofl.png)
Now posting IN STEREO (where available)
Re: CAMERA: scrolling and scaling
Honestly I emphatically and whole-heartedly vote that Camera be made a standard part of Love. This is probably the most useful library yet.
We don't borrow, we don't read, we don't rent, we don't lease, we take the minds!
Re: CAMERA: scrolling and scaling
I agree, this is brilliant. I was going to start writing my own, but found this and well it does the job great.
Re: CAMERA: scrolling and scaling
nice library, i think i'll use it in my game. BTW, your signature would make much more sense if there was a link to explanation of what LCPL actually is.
Re: CAMERA: scrolling and scaling
This is pretty awesome!
You can cheat by pressing left in the boxclimber... Hold it, do high jumps!![Ultrahappy :ultrahappy:](./images/smilies/ms-ultrahappy.png)
You can cheat by pressing left in the boxclimber... Hold it, do high jumps!
![Ultrahappy :ultrahappy:](./images/smilies/ms-ultrahappy.png)
Re: CAMERA: scrolling and scaling
haha, nice find.appleide wrote:This is pretty awesome!
You can cheat by pressing left in the boxclimber... Hold it, do high jumps!
Re: CAMERA: scrolling and scaling
I'm pretty sure line 533 should have a nil instead of a mil.
EDIT: Ooops. That's already fixed. Wasn't used to use a wiki as VCS. My fault.
Code: Select all
function love.mouse.getY()
return camera.present:unpos(nil, camera.love.mouse.getY())
end
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: CAMERA: scrolling and scaling
It doesn't make a difference, really. The global variable "mil" probably has not been set, so it evaluates to nil anyway.phoku wrote:I'm pretty sure line 533 should have a nil instead of a mil.
I think it will be a tad slower, but it's probably not noticeable.
Help us help you: attach a .love.
-
- Party member
- Posts: 215
- Joined: Sun Jan 18, 2009 8:03 pm
Re: CAMERA: scrolling and scaling
Thanks for your comments. I have uploaded the latest version to the thread.
The intention was that people would adapt the module to what they believed the community needed, rather than what I believed, and to do so with a wiki-like attitude. qubodup has been editing the information on the wiki, but so far noone but myself has edited the module itself.Wasn't used to use a wiki as VCS.
If I haven't written anything else, you may assume that my work is released under the LPC License - the LÖVE Community. See http://love2d.org/wiki/index.php?title=LPC_License.
Who is online
Users browsing this forum: No registered users and 0 guests