adventuregamestudio / ags

AGS editor and engine source code
Other
701 stars 160 forks source link

Per-frame offset in Views #964

Open ghost opened 5 years ago

ghost commented 5 years ago

Suggestion: add x,y offset properties for a view frame, as an alternative to having to add transparent borders to sprites within animation when trying to align them.

PS. probably should be part of ViewFrame's script API too.

AlanDrake commented 5 years ago

I think it would be useful, I've also seen similar things in other engines and always wondered why AGS didn't have anything to address offsets.

ivan-mogilko commented 2 years ago

Something very strange which i did not pay attention before, but ViewFrame's internal data already has xoffs, yoffs parameters. They are even part of the save format. But they are not used anywhere at all, just 2 reserved fields.