Here's an example from my code:
public void placeFood(int amountOfFood)
{
for (int i = 0; i < amountOfFood; i++)
{
addObject(new Food(), Greenfoot.getRandomNumber(59)+1, Greenfoot.getRandomNumber(39)+1);
}
}
Here's an example from my code:
public void placeFood(int amountOfFood)
{
for (int i = 0; i < amountOfFood; i++)
{
addObject(new Food(), Greenfoot.getRandomNumber(59)+1, Greenfoot.getRandomNumber(39)+1);
}
}
I MIGHT add double ships, but it's unlikely because it would be difficult with the current animation setup (moving from left to right). I'm planning on changing that so it strafes the ship instead of turns it. I'm not very good at art so I don't know when that will happen.
This was just made as a school project, the graphics are supposed to look terrible. If you want, you can send me pics to implement into the game but after i'm done with the project it will no longer get updates
2012/5/8
Snake
2012/5/8
Snake
2012/5/8
Snake
2012/5/8
Snake
2012/5/6
Snake
2012/5/4
Snake
2012/5/4
Snake
2012/5/3
SØL
2012/5/3
Snake