
Stretch sprite - Custom Width and Height - improved
by ChromeCat_testLoading Project
Instructions
This project aims to improve upon ggenije's project in these ways:
- Use a more precise formula for determining the necessary fisheye factor
- Use an invisible rectangle instead of an invisible line
- Fix a bug in the code, which prevented the sprite stretching to where the mouse was
Notes and Credits
The code took me an hour, but I actually spent days figuring out the maths behind how this stretch works
To read my detailed paper explaining the maths behind this see here: https://scratch.mit.edu/projects/719962090/
107
82
1
1469


Comments