Unity - local multiplayer party game (OSC protocol)

 Use the OSC protocol. It can support two-player and four-player games. In the game, the player uses the mobile phone as a handle, scans the code and pairs with the software running on the PC.
The gameplay is the same as the adventure chess game played when I was a child. Players take turns to decide the number of steps to take by throwing dice through the gravity sensor of the mobile phone and the gyroscope. Everyone is welcome to join the study.

Learning content:
1. Generation and recognition of two-dimensional codes to realize the pairing of mobile phones and PCs

2.UniOSC plug-in realizes communication

3. Send button and joystick data on the handle end

4. The PC receives the data and judges the handle ID

5. The corresponding handle controls the corresponding character

6. Four-way selection of characters, players are not allowed to choose the same character

7. Each round of game implementation

8. Use the gravity sensor and gyroscope to realize the upward running judgment of the mobile phone

Table of contents:

 

 

 MP4 format, size 4.7G

Guess you like

Origin blog.csdn.net/SilverFoxGame/article/details/128814892