Network game control method and device

文档序号:1699121 发布日期:2019-12-13 浏览:29次 中文

阅读说明:本技术 一种网络游戏控制方法及装置 (Network game control method and device ) 是由 欧哲华 王子硕 于 2019-09-05 设计创作,主要内容包括:本申请提供一种网络游戏控制方法及装置,涉及计算机技术领域。该方法包括:游戏玩家登陆的目标客户端获得当前显示场景下,游戏玩家针对登录的目标角色参与音乐合奏时输入的演奏状态指示信息;在目标角色的演奏状态发送变化时,将更新后的演奏状态指示信息发送给后台服务器,并接收后台服务器发送的当前显示场景下,各个其他游戏玩家登陆并参与音乐合奏的其他角色的演奏状态指示信息;根据目标角色的演奏状态指示信息以及其他角色的演奏状态指示信息,分别控制目标角色和各个其他角色在当前显示场景中,进行音乐合奏的演奏状态。本申请实施例中提供一种在音乐合奏中共享各个角色的演奏状态指示信息的方法,实现多玩家的在线合奏。(The application provides a network game control method and device, and relates to the technical field of computers. The method comprises the following steps: a target client terminal logged in by a game player obtains performance state indication information input by the game player when the game player participates in music ensemble aiming at the logged-in target role in the current display scene; when the playing state of the target character changes, the updated playing state indicating information is sent to the background server, and the playing state indicating information of other characters, which are logged in and participate in the music ensemble, of each other game player in the current display scene sent by the background server is received; and respectively controlling the target character and each other character to perform the performance state of the music ensemble in the current display scene according to the performance state indication information of the target character and the performance state indication information of the other characters. The embodiment of the application provides a method for sharing performance state indication information of each character in a music ensemble, and online ensemble of multiple players is realized.)

1. A network game control method, comprising:

A target client terminal logged in by a game player obtains performance state indication information input by the game player when the game player participates in music ensemble aiming at the logged-in target role in the current display scene;

when the playing state of the target character changes, the updated playing state indicating information is sent to a background server, and the playing state indicating information of other characters, which are logged in by other game players and participate in music ensemble, is received from the background server under the current display scene;

And respectively controlling the target character and each other character to perform the performance state of the music ensemble in the current display scene according to the performance state indication information of the target character and the performance state indication information of other characters.

2. The method as claimed in claim 1, wherein the obtaining, by the target client that the game player logs in, performance state indication information that is input by the game player when participating in the music ensemble with respect to the logged-in target character in the current display scene includes:

Determining that the target role enters a preset logic area, and displaying an ensemble prompt interface; the preset logic area is used for indicating an area for participating in ensemble, and the ensemble prompting interface is used for prompting the target role to select to participate in ensemble or not to participate in ensemble;

And obtaining performance state indication information of the target character participating in the ensemble in response to the participation ensemble operation of the game player for the target character.

3. The method as claimed in claim 2, wherein the obtaining, by the target client that the game player logs in, performance state indication information that is input by the game player when the game player participates in the music ensemble with respect to the logged-in target character in the current display scene specifically includes:

If the target character is switched from the preset logic area to other areas under the operation of the game player, determining that the playing state of the target character is changed from an ensemble state to a non-ensemble state; alternatively, the first and second electrodes may be,

And responding to an ensemble ending operation of a game player for the target character, or determining that the performance state of the target character is changed from an ensemble state to a non-ensemble state if the target character ensemble duration is determined to reach the ensemble total duration set for each character.

4. the method of claim 1, further comprising:

When the playing state of the target character is an ensemble state, acquiring music data input by a game player in the current display scene aiming at the target character; and are

And playing the music data input by the game player aiming at the target character.

5. The method of claim 4, further comprising:

Sending music data input by the game player aiming at a target character to the background server;

Receiving music data of other roles participating in music ensemble sent by the background server;

and synthesizing the music data of all the characters participating in the music ensemble, and playing the synthesized music data.

6. The method of claim 5, further comprising:

and when the target character changes from the ensemble state to the non-ensemble state, stopping playing the synthesized music data and playing the music data of other characters participating in the music ensemble.

7. The method according to claim 5 or 6, wherein synthesizing the music data of all characters participating in the music ensemble comprises:

in the current display scene, the volume of music data of a character having a smaller distance from the target character is larger.

8. The method of claim 2 or 3, further comprising:

Displaying instruments that can be selected when the music is ensemble-played, in response to the participation in the ensemble operation by the game player with respect to the target character;

Acquiring the types of the instruments input by the game player aiming at the target character, and sending the types of the instruments input aiming at the target character to the background server;

receiving an ensemble score which is sent by the background server and is associated with the musical instrument category;

And displaying a teaching picture of musical performance in the current display scene according to the ensemble music score associated with the musical instrument type.

9. a network game control method, comprising:

obtaining performance state indication information input by a game player by a target character from a target client which is logged in by the game player by the target character;

Selecting a display scene containing a target role from current display scenes corresponding to each role participating in the game;

And respectively sending the performance state indication information of the target character to each associated client side of the current display scene containing the target character, so that each associated client side controls the target character to perform the performance state of the music ensemble in the current display scene according to the performance state indication information of the target character.

10. the method of claim 9, wherein obtaining, from a target client that a game player logs in with a target character, performance state indication information that the target character inputs at the game player, comprises:

and receiving the performance state indication information of the target character participation ensemble sent by the target client.

11. The method of claim 10, further comprising:

And receiving music data input by a game player in the current display scene aiming at the target character from the target client, and sending the music data of other characters participating in the music ensemble to the target client.

12. the method of any of claims 9-11, further comprising:

Receiving the instrument type input by the game player for a target character, which is sent by the target client;

and sending the ensemble music score associated with the instrument category to the target client.

13. the method of any of claims 9-11, further comprising:

Synchronizing performance status indication information of other characters and/or music data of other characters from the blockchain;

And sending the performance state indication information of the other characters and/or the music data of the other characters to the target client.

14. An online game control apparatus, comprising:

the acquisition module is used for acquiring performance state indication information input by a game player when the game player participates in music ensemble aiming at a logged-in target role in a current display scene by a target client for logging in by the game player;

the receiving and sending module is used for sending the updated performance state indicating information to the background server when the performance state of the target character is changed, and receiving the performance state indicating information of other characters, which are logged in and participate in the music ensemble, of each other game player in the current display scene sent by the background server;

And the control module is used for respectively controlling the target character and each other character to perform the performance state of the music ensemble in the current display scene according to the performance state indication information of the target character and the performance state indication information of the other characters.

15. An online game control apparatus, comprising:

The system comprises a transceiving module, a target client and a display module, wherein the transceiving module is used for acquiring performance state indication information input by a target character in the game player from the target client logged in by the game player in the form of the target character;

the selection module is used for selecting a display scene containing a target role from the current display scene corresponding to each role participating in the game;

The transceiver module is further configured to send the performance state indication information of the target character to each associated client of each current display scene including the target character, so that each associated client controls the target character to perform the performance state of the music ensemble in the current display scene according to the performance state indication information of the target character.

40页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种手机游戏中讨论对象显示方法、装置和服务器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类