Space Invaders

123 views
Skip to first unread message

Owen Trueblood

unread,
Jan 2, 2015, 10:48:15 PM1/2/15
to cube...@googlegroups.com
Hello! Here's the implementation of Space Invaders featured in the Cube Arcade stretch goal video.

It supports both 8^3 and 16^3 cubes. To move the spaceship use WASD or the arrow keys. To shoot, use the spacebar.

Tips:
  • The green 2x2 blocks are your bases. They can sustain 2 hits before being destroyed.
  • Invaders cast amber shadows (to make it a little easier to line up your ship).
  • Your score is shown at the end of each game. 1 point is scored per invader, and 5 points are scored per UFO.
I'm happy to answer any questions about it that you might have. Have fun!
L3D_Invaders_v1.0.zip

Dataway

unread,
Jan 5, 2015, 12:56:40 PM1/5/15
to cube...@googlegroups.com
WOW...great job this works great on the cube.......

Danny Ricciotti

unread,
Jun 11, 2015, 8:30:13 PM6/11/15
to cube...@googlegroups.com
Are there instructions on how to get this up and running on a Mac?  I am not familiar with the process for running a Java app for the cube. Thanks! 

Owen Trueblood

unread,
Jun 12, 2015, 3:25:17 PM6/12/15
to Danny Ricciotti, cube...@googlegroups.com
Here are the basic instructions: You'll need to install Processing and load the listener firmware onto your cube. Then download and extract the L3D Invaders zip archive. Open L3D_Invaders.pde from Processing and hit the play icon in the upper left. If your computer and the cube are both successfully connected to the same WiFi network then you should immediately see the game on your cube and be able to play it. Don't hesitate to ask for help if you need to troubleshoot. Good luck!

On Thu, Jun 11, 2015 at 8:30 PM, Danny Ricciotti <dan.ri...@gmail.com> wrote:
Are there instructions on how to get this up and running on a Mac?  I am not familiar with the process for running a Java app for the cube. Thanks! 

--
You received this message because you are subscribed to a topic in the Google Groups "cubetalk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cubetalk/od44gu5hvaQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cubetalk+u...@googlegroups.com.
To post to this group, send email to cube...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cubetalk/7258c57c-50a1-4fee-b8b2-81cad582f8e8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Dennis Williamson

unread,
Jun 12, 2015, 5:25:18 PM6/12/15
to cube...@googlegroups.com, jmpt...@mit.edu

Does the listener firmware need to be installed over USB or can it be done over wifi (how? Does Processing handle that?)? I know that cubetube.org installs it over wifi for cube+computer apps.

Will Space Invaders be uploaded to cubetube.org?
 

Owen Trueblood

unread,
Jun 12, 2015, 6:11:15 PM6/12/15
to Dennis Williamson, cube...@googlegroups.com
It does not matter which way the listener firmware gets on the cube, whether USB or WiFi. Processing just runs the game code and sends the graphics to the listener running on the cube.

If you have Cubetube working alright with your cube then one way to get the listener on your cube would be to create a new "L3D" type demo on cubetube.org and then paste in the listener code and send it to your cube. L3D Invaders is pretty old relative to all of the changes that have been made to cubetube.org and the cube software, so I'm not sure that will work smoothly (worth a try).

A slightly harder alternative is to install the spark-cli tool and use that to load the code over USB or WiFi. After installing the tool you would run "spark setup" to get logged in and connected. Then you would download the listener binary, connect your cube to your computer over USB, put it in listening mode (by holding the mode button until the LED blinks blue), and run "spark flash --usb path/to/Listener.bin".

Space Invaders may get uploaded to cubetube.org again (it was purged in the recent overhaul that the website got). But it's not planned at the moment.

Reply all
Reply to author
Forward
0 new messages