Please be more specific. What do you mean you had it set, what do you mean you changed it, and what do you mean it was still drawing the previous image? Any chance of seeing your code?
It's properly sized for me. If you have transparent pixels around the edges, it might render those, though, and appear as if it's smaller than it really is.
Yes, it's right for me too, but its like I set the height to 1000. But when I play the program the height is still 50 or something. Then I exit the program editor and come back in and it says the height is 50. Then when I change it, it works. Codea isn't saving properly.
Well at first I uploaded an image of a robot. I tapped the sprite bubble and selected the robot. That worked fine. Later I tapped the sprite bubble and set it to an image of a blob. When I played the program, It still showed an image of a robot. I wrote this then went back into the editor to find that it still showed the image as Documents:Robot 2 (the robot file). I tapped it and selected the image of the blob. It drew the blob when I ran the program then. The blob was too big, so I set it to a smaller size. It seemed to be drawing the same size, but I wasn't sure. I then set the height to 1000, but it was exactly the same. But when I exited the editor and then readjusted the size, it resized properly.
I seem to be in a bigger problem the just Codea not drawing the right image.
if he is, this is another problem I've seen with Aircode: taking a long time to update things, if it ever happens. More than once, I've edited a bunch of code, not seen the change in the draw loop, and refreshed the browser, only to find that the code in the project was still the old stuff.
I would suggest working directly on the iPad, using a Bluetooth keyboard. AirCode just isn't ready for prime time quite yet, it would seem.
If you press the play button in the editor while the image picking screen is up, it won't select anything i think. It happens with the color picker as well.
Comments
Please be more specific. What do you mean you had it set, what do you mean you changed it, and what do you mean it was still drawing the previous image? Any chance of seeing your code?
I told it to draw a robot. Then I changed it to draw a ball, but it was still drawing the robot.
Now it's working, but that was what was happening.
Code?
Edit: Oh.
@EpicPotato - please post code.
99% of the time, it's a bug in the code, not in Codea.
And now it won't draw the sprite at the right size.
Code, please?
But now it's working. It seems to be a problem where Codea is not saving very quickly.
Please post the code, Codea should save the code instantly once you press run.
Only put the three ~ at the very top and very bottom of your code...
What three
The ~~~. Put them at only the very top and very bottom of your code for proper code formatting.
There you go.
It doesn't draw any sprites for me, just black rectangles.
Oh, that's because the sprite is my Dropbox file. Just change both sprites to one of your images and set the width to 73, the height to 90.
It's properly sized for me. If you have transparent pixels around the edges, it might render those, though, and appear as if it's smaller than it really is.
Yes, it's right for me too, but its like I set the height to 1000. But when I play the program the height is still 50 or something. Then I exit the program editor and come back in and it says the height is 50. Then when I change it, it works. Codea isn't saving properly.
1000 resizes it for me. Can you explain exactly what you did, and every button you pressed when it wasn't saving?
Well at first I uploaded an image of a robot. I tapped the sprite bubble and selected the robot. That worked fine. Later I tapped the sprite bubble and set it to an image of a blob. When I played the program, It still showed an image of a robot. I wrote this then went back into the editor to find that it still showed the image as Documents:Robot 2 (the robot file). I tapped it and selected the image of the blob. It drew the blob when I ran the program then. The blob was too big, so I set it to a smaller size. It seemed to be drawing the same size, but I wasn't sure. I then set the height to 1000, but it was exactly the same. But when I exited the editor and then readjusted the size, it resized properly.
I seem to be in a bigger problem the just Codea not drawing the right image.
Are you using Aircode?
if he is, this is another problem I've seen with Aircode: taking a long time to update things, if it ever happens. More than once, I've edited a bunch of code, not seen the change in the draw loop, and refreshed the browser, only to find that the code in the project was still the old stuff.
I would suggest working directly on the iPad, using a Bluetooth keyboard. AirCode just isn't ready for prime time quite yet, it would seem.
If you press the play button in the editor while the image picking screen is up, it won't select anything i think. It happens with the color picker as well.
I'm not using air code and the image screen isn't up.