View Full Version : Game Control
11-10-2009, 10:22 PM
·How can I control a nintendo 64 with a microcontroller. I want it to fight on mortal kombat trilogy and do all the moves i program it to do.
I know how to program a little. I'm in school at ICC and we have a special project to do in Interfacing Techniques. How would I program the combat moves in as the codes. Would I use Highs and Lows for pins·or would I use the fighter's code moves
like (fwd, up, dwn, back, and the buttons on controller).
The easiest way would probably be to hack a controller and control the buttons (either electrically or mechanically) with the microcontroller. Not as elegant as plugging the microcontroller into the n64, but a whole lot easier.
11-12-2009, 02:05 AM
When I do that; what about programming the codes in to make the game fight. What type of programming would be needed.
How would i be able to program in the codes as for letting my guy know when he is close to his opponent or not.
11-12-2009, 02:17 AM
You're going to have to figure that part out. We can tell you how to get a Stamp to push the buttons for you. You have to come up with the rules that say when to push a particular button and for how long. The joystick part is even harder since that can have intermediate positions ... not just on and off. I don't know how you'd figure out what's going on with the image on the screen. There are people who have spent a whole career in computer vision technology trying to do that sort of thing.
11-19-2009, 10:29 PM
how do the cpu know to attack when it's close enough to do so if no one ever accomplished the computer vision technology program. They react to the moves we do and counter them sometimes, and then they will do their certain moves when they're close to do.
11-20-2009, 12:28 AM
That's part of the program on the PC and your stamp has no way of knowing what is on the screen or where the other players are.