I’m having a bug that suddenly appeared for seemingly no reason.
When I draw a shape and then a sprite, the sprite looks like a resized version of the shape just drawn. Anyone else have this problem?
PS. I’m new to these forums, how do I put text in a code box?
–# Main
– Test
– Use this function to perform your initial setup
function setup()
print(“Hello World!”)
end
– This function gets called once every frame
function draw()
– This sets a dark background color
background(40, 40, 50)
-- This sets the line thickness
strokeWidth(5)
-- Do your drawing here
ellipse(300, 500, 20)
sprite("Documents:ExampleCircle", 100, 100)
end
Edit: I restarted Codea, it is working now! Maybe I should have tried that before posting here.
Yup, I get it too. Really recent, and I thought I was making some mistakes. Lost about an hour debugging it to find nothing.
@Simeon - your commentary about 1.4.4 havving the bug explains why some of my text is gone - but only sometimes! I was sure it wasn’t happening before.
I’m getting around this problem by drawing static sprites onto an image, and displaying just the image each frame instead of drawing every sprite individually.