Fire Mbed Alpha
.
Creators: Jake Ramey, Julio Morales-Perez
Overview
Fire Mbed Alpha is an implementation of a player versus player lightweight version of Fire Emblem on a single mbed. Combat is simplified but does include the series's iconic weapon triangle. The game is controlled using an analog joystick similar to those found in PlayStation controllers and pushbuttons. A dc servo with a lump of duct-tape was wired up to create a makeshift rumbler for haptic feedback.
Parts
- uLCD-144-G2
- 3x pushbuttons
- Sparkfun Analog Joystick
- Standard DC Motor
- H-Bridge
- mbedLPC1768
Pin outs
uLCD Pin | mbed Pin |
---|---|
+5v | VU |
RX | p9 |
TX | p10 |
GND | GND |
RES | p11 |
Analog Joystick | mbed Pin |
---|---|
Vcc | VOUT |
VERT | p18 |
HORZ | p19 |
SEL | p20 |
GND | GND |
H-bridge | mbed Pin | mini USB breakout board | motor |
---|---|---|---|
VM | VCC | ||
VCC | VOUT | ||
GND | GND | GND | |
AO1 | + lead | ||
AO2 | - lead | ||
PWMA | p21 | ||
AIN2 | p25 | ||
AIN1 | p24 | ||
STBY | VOUT |
Pushbuttons
unit select pb | mbed Pin |
---|---|
Top pins | p5 |
bottom pins | GND |
end action pb | mbed Pin |
---|---|
Top pins | p7 |
bottom pins | GND |
end turn pb | mbed Pin |
---|---|
Top pins | p8 |
bottom pins | GND |
How to Play
Player take turns moving units and doing combat. The joystick stick is used to move the cursor and move units. Moving the analog stick towards an enemy will do combat. Blue units are player 1's. Red wolves are player 2's. /media/uploads/jaymp16/img_1220.mov Each unit is only allowed to move a set number of spaces based on class. Push button 5 selects the unit for movement. Push button 7 ends unit movement for when no combat has occurred. Push button 8 ends the player turn. After combat the mbed's USB serial port prints combat results to the computer. When the player tries to move onto a friendly unit or onto a impassable object, the motor vibrates.
Import programFire_Mbed
Jake Ramey Fire emblem mbed example
Please log in to post comments.