Roblox-like trail

by qw23
See Code Download Embed
This project demonstrates:
1. A temporary trail following a sprite.
2. A sprite changing size while being dragged.

Press the green button first.
Every time Alonzo is dragged around (by YOU), it will be followed by a coloured trail. Alonzo (and the width of the trail) will also grow or shrink, depending on its position on the canvas.

Look inside for scripts.

Thanks to @puppetia for the challenge & @dardoro for the dragging algorithm; contributions by @ego~ & @jens.

Created October 31, 2023

Last updated November 2, 2023

Published November 1, 2023