Myongji University Undergraduate student project
- Ubuntu 14.04LTS
- NXP i.MX6 Quad-Core 1GHz
- 7 inch screen
- FND, Buzzer, LED, Color LED, Accelerometer, Magnetometer, Temperture Sensor, Button, Gyroscope Sensor
- Use compile languages (C, C++)
- Use frame buffer when screen uses
- Use more than 5 sensors listed above
There are famous game pikachu volleyball that everyone knows. So we implemented this game into our device with some changes. This game can play 2 users as same as orignal game and can toss the ball too. Charater of this game is Mari & Maru (official character of Myongji University).
- Download game(mju_baegu.out) and source folder in same folder.
- Run game file.
- Choose player (if you choose mari opponent should be mari).
- Put ip address and enter. game will start soon.
- Tilt the device to move charater left or right.
- C socket communication used to connet two devices via TCP method
- Gyro sensor data (rad/s) integrals are add up to charater position. This is not physically correct but okay for game
- AABB collision algorism for collision detection between ball and charater.
- PNG images load by lodepng library all pngs are merged with one buffer array then copy to frame buffer (this can prevent flickering, tranperancy of png img can implemented too)
- Led ON/OFF for score
- Buzzer for Background music
- text lcd shows game start and charater select
- button for character select