Playing Meat Boy on an FPGA

meat-boy-fpga

We usually look at these FPGA University projects and think how much fun it must have been to get credit for the work. But in this case we can’t image the grind it must have been to implement the game mechanics of Meat Boy in an FPGA. See how well it came out in the clip after the break.

Remember that with an FPGA you’re basically building hardware devices by using code. The Reddit discussion of the project sheds some light on where to start (and even shares the source code). The Altera DE2 is pushing the game to a monitor using SXGA at 60Hz. The map is laid out as a collection of 32×32 tiles, each represented by 2 bits in memory. [SkipToThe3nd] does go into detail about how the physics work but we can’t even begin to paraphrase that part of the discussion.

The game being cloned here is Meat Boy, the Flash game predecessor to Super Meat Boy. If you’ve never heard of the title we’d suggest watching Indie Game: The Moviea documentary which follows several independent game developers as they try to get their titles to market.

Continue reading “Playing Meat Boy on an FPGA”

Revolving camera mount helps to capture 3D video-game assests

3d-image-capture

Here’s a camera rig that makes it a snap to produce photorealistic 3D models of an object. It was put together rather inexpensively by an indie game company called Skull Theatre. They published a couple of posts which show off how the rig was built and how it’s used to capture the models.

They’re using 123D, a software suite which is quite popular for digitizing items. The rig has a center table where an object is placed, and a movable jig which holds three different cameras (or one camera for three rotations). You can see the masking tape on the floor which marks the location for each shot. These positions are mapped out in the software so that it has an easy time putting them all together. The shaft which connects the jig to the base is adjustable to accommodate large or small items.

One thing that we found interesting is the team’s technique for dealing with reflections. They use a matte spray to make those surfaces less reflective. This helps 123D do its job but also allows them to map reflective surface more accurately using the game engine.

BASH games

bash-gaming-script

Get serious about your shell scripting skills and maybe you can pull this one off. It’s a game of snake played in a BASH shell. It seems like a coding nightmare, but the final product turns out to be organized well enough for us to understand and took less than 250 lines of code.

[Martin Bruchanov] started on the project after pining for an old DOS game called Housenka. It’s another version of the classic Snake game which we’ve coded ourselves and seen in several projects including this head-to-head version using musical recorders as controllers. When using a terminal emulator capable of ANSI sequences the game is displayed in color using extended characters.

We give [Martin] bonus points for the way he wrote about his project. It describes the mechanics most would be interested in, like how the user input is captured and what drives the update function and food generation. The rest of the details can be gleaned by reading through the code itself.

Space invaders played on a 16×2 character display

character-lcd-space-invaders

This Space Invaders game does more with less. [Rjk79] managed to make a video game using a two-line character display. The game consists of a wave of invaders on the top line, with the defender cannon on the bottom. The invader isn’t just stationary, but randomly moves to the left and the right. The image above captured a little bit of motion blur from the defender moving into position before firing on the enemy.

An Arduino board controls the 16×2 HD44780 character display. The game also includes sounds generated by the piezo buzzer seen on the breadboard. All the way to the right you can see the Wii Nunchuk breakout board which provides directional control and the firing trigger. If you want to recreate this one for yourself [Rjk79] is sharing the source code on Pastebin. There’s also a demo video found after the jump.

If you don’t have a character LCD on hand you might try this other Space Invaders clone that uses an 8×8 led matrix.

Continue reading “Space invaders played on a 16×2 character display”

Portable gaming console uses SSD1289 and Propeller

building-a-portable-video-game

[Samir] dabbles in hobby electronics and decided to put his skills to the test by building this portable gaming console (Note: this site uses an HTTPS address which cannot be used through Google Tranlator. It does work for the Chrome browser translator). The image above is a screenshot from his Breakout-style game. The paddle at the bottom is controlled with the touchscreen. You move it back and forth to keep the ball from traveling past the bottom edge (it bounces off of the red borders on the sides and top).

The main PCB is larger than the 3.2″ LCD footprint, but [Samir] made sure to include a lot of peripherals to make up for it. The board sports a Parallax Propeller chip to run the games. It interfaces with the SSD1289 screen (this is a cheap and popular choice) but that really eats up a lot of the IO pins. To control the game the touchscreen can be used as we’ve already mentioned. But there are two other options as well. There is an expansion port which uses a shift register (74HC165) to serialize the input. For prototyping this allowed [Samir] to use an Atari joystick. He also rolled a Bluetooth adapter into the project which we would love to see working with a Wii remote. Rounding out the peripherals are an SD card slot, audio jack for sound, and an RTC chip for keeping time.

There are several videos included in the post linked above. After the break we’ve embedded the game-play demo from which this screenshot was taken.

Continue reading “Portable gaming console uses SSD1289 and Propeller”

Prototyping a low-resolution handheld gaming rig

low-res-arduino-gaming

[Jason] has been hard at work on this Arduino-based low-res gaming platform. He even had a fab house deliver circuit boards to pull everything together. It’s a little small in his hands, and the graphics are limited to the 8×8 pixels provided by the display. But it still looks like a lot of fun and the code was written to make adding new games quite painless.

The board hosts an ATmega328 which drives the bi-color LED display using a pair of TPIC6B595 shift registers. Control is provided by a collection of buttons to either side of the display. The unit is powered by three AAA batteries held in a pack soldered to the back side of the PCB.

The image above shows [Jason] giving a Space Invaders game a try. The clip after the break shows respectable action, sound from a piezo buzzer, and it even scrolls your score at the end of the game. But you’re not limited to just one title. Adding new games is as easy as implementing a class in a new header file. You can get a feel for how this is set up by viewing the source code repo.

This reminds us of the Pixel Bros low-res system.

Continue reading “Prototyping a low-resolution handheld gaming rig”

Art installation plots every game of Lunar Lander that is played

This art installation makes a video game from the 1970’s popular again. It can be found at the Dublin Science Gallery’s GAME exhibition. Museum goers step up to the coin-op style game cabinet and the onlookers will see how they’re doing as the landing is plotted on this board.

Hardware details are a bit hard to come by but we hear that there will me more on the build posted soon. For now the Flickr set is the best source of information. From reading the captions we know that a set of three Mac minis run everything. There are also a few close-ups and a video overview of the drive hardware which you can see mounted on the upper left of the image above. We can tell you that this is a string plotter similar to builds we’ve seen in the past. The telemetry data from the Lunar Lander game is converted to instructions and fed directly to that device. See it in action in the clip after the break.

Continue reading “Art installation plots every game of Lunar Lander that is played”