Collision Tags
Collision Tags
This is intended to serve as an accompaniment (or perhaps a replacement) for Clones Plus' lackluster "touching" blocks.
You can apply multiple Collision Tags to a sprite, which allows users to index their clones far easier. And of course, tags are not limited to a single sprite. You can touch other sprites with a specified collision tag.
Most of the issues of Clones Plus could be solved by using this system. In fact, nothing is stopping this from being Clones Plus 2. Feedback is appreciated on this draft.
Congrats on passing eslint first try
Congrats on passing eslint first try
Changes:
- Clones now copy tags from parent
- Added more options for specifying targets
To do:
- What else do people want out of this
Might I suggest adding a <tag () touches tag ()?> block?
Might I suggest adding a
<tag () touches tag ()?>block?
That's a good idea!
In the latest commit I removed the "onTargetCreated" message that would duplicate tags between a parent and a clone, as it appeared to copy that data across all targets for some reason. I will add it back eventually, but for now it's a temporary fix.
Is this still being worked on?
Yes
starting to realise the potential of this after using this in a project, and i want to work more on it.