Open
Conversation
Owner
Author
|
another branch and pull-request into this branch could be made to try and improve the player following code as well |
… into big-overhaul-2.4
…o/STANNcam into big-overhaul-2.4" This reverts commit 8249f02, reversing changes made to 6b511f5.
in case display_set_gui_maximize needs to get set again
bfrymire
reviewed
Dec 20, 2025
removed speed_threshold, and set it to be 1 always. The speed variable can then be set to a value between 0 and 1. 1 one will make the camera track the followed instance perfectly, though with smooth_draw that may result in it appearing stuttery, if the moving instance's speed isn't a whole number, and there setting the camera speed to less than 1 may look more smooth
they were originally internal, but in case anyone get's use out of them, we may as well expose them
afaik the old issue of constructor functions showing up everywhere is no longer a thing, and so we don't need to ignore literally every function anymore (i hope)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some of the draw functions needs to be tested and updated
the zone constraining doesn't have a smooth transition to and from each other but just snaps
get_zoom_x / y have been removed outright and using zoom_amount should be fine regardless if smooth_draw is on or off.
It has been separated from this branch to not get confused with the extra 3d features
https://github.com/stann-co/STANNcam/tree/3d_camera_and_upgrade
A lot of duplicated code has been replaced by internal transform functions like
__room_to_viewand__view_to_roomtaking a point from room coordinates and translating to view coordinates and vice versa, automatically handling smooth_draw differences as well
would be good to get a look over, even before i try to fix up the last few things