Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
03-24-2014, 08:31 PM #1
- Join Date
- Mar 2014
- Thanked 0 Times in 0 Posts
I' having some trouble and I'm new to coding so any help is appreciated!
So I'm taking a computer science course and for a project we have to make our own "flappy bird" game using GreenFoot, and I decided to make a halo theme to mine. I decided that I wanted to make multiple characters to chose from. Noble 6, Jun, George, Emile, Carter and Kat. So right now I'm just trying to get my screen to switch from Splash screen to game screen and spawn in the character selected. This is what i have written for my world so far:
public class InterfaceBackround extends World
super(350, 500, 1);
sb = new StartButton();
this.addObject(sb, 60, 400);
n6 = new Noble6();
this.addObject(n6, 60, 400);
I have to make an if statement that will say "if n6 is selected is true than place Noble 6 on the screen and what I'm trying to ins't working, I might have some other problems in my coding as well.So if you guys can tell me why this isn't working too well I'd appreciate it allot!!!