STANNcam v2.2.4
Important changes
-
smooth_zoom and smooth_draw has been combined, there is now only smooth_draw
it is enabled by default and most people probably want that anyway so shouldn't anything for most people -
get_zoom_x() and get_zoom_y() has been added to get the .zoom_amount value from a cam. It's split in two because when smooth_draw is off, the values are different in each axis to maintain pixel perfection. If you exclusively have smooth_draw turned on however it's the same result if you still just use .zoom_amount
Example room changes
- made several minor tweaks to example rooms. You can toggle smooth_draw on off in room 1 with "B"
- Added a third test room, which features a pixel grid you can zoom in out, and move around with arrow keys. To check it's in order. Mainly for development.
Several bug fixes. Including
- some optimization of how drawing is handled when smooth_draw it turned off
#21 - made changes to the internal scaling code. think it solves
#18 - before you had to have an "instance" layer now it just adds stanncam using instance_create_depth.
- using move and zoom with a duration of 0 will enact the effects instantly (there was a 1 frame delay before, so you couldn't get_x on the same frame)
- zoom now has a default duration of 0 (it was missing by mistake)