You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ActorLoader._ReadShot, there's a block for grabbing the view width and height. Stepping through the loading process in Chrome seems that these values are never set.
Ideally I'd love these values to be the base width and height of the initial frame of the animation. Currently in the Construct 2 Plugin, I have it set that the user has to hand-type the width and height so that scaling in the game engine works correctly to match what you've set in the editor. Having this based in the runtime would be pretty great.
The text was updated successfully, but these errors were encountered:
That View block only gets exported when you post a shot to the 2D site. It's used to calculate the bounds of the camera you align when exporting the shot. This library gets used for that too.
We are going to do a pretty serious "maturity" upgrade to this library in the near future. That will introduce support for more features like calculating bounding boxes dynamically. We could export that information for the animation too but I think having it be dynamically calculated will be relatively inexpensive, more accurate, keep download sizes down, and it'll be future-proof as our animations start becoming more dynamic (more on that later...).
In ActorLoader._ReadShot, there's a block for grabbing the view width and height. Stepping through the loading process in Chrome seems that these values are never set.
Ideally I'd love these values to be the base width and height of the initial frame of the animation. Currently in the Construct 2 Plugin, I have it set that the user has to hand-type the width and height so that scaling in the game engine works correctly to match what you've set in the editor. Having this based in the runtime would be pretty great.
The text was updated successfully, but these errors were encountered: