-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera operator #31
Comments
camera method sets offset for all drawing operations in pico8 and you can use map api in TIC to make smooth scrolling |
Thank you, it worked, I tried to use additional parameters in MAP method. |
great :) |
camera could be useful when you need to shake the full screen, both background and player/enemy sprites I mean. But I'm not sure if it fit well with the current API. What happen at the map borders? |
@effer you're right it could be useful for screen shaking and it will fit current API without problems I think. |
new task: |
I'll do, but have the map editor fit exactly one screen for section was so cute. |
I have an idea about CAMERA function, what if we'll shake entire screen buffer, it will save us from the 'map border' problem. Also it will be better for performance (we don't need to calculate offset on every draw operation) |
So is how I thought you'd done. You could also zoom in/out. But that will be a little too much.. is't it? |
zooming is a bit much I think :) |
Totally agree. |
created new issue #33 |
Maybe implemented camera operator for a smooth scrolling like as PICO-8?. If the camera operator is not specified in the user program(script), use the only map operator for backward compatibility.
The text was updated successfully, but these errors were encountered: