Space Invaders Released!

I’ve finally added in some rudimentary AI hooks, which has let me finish off Space Invaders and move on with the game engine. You can download and play Space Invaders here as a runnable JAR. Let me know how it runs! It should work cross-platform, you just need Java installed. If you want to cross reference the game, I’ve updated the YAML description to the latest version here.

My next step is to implement a couple of other games – PacMan and Pong. With those done, the engine should be expressive enough to start properly inventing with. I’ve got a little time to work on it today and tomorrow but it might not be until next week that you see those games released properly.

Are you at A Bit Of Alright this Friday? Get in touch and let me know.

EDIT – Oops! Someone’s very helpfully pointed out that the JAR crashes right now. I’ll fix this as soon as I can.

2 thoughts on “Space Invaders Released!

  1. I tried and after downloading the yml files , I got the following exception:

    java -jar /Users/olivier/Downloads/SpaceInvaders.jar
    java.lang.IllegalArgumentException: No enum const class ccg.angelina.blueprint.Definition$CONTROLLER.PATROL_LR
    at java.lang.Enum.valueOf(Enum.java:196)
    at ccg.angelina.blueprint.Definition$CONTROLLER.valueOf(Definition.java:1)
    at ccg.angelina.blueprint.Definition.setController(Definition.java:83)
    at ccg.angelina.blueprint.Definition.set(Definition.java:44)
    at ccg.angelina.blueprint.reader.BlueprintReader.readBlueprint(BlueprintReader.java:50)
    at ccg.angelina.game.playable.TemplateParser.parsePlayable(TemplateParser.java:46)
    at ccg.angelina.game.playable.PlayableGame.(PlayableGame.java:28)
    at ccg.angelina.game.playable.PlayableGame.main(PlayableGame.java:15)
    Fri Mar 09 10:14:37 BRT 2012 INFO:Slick Build #274
    Fri Mar 09 10:14:37 BRT 2012 INFO:LWJGL Version: 2.8.2
    Fri Mar 09 10:14:37 BRT 2012 INFO:OriginalDisplayMode: 1920 x 1200 x 32 @0Hz
    Fri Mar 09 10:14:37 BRT 2012 INFO:TargetDisplayMode: 640 x 480 x 0 @0Hz
    Fri Mar 09 10:14:37 BRT 2012 INFO:Starting display 640×480
    Fri Mar 09 10:14:38 BRT 2012 INFO:Use Java PNG Loader = true
    Fri Mar 09 10:14:38 BRT 2012 INFO:Controllers not available
    Exception in thread “main” java.lang.NullPointerException
    at ccg.angelina.game.playable.MainGamePlayable.loadActiveLevel(MainGamePlayable.java:69)
    at ccg.angelina.game.playable.MainGamePlayable.init(MainGamePlayable.java:37)
    at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:171)
    at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
    at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
    at ccg.angelina.game.playable.PlayableGame.main(PlayableGame.java:19)

Leave a Reply

Your email address will not be published. Required fields are marked *