• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

105 Neutral

About CalebHudson

  • Rank
  1. Whats wrong?

    i dont know i wanted to sound smart
  2. Whats wrong?

    thanks for the help guys
  3. Whats wrong?

    i even tried exporting as a runnable and it didnt launch what do i do?
  4. Whats wrong?

    i wrapped it in launchj4 but nothing happened when it opened :s
  5. Whats wrong?

    Well im going to try both to see what the difference is btw im really noob
  6. Whats wrong?

    I want to get rid of the JVM completely
  7. Whats wrong?

    How do i turn my project into a .exe?
  8. Whats wrong?

    thanks, i forgot about that line when i remove my state
  9. Whats wrong?

    when i open the classes it says "Source not found"
  10. Whats wrong?

    package javagame; import org.newdawn.slick.*; import org.newdawn.slick.state.*; public class Game extends StateBasedGame{ public static final String gamename = "Bucky's World!"; public static final int menu = 0; public static final int play = 1; public static final int play2 = 2; public Game(String gamename){ super(gamename); this.addState(new Menu(menu)); this.addState(new Play(play)); } public void initStatesList(GameContainer gc) throws SlickException{ this.getState(menu).init(gc, this); this.getState(play).init(gc, this); this.getState(play2).init(gc, this); this.enterState(menu); } public static void main(String[] args) { AppGameContainer appgc; try{ appgc = new AppGameContainer(new Game(gamename)); appgc.setDisplayMode(640, 360, false); appgc.start(); }catch(SlickException e){ e.printStackTrace(); } } }
  11. Whats wrong?

    i recently have encountered an error when i compile my game in eclispe and it started happening this afternoon Exception in thread "main" java.lang.NullPointerException at javagame.Game.initStatesList(Game.java:25) at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:164) at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390) at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314) at javagame.Game.main(Game.java:34)
  12. If you put your finger in your ear and scratch it, sounds like you're playing Pac-Man.
  13. Resetting States in Slick2D

  14. Resetting States in Slick2D

    Whenever I go back to the Main Menu then back in to the game the state does not reset What can i do to fix this? Thanks
  15. Where to go?

    tanks for the help
  • Advertisement