Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Note though that you can already select any number of targets for a single rule and can copy/paste the target list all at once with Ctrl+C/Ctrl+V while “Targets:” is highlighted. Does that work for you?

I’ll hold off on adding wildcards until you reply, since I’d rather avoid adding a feature that may perform quite badly.

I had a better idea that will work without performance downside: Target groups.

For any group, you’ll have to specify only one target in the rules and all other group members will be added as targets automatically. Groups will be editable in a separate parameter and at runtime through the JS API.

That still requires setting up the group once on your part, but I think that’s worth it in terms of making the game run smoothly on weaker systems. I’ll see if I can add it to the release candidate within the next few days.

(+1)

Copying and pasting targets does work thank you. I do like your idea of target groups though, that would save time if additional targets need to be added later on.

I also wanted to ask if there is a way currently to offset a layer from the target? I thought I found a way but it offset the whole character rather than the layer (which is still cool and useful). If not that's okay, I can increase the base sprite height if needed.

(1 edit)

Glad to hear that! And yes, I’ll still add target groups.

Individual layer offsets are not supported or planned.
I don’t think that’s possible without interacting with the spritesheet layout directly, which most likely wouldn’t be compatible with e.g. 8-dir or “more character frames” plugins.
(The layered bitmaps are “baked” into a single texture, since not modifying the scene graph is by far the most robust approach.)

Okay, all good! And thank you.