Quick question. I have my program set so that three squares are floating around the screen. How easy would it be to swap those squares out for an image of say a Balloon? If this is possible how would I go about doing it?
Edit: I should have mentioned the "squares" have been made simply through rect(*,*,*,*);
It's pretty easy to do that. First you need to use loadImage() somewhere in setup() to load the image of the balloon and assign that loaded image to a global PImage variable. Then instead of drawing with rect(*, *, *, *) you'd do image(balloonImage, x, y).
Leave a comment on Jonny Stutters's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic