I have a problem that occurs randomly.
Create object on layer (60 pixels square)
Pin the object to another
Set animation frame to a value (frame already exists)
Load image from URL (Keep current size)
The images are 120 pixels square.
All the above works as expected. However, occasionally, and its pretty random, the object is created of the wrong size.
When this happens. they are always smaller and never bigger than the expected size.
I have tried setting the size to 60 x 60 before and after creation but it still happens randomly.
Develop games in your browser. Powerful, performant & highly capable.
Could you post a picture of the code?