why does a little circle i make turn into a square.
here is the code:
im trying to make the circle bigger
and the circle was made in gimp.
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class pop here. * * @author (your name) * @version (a version number or a date) */ public class pop extends Actor { int size = 0; int sX = 10; int sY = 10; public pop() { //getImage().scale(sX,sY); } /** * Act - do whatever the pop wants to do. This method is called whenever * the 'Act' or 'Run' button gets pressed in the environment. */ public void act() { if (size <=20) { sX++; sY++; size ++; getImage().scale(sX,sY); } } }