## CAMERA: scrolling and scaling

osuf oboys
Party member
Posts: 215
Joined: Sun Jan 18, 2009 8:03 pm

### Re: CAMERA: scrolling and scaling

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?
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.
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.
mike
Posts: 364
Joined: Mon Feb 04, 2008 5:24 pm

### Re: CAMERA: scrolling and scaling

Ah, right. I got confused. That demo is so damn trippy
Now posting IN STEREO (where available)
Xcmd
Party member
Posts: 211
Joined: Fri Feb 13, 2009 10:45 pm

### 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!
Neptar
Prole
Posts: 20
Joined: Mon Feb 16, 2009 3:24 am
Location: England

### 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.
Voker57
Prole
Posts: 29
Joined: Mon Nov 03, 2008 9:38 am
Location: Russia, Krasnodar
Contact:

### 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.
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

### Re: CAMERA: scrolling and scaling

This is pretty awesome!
You can cheat by pressing left in the boxclimber... Hold it, do high jumps!
Neptar
Prole
Posts: 20
Joined: Mon Feb 16, 2009 3:24 am
Location: England

### Re: CAMERA: scrolling and scaling

appleide wrote:This is pretty awesome!
You can cheat by pressing left in the boxclimber... Hold it, do high jumps!
haha, nice find.
phoku
Prole
Posts: 6
Joined: Sat Mar 14, 2009 10:35 am

### Re: CAMERA: scrolling and scaling

I'm pretty sure line 533 should have a nil instead of a mil.

Code: Select all

       function love.mouse.getY()
return camera.present:unpos(nil, camera.love.mouse.getY())
end

EDIT: Ooops. That's already fixed. Wasn't used to use a wiki as VCS. My fault.
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

### Re: CAMERA: scrolling and scaling

phoku wrote:I'm pretty sure line 533 should have a nil instead of a mil.
It doesn't make a difference, really. The global variable "mil" probably has not been set, so it evaluates to nil anyway.
I think it will be a tad slower, but it's probably not noticeable.
osuf oboys
Party member
Posts: 215
Joined: Sun Jan 18, 2009 8:03 pm