As the title suggests, when the command
MAKE IMAGE FROM MEMBLOCK is called, it causes any sprite created from the CREATE ANIMATED SPRITE command to stretch vertically, but only if that sprite has had its scale affected by SCALE SPRITE or STRETCH SPRITE. It is quite odd, if you do not scale the sprite, the problem does not occur.
Also, if you do not use PLAY SPRITE to animate the sprite, the stretching won't happen so it is possible to bypass this issue manually looping through a sprites frames.
Here is the code that I am using to create this bug (update 1.074)
`load a image to manipulate using memblocks
load image "test image.png",1
make memblock from image 1,1
`create animated sprite 1 that will be affected by the scale sprite command
create animated sprite 1,"test image.png",1,10,1
scale sprite 1,200
`create animated sprite 2 that will be affected by the stretch sprite command
create animated sprite 2,"test image 2.png",1,10,2
stretch sprite 2,200,200
`create animated sprite 3 that will NOT be affected by additional scaling commands
create animated sprite 3,"test image 3.png",1,10,3
do
play sprite 1,1,10,100
paste sprite 1,0,0
play sprite 2,1,10,100
paste sprite 2,30,0
play sprite 3,1,10,100
paste sprite 3,60,0
`This is the command that is causing the problems
if spacekey() = 1 then make image from memblock 1,1
text 100,0,"1st sprite -> scaled sprite"
text 100,20,"2nd sprite -> stretched sprite"
text 100,40,"3rd sprite -> no scaling"
text 100,60,"Press space-bar to call MAKE IMAGE FROM MEMBLOCK"
loop
I have attached a simple program with source code and media that shows the bug, simply press the space-bar to call MAKE IMAGE FROM MEMBLOCK and see what it does to the sprites.
"What I have shown you is reality. What you remember, that is the illusion."