Erik Onarheim

Results 189 comments of Erik Onarheim

@mattjennings 100% totally agree. I'm down to explore the getter 👍

It's not 100% clear yet what the API would look like

@mattjennings Thanks, this is a great reference. I might be able to sneak tiling into the existing API into the option bag constructor? Potentially if the repeat flag is set...

Perhaps a new type would be best tho... `tileScale` and `tilePosition` seem pretty useful.

We accidentally implemented this feature (see discord conversation for full context https://discord.com/channels/1195771303215513671/1229051072027562074) https://github.com/excaliburjs/Excalibur/assets/612071/8844704a-ac60-4c3f-b65b-2d63d5337834 The gist for sprites, is if the `ImageWrapping.Repeat` is set AND you have a source view bigger...

@mattjennings I agree! I think a pixel offset is useful in this case. Let me play around with the first one, a `ex.Anchor` type that extends vector would be a...

We could also expose `offset` in the actor constructor?

Good points, also it should totally account for the scale that's definitely a bug

@sl45sms Thanks for the PR! I think this may have been fixed another way in the loader refactor!