06 April 2022

Progress Review Kingdom: New Lands

 

Jack Murray
4/6/2022
Professor Mosher

Physical Computing


Final Project Progress Review

Kingdom: New Lands Controller

Overview

My controller is a set of reins that allow you to control your character’s horse in Kingdom: New Lands and drop/spend gold. The “A” and “D” keys (movement left and right respectively) are emulated by holding the reins left and right. “S” is emulated by pulling the reins straight downward. These emulations are done via the accelerometers in the CPE which is set inside the enclosure on two hinges, one that turns on the pitch (x-axis) and one on the roll (z-axis) the reins are connected to a platform with the bluefruit and pull it only on those axis for easier control interpretation by the CPE.


Final Sketch

Video


Pseudo-Code

Read: CPE tilt left or right

If left: hit “A” key

If right hit “D” key

Read: CPE tilt downward

If down: hit “S” key

Find: interpretation of accelerometer data

Questions

  1. How can I improve the aesthetic of my controller/enclosure to match that of Kingdom: New Lands? (Google some screenshots of its art)

  2. I wanted to implement a method of dropping coins via a leather coin sack I have, but I couldn’t come up with a mechanical implementation for it, any ideas?





No comments:

Post a Comment

Note: Only a member of this blog may post a comment.