The main game listens for the UDP broadcast and answers. I think a dedicated port for the real-time critical mic-data could be beneficial.This ConnectRequest has a flag to ask for a dedicated port for the mic-data. Udp broadcast is used to find the main game in the local network. However, for the companion app I want to avoid this "magic" introduced by "hidden" protocols of specialized libs and frameworks.Ī simple protocol based on standard network sockets allows other developers to create native Android / iOS apps if they desire. They seem very nice to implement multiplayer feature ( #68). I found that C# network API (UdpClient, TcpClient) is perfectly fine for this.īefore, I had a look at the networking libs for Unity. I just created a second repo with the companion-app-prototype I have so far. The companion app has nothing to do with the multiplayer feature of #68 (except that the same networking lib should be used). The companion app is used to provide input for the main game and maybe control it (see also #176 for ideas). The companion app is a separate (GitHub) project. Note that MLAPI will be the starting point for Unity's upcoming networking solution. Out of these, free open source solutions seem to be MLAPI and Mirror. If people have to enter an IP-address, then it is too complicated.įirst, a network lib is required. It should "just work" when the devices are in the same local network. I think it is important that no setup is needed. What is missing is some sort of automatic network discovery. This part can be copied for the companion app. However, these do not work across all platforms and sometimes only for a limited number of devices.Īccessing the mic is already implemented in UltraStar Play. Partially, there are existing solutions such as WO Mic. It would be very nice if a smartphone app could be used to provide mic input for UltraStar Play.Įveryone has a smartphone so people can start singing duets without the need for additional hardware. However, these mics cannot be used to play the game on a smartphone / tablet. One of the obstacles for players is the need for a mic, especially when using different devices or mobile.įor example, I bought USB mics just for the game.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |