You NEED JAVA 6+. An operational web camera is also recommended, but you can play with a mouse if you don't have a web cam although you will probably find it a bit easy. To get rid of the mouse-controlled player, move the mouse to the edge of the screen.
Double-clicking on the downloaded jar file should launch the game (you may need to change your security settings in OSX). Try and ensure your face has good lighting otherwise the game might not be able to see you. The escape key exits.
Game intended to connect our world with the game world using computer vision. Try not to take an asteroid to the face.
Currently tested on OSX and Windows 7. There are libraries for linux included, but I have no idea if they work. Let me know what kind of computer you have if you hit problems. If you really want to do me a solid, run the jar from the command line and dump the error output (if any) in the comment box. Something like
It works with multiplayer by having two+ people stand in front of the camera, but it sometimes get confused about who is who. It also seems to effect the face recognition's reliability, but it is pretty funny
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Jan\Downloads\opencv\win\opencv_java249.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) at Main$.main(Main.scala:67) at Main.main(Main.scala)
Got around to playing your game after the fix, it's pretty good. I like the shooting upgrade concept, and I think the breaking animation of asteroids is pretty cool.
Super cool idea! I ran it on my linux box without many problem (there was some error messages about sound libraries, the game had sfx but no music).
The idea is really fun, and generally the player would follow my "head", but the game paused all the time -- not sure if because of the lighting in my room or what. I would certainly enjoy a more well calibrated version of the game, but good job anyway!
Comments18
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Jan\Downloads\opencv\win\opencv_java249.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at Main$.main(Main.scala:67)
at Main.main(Main.scala)
After break 3 or 4 stones the game breaks.
And shoot a lot wkith powerups is always good fun.
The idea is really fun, and generally the player would follow my "head", but the game paused all the time -- not sure if because of the lighting in my room or what. I would certainly enjoy a more well calibrated version of the game, but good job anyway!