Actual combat of Qt project under Linux system (Yuan Shen Simulator)

Genshin Simulator

        "Yuan Shen" is an open world adventure game produced and released by Shanghai Mihayou Network Technology Co., Ltd.
        The overall gameplay structure of "Original God" is remarkable, and the content created based on mature design experience in the industry is amazing. The game design has its own ideas, and it is full of fun to play. We use Qt software and speech recognition library, etc. under the Linux system to build the Yuanshin emulator application. It simplifies the operation and use of Yuanshen, so that more people can experience the game more conveniently; it also realizes the voice control of the game, simplifies the operation, and provides the possibility of operating other devices.

Table of contents

1 Introduction

2. Interface design

3. Related content design

 3.1 Game Background Illustration

 3.2 Game Attack Settings

4. Game function introduction

5. Realization of voice function     

6. Summary and Analysis   


1 Introduction

        This project is a cross-platform C++ graphical user interface application program developed on Qt software - Yuanshen Simulator (mainly simulating part of the game experience of Yuanshen). The technical aspects of the design mainly include:

        C++ programming, Linux system programming, Linux network programming, the use of Qt software, and the use of iFLYTEK speech recognition library.

2. Interface design

        The design of the game interface is not complicated, mainly the start interface, the login interface, and the game entry interface; the login interface is mainly to enter the account number and password, check the user options, and then click to enter the game.

(The operation is relatively simple, you only need to master the basic C++ language programming ability and the basic usage method of Qt software)

3. Related content design

        3.1 Game Background Illustration

        3.2 Game Attack Settings

4. Game function introduction

         The game design is implemented using Qt software under the Ubuntu system.

        The main functions are: login to the game interface, attack and skill release of game characters, display of real-time network speed, and functions such as exploring the map (all functions can be controlled by voice, which is also the focus of the design).

         Under the Genshin Simulator, the network speed of the game can be displayed in real time, so that you can understand the current game experience. Of course, there are related functions in the game itself. To implement this function in the emulator, you need to download related resources. The design is to use other drivers to replace the network speed for display.

5. Realization of voice function     

        Combine the voice system with Genshin Game. Changed the operation mode of the original game, that is, the traditional mode of keyboard and mouse operation is changed to voice control. (This is the key feature in the design)

        The implementation of speech recognition uses the speech recognition library of iFLYTEK; the speech recognition library of iFLYTEK currently requires payment. If you want to use it for free, you need to change the Linux system time to 2010.10.1, so You can try it for free for one month.

        The communication method between the voice recognition server and the Yuanshin Simulator application is UDP protocol.

        The image below shows the ability to open regions to explore using voice control.

6. Summary and Analysis   

         Yuanshin Game is a highly open role-playing game. Its function is mainly to entertain the public and adjust life. Promote Yuanshen through this simulator, so that more people love this game. So far, these games have a large memory, which is inconvenient for many people to play. Therefore, we have streamlined the game to use less memory, lower the requirements for equipment, and expand the game community.

        And we control the game through voice recognition, the login of the game, the release of attacks and skills, and the exploration of the map all realize voice control. Its control method is relatively novel, and it also provides the possibility of other equipment operation.

The relevant program codes and resources of the entire project are placed in the Baidu network disk. If necessary, please download it yourself:

Link: https://pan.baidu.com/s/1_LAsgTz8lP34ClRWryiazQ 
Extraction code: 6sgg

If you think the blogger's article is okay, please click a little like and bookmark it.

Hope this article can help you.

If you have any errors, questions or infringements, please leave a message to contact the author. 

Bang bang cha!

 

Guess you like

Origin blog.csdn.net/qq_51399582/article/details/126153580