Allow embedding a specific tile frame

  1. Describe your reason for requesting this feature. What problems are you running into?

Storing multiple frames in a single sprite set to 0 fps is a nice way to group similar things together. For instance, my game has selectable equipment (a sword for instance). Frame 0 is the sword, frame 1 is the sword with a selection box around it.

I propose extending the {embed:tile_name} syntax to allow you to select a specific frame from the tile. {embed:tile_name:frame} could work.

  1. How would this request improve your experience with using Pulp?

Currently, I need to store these frames as separate sprites or items. I draw them using label because you can't walk over sprites. I want code associated with them so I don't use world tiles.

  1. Include any other details you have relating to this request.

This feature makes 0 fps world tiles with multiple frames useful.

I understand my above use case can be hacked around by using fill to draw over my tile. I do have other uses than the one listed above.

2 Likes

Agreed. Also being able to draw a specific frame.

I'd be interested in having embeds that loop. Without this I don't believe there's a way to have looping tiles in a menu