Comments (3)
Just to make sure I understand correctly - you want to scale the cane and have the white/red background NOT scale but just show under the cane shape?
from spriterdotnet.
Yes, that's what I would like to do, here is an image to better understand:
From left to right:
- The original image
- The image scaled without using UV scaling
- The image scaled using the UV scaling
from spriterdotnet.
This is not something supported out of the box. Probably the best thing you can do is extend Animator and then use some kind of custom logic (sprite masking?) to achieve this effect. Take a look at MonoGameAnimator to see how to implement it. Note that this is a link to a feature branch that's different from the main one.
from spriterdotnet.
Related Issues (20)
- random access to character maps HOT 1
- Adding SpriterDotNet to an Android project HOT 5
- Total bounding area HOT 2
- cannot read scml file HOT 1
- Find name of sprite that sprite transform applies to HOT 4
- Sprite Object pixel coordinate snapping in pixel mode HOT 1
- SpriterDotNet NuGet packages broken in latest release of MonoGame. HOT 1
- Animator always null in Start method(Unity) HOT 2
- More of a question than an issue about the project HOT 4
- Regarding the creation of bounding boxes, and collision boxes. HOT 4
- Stack overflow when using cyclic character map
- Changing sprites of prefab e.g. when switching armor or weapons
- Bone manipulation at runtime.
- General codestyle issues. HOT 6
- Remove Linq. HOT 3
- Simplify public interface. HOT 3
- unity 2019.2.1 constant hourglass when clicking generated prefabs HOT 2
- Enter Safe Mode at open
- Example please HOT 1
- 'SpriterImporterUtil' is missing many things, compile error.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spriterdotnet.