I originally started with Chillax, after Encountering so many problems so near to deadline, I went back to the IDE I am more familiar with, NetBeans, and I changed my approach to a more basic "Asteroid"-type game:
- NBs zip file: http://ge.tt/4T5tBFT/v/0?c
- text: git clone git://gist.github.com/4248746.git
- embed?:
In NetBeans I get:
Exception in thread "main" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:205)
at gayme.Craft.<init>(Craft.java:27)
at gayme.Board.<init>(Board.java:54)
at gayme.Gayme.<init>(Gayme.java:9)
at gayme.Gayme.main(Gayme.java:19)
Java Result: 1
sources: (Craft 26 - 34)
public Craft() {
ImageIcon ii = new ImageIcon(this.getClass().getResource("craft.png"));
image = ii.getImage();
width = image.getWidth(null);
height = image.getHeight(null);
missiles = new ArrayList();
visible = true;
x = 40;
y = 60;}
(Board 54)
craft = new Craft();
(Gayme 9)
add(new Board());
(Gayme 19)
new Gayme();
I have issues that I really need resolved and my sleep deprived brain is coming up with a loss on each. Feel free to help out on whichever game you'd rather. Thanks so much guys!