CN115845382A - Operation control method and device of virtual object and electronic equipment - Google Patents
Operation control method and device of virtual object and electronic equipment Download PDFInfo
- Publication number
- CN115845382A CN115845382A CN202211370094.2A CN202211370094A CN115845382A CN 115845382 A CN115845382 A CN 115845382A CN 202211370094 A CN202211370094 A CN 202211370094A CN 115845382 A CN115845382 A CN 115845382A
- Authority
- CN
- China
- Prior art keywords
- touch
- area
- virtual
- ball
- touch area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides an operation control method, an operation control device and electronic equipment of a virtual object, wherein a virtual sphere is controlled to be displayed at a specified position in a game scene in response to a game in a specified game state, and a first touch area is displayed; responding to a first touch operation aiming at the first touch area, and displaying a path identifier of the first moving path; and responding to the release operation of the first touch operation, and controlling the virtual sphere to move according to the first moving path. In the mode, the player can display the path identification of the corresponding moving path only by performing touch operation on the first touch area, so that the player can visually check the moving path of the virtual ball, the moving path of the virtual ball can be controlled by changing the touch position aiming at the first touch area, the controllability of the virtual ball is improved, the moving path of the virtual ball is enriched, and the attack success rate and the game experience of the player are improved.
Description
Technical Field
The present invention relates to the field of game technologies, and in particular, to an operation control method and apparatus for a virtual object, and an electronic device.
Background
In ball games, such as football, basketball, volleyball and the like, various attack scenes exist, such as any ball in football, a click and a corner ball, shooting and passing in basketball, serving in volleyball and the like, are also important ways for players to score, and have high competitive significance. In the related art, the flying line of the ball is marked in the screen in a screen sliding mode, and the ball can be triggered to execute the corresponding flying line after hands are released. However, the controllability of the ball is poor due to the operation mode, the attacking mode is single, the attacking success rate is low, and the game experience of the player is poor.
Disclosure of Invention
In view of this, the present invention provides an operation control method and apparatus for a virtual object, and an electronic device, so as to improve controllability of a virtual sphere, enrich a moving path of the virtual sphere, and further improve an attack success rate and game experience of a player.
In a first aspect, an embodiment of the present invention provides an operation control method for a virtual object, where a terminal device provides a graphical user interface, and the graphical user interface displays a scene picture of a game scene; the game scene comprises a virtual sphere and a plurality of virtual characters, and the method comprises the following steps: responding to the game in a specified game state, controlling the virtual sphere to be displayed at a specified position in a game scene, and displaying a first touch area; wherein the specified location is associated with a specified game state; under the appointed game state, the virtual sphere is controlled by a target virtual character in the plurality of virtual characters; responding to a first touch operation aiming at the first touch area, and displaying a path identifier of the first moving path; the first moving path is associated with a contact position of a first touch operation; and responding to the release operation of the first touch operation, triggering the virtual sphere through the target virtual character, so as to control the virtual sphere to move according to the first movement path.
Further, the step of displaying the path identifier of the first moving path in response to the first touch operation for the first touch area includes: responding to a first touch operation aiming at the first touch area, and determining a first moving path associated with a first touch position according to the first touch position of the first touch operation in the first touch area; and displaying the path identification of the first moving path.
Further, the first touch area is a circular area; the first touch area comprises a first sub-area and a second sub-area; the first sub-area is located in the central area of the first touch area, and the second sub-area is located around the first sub-area.
Furthermore, the first touch area corresponds to a ball contact position on the virtual sphere; the first sub-area corresponds to a ball contact position on the center of the virtual sphere; the second sub-region corresponds to a ball-touching position on a sphere edge of the virtual sphere.
Further, the moving path comprises a moving path for multi-angle flight; the moving angles of the moving paths associated with different positions in the first touch area are different.
Further, after the step of responding to the game play being in the designated game state, the method further comprises: displaying the second touch area; wherein the second touch area is used for: and indicating the ball-contacting force of the ball-contacting position on the virtual ball body.
Further, after the step of displaying the path identifier of the first moving path in response to the first touch operation on the first touch area, the method further includes: responding to a second touch operation aiming at the second touch area, and determining a target ball-touching force corresponding to a second touch position according to the second touch position of the second touch operation in the second touch area; different positions in the second touch area correspond to different ball contact forces; acquiring a first touch position of a first touch operation in a first touch area; determining a second moving path corresponding to the target ball contacting force and the first touch position according to a preset mapping relation; wherein, the preset mapping relationship comprises: different ball contact forces and different movement paths corresponding to the touch positions; and updating and displaying the path identifier of the first moving path as the path identifier of the second moving path.
In a second aspect, an embodiment of the present invention provides an operation control apparatus for a virtual object, where a terminal device provides a graphical user interface, and the graphical user interface displays a scene picture of a game scene; the game scene comprises a virtual sphere and a plurality of virtual characters, and the device comprises: the first touch area display module is used for responding to a game match in a specified game state, controlling the virtual sphere to be displayed at a specified position in a game scene, and displaying a first touch area; wherein the specified location is associated with a specified game state; under the appointed game state, the virtual sphere is controlled by a target virtual character in the plurality of virtual characters; the path identifier display module is used for responding to a first touch operation aiming at the first touch area and displaying a path identifier of the first moving path; the first moving path is associated with a contact point position of a first touch operation; and the virtual sphere triggering module is used for responding to the release operation of the first touch operation and triggering the virtual sphere through the target virtual character so as to control the virtual sphere to move according to the first movement path.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores computer-executable instructions capable of being executed by the processor, and the processor executes the computer-executable instructions to implement the operation control method for a virtual object according to any one of the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement a method for controlling the operation of a virtual object according to any one of the first aspect.
The embodiment of the invention has the following beneficial effects:
the invention provides an operation control method, an operation control device and electronic equipment of a virtual object, wherein a virtual sphere is controlled to be displayed at a specified position in a game scene in response to a game in a specified game state, and a first touch area is displayed; responding to a first touch operation aiming at the first touch area, and displaying a path identifier of the first moving path; and responding to the release operation of the first touch operation, and controlling the virtual sphere to move according to the first moving path. In the mode, the player can display the path identification of the corresponding moving path only by performing touch operation on the first touch area, so that the player can visually check the moving path of the virtual ball, the moving path of the virtual ball can be controlled by changing the touch position aiming at the first touch area, the controllability of the virtual ball is improved, the moving path of the virtual ball is enriched, and the attack success rate and the game experience of the player are improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an operation control method for a virtual object according to an embodiment of the present invention;
fig. 2 is a schematic view of a first touch area according to an embodiment of the disclosure;
FIG. 3 is a schematic diagram of a ball-touching position of a virtual sphere according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an operation control method for a virtual object according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another operation control method for a virtual object according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an operation control apparatus for a virtual object according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, in ball games, such as football, basketball, volleyball and the like, various attack scenes exist, such as any ball in the football, a click and a corner ball, shooting and passing in the basketball, serving in the volleyball and the like, and the various attack scenes are also important ways for players to score, so that the ball games have high competitive significance. In the related art, the flying line of the ball is marked in the screen in a screen sliding mode, and the ball can be triggered to execute the corresponding flying line after hands are released. However, the controllability of the sphere is poor due to the operation mode, the attacking mode is single, the attacking success rate is low, and the game experience of the player is poor. Especially in the football game, the goal shooting is comparatively various and complicated action, and in the real football match, the sportsman often can play different football flight lines and flight radians according to the different positions of striking the football, but can't realize the operation with the same effect of really playing the football basically in the correlation technique. The shooting mode is single, and the operation feeling of accurate shooting is lacked. The accuracy of shooting is often dependent on the line and angle drawn by the player's fingers, and the requirement for the player is high, and the predictability of the shooting effect is also weak. Based on this, the operation control method and apparatus for the virtual object and the electronic device provided by the embodiments of the present invention can be applied to electronic devices such as mobile phones, computers, and notebooks.
The operation control method of the virtual object in one embodiment of the present disclosure may be executed in a local terminal device or a server. When the operation control method of the virtual object runs on the server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (6) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and the operation of the virtual object operation control method are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the cloud game server which performs information processing is a cloud. When a game is played, a player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.
In an optional implementation manner, taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. By way of example, the local terminal device may include a display screen for presenting a graphical user interface including game screens and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
In a possible implementation manner, an embodiment of the present invention provides an operation control method for a virtual object, where a graphical user interface is provided by a terminal device, where the terminal device may be the aforementioned local terminal device, and may also be the aforementioned client device in a cloud interaction system. Wherein, the graphical user interface displays a scene picture of a game scene; the game scene comprises a virtual sphere and a plurality of virtual characters. As shown in fig. 1, the method comprises the steps of:
step S102, responding to the game in the appointed game state, controlling the virtual sphere to be displayed at the appointed position in the game scene, and displaying the first touch area; wherein the specified location is associated with a specified game state; under the appointed game state, the virtual sphere is controlled by a target virtual character in the plurality of virtual characters;
the game scene is generally a game scene of a ball game, and may be a game scene of a soccer game, a game scene of a basketball game, a game scene of a volleyball game, or the like. The virtual ball can be a virtual football, a virtual basketball, a virtual volleyball or the like. The virtual character may be a player-controlled virtual character or a non-player-controlled virtual character. The target virtual character is a player-controlled virtual character, that is, a player-controlled virtual character corresponding to the terminal device. In general, different games are provided with a plurality of different game states, such as a hitting ball, an arbitrary ball, a corner ball and the like in a football game, a sideline ball, a penalty ball and the like in a basketball game, a service ball in a volleyball and the like. The specified game state may be any of the game states described above. The designated position is associated with a designated game state, e.g., a goal in soccer, the designated position is a goal position in a soccer game scene, e.g., a penalty in basketball, the designated position is within a semicircle after the penalty in a basketball game scene, e.g., a serve in volleyball, the designated position is a serve area in a volleyball game scene.
The first touch area is generally referred to as an interactive control, and has a specified shape, such as a circle, a rectangle, an ellipse, and the like. Each different position on the first touch area corresponds to a different movement path of the virtual sphere. In addition, the first touch area corresponds to a ball contact position of the virtual ball. The moving path of the virtual ball corresponding to each position is consistent with the flight path generated by triggering the virtual ball in the real match. For example, the center position of the first touch area corresponds to the moving path of the virtual sphere as a straight line. For another example, the left edge position of the first touch area corresponds to an arc-shaped moving path of the virtual sphere (e.g., an arc-shaped path flying to the left).
For example, when a current game play in the soccer game is in a state of a dead ball, the virtual sphere is controlled to be displayed at a ball-hitting position in the game scene, and a first touch area is displayed on the graphical user interface, where the first touch area may be a blank area displayed in the current scene picture, or a designated area (such as a lower left corner or a lower right corner of the scene picture), or may be displayed in a surrounding area of the virtual sphere.
Step S104, responding to a first touch operation aiming at the first touch area, and displaying a path identifier of a first moving path; the first moving path is associated with a contact position of a first touch operation;
the first touch operation may be a touch click operation or a touch slide operation, the path indicator is usually a line segment with an arc, an indicator start point of the path indicator is located in the first touch area, and an indicator end point is usually an arrow for indicating a moving direction of the virtual sphere.
Specifically, the player may perform touch clicking in the first touch area, then display a path identifier of the first moving path, and if the currently displayed path identifier is not the flight route that the player wants, the player may perform a sliding operation based on the current touch clicking operation on the premise that the finger does not leave the screen, and then display the path identifier of the moving path associated with the touch position after the sliding operation is completed.
Step S106, in response to the release operation of the first touch operation, triggering the virtual sphere through the target virtual character to control the virtual sphere to move according to the first movement path.
The release operation is usually a touch ending operation of the first touch operation, that is, the player leaves the finger touching the screen from the screen. In actual implementation, if the currently displayed path of the first moving path is identified as the flight path desired by the player, the player may leave the finger from the screen of the terminal device, and at this time, in response to the release operation of the first touch operation, the target virtual character specifies the action of triggering the virtual sphere, i.e., the action of kicking the ball. For example, when a user clicks a ball in a soccer game, the target virtual character moves to the position of the virtual ball, and the user plays the ball with respect to the virtual ball. As another example, with a penalty in a basketball game, the target virtual character may perform a shooting action in a semicircle outside the penalty line. Because the target virtual character triggers the virtual sphere, the terminal device can control the virtual sphere to fly according to the first moving path. The flying speed can be preset.
In addition, in response to the release operation of the first touch operation, the target virtual character is controlled to execute a target action for triggering the virtual sphere, wherein the target actions corresponding to different touch positions are different.
The embodiment of the invention provides an operation control method of a virtual object, which is used for responding to a game in a specified game state, controlling a virtual sphere to be displayed at a specified position in a game scene, and displaying a first touch area; the position in the first touch area corresponds to a moving path of the virtual sphere; responding to a first touch operation aiming at the first touch area, and displaying a path identifier of the first moving path; and controlling the virtual sphere to move according to the first movement path in response to the release operation of the first touch operation. In the mode, the player can display the path identification of the corresponding moving path only by performing touch operation on the first touch area, so that the player can visually check the moving path of the virtual ball, the moving path of the virtual ball can be controlled by changing the touch position of the first touch area, the controllability of the virtual ball is improved, the moving path of the virtual ball is enriched, and the attack success rate and the game experience of the player are improved.
The following describes the step of displaying the path identifier of the first moving path in response to the first touch operation with respect to the first touch area, and one possible implementation manner is: responding to a first touch operation aiming at the first touch area, and determining a first moving path corresponding to a first touch position according to the first touch position of the first touch operation in the first touch area; and displaying the path identification of the first moving path.
The first touch position may be a touch click position of the first touch operation, may be a sliding end position of the first touch operation, and may be a sliding contact position of the first touch operation. In actual implementation, a player performs touch operation in the first touch area, first determines a first touch position in the first touch area, and then determines a first moving path corresponding to the first touch position according to a moving path corresponding to the first touch position. And finally, generating a corresponding path identifier according to the first moving path, and displaying the moving path on a graphical user interface. In the method, the movement path is associated with each position in the first touch area, so that the movement path corresponding to the touch position can be displayed in real time when a player touches the first touch area, the operation is simple, the flight mode of a real match can be better simulated, and the diversity of flight routes is enriched.
The first touch area is a circular area; the first touch area comprises a first sub-area and a second sub-area; the first sub-area is located in the central area of the first touch area, and the second sub-area is located around the first sub-area.
The first sub-region may be circular, and the second sub-region may be circular surrounding the first sub-region. For example, as shown in fig. 2, the first touch area is a circular area, the first sub-area is a gray circular area located in a central area of the first touch area, and the second sub-area is a white circular ring located around the first sub-area. In the mode, the first touch area is set to be a circular ring, and the first sub-area and the second sub-area are simultaneously arranged, so that the touch positions of the first touch area are enriched.
In addition, the first touch area corresponds to a ball contact position on the virtual sphere; the first sub-area corresponds to a ball contact position on the center of the virtual sphere; the second sub-region corresponds to a ball-touching position on a sphere edge of the virtual sphere.
For example, the center position of the first touch area corresponds to the ball contact position of the center area on the virtual sphere, and the edge position of the first touch area corresponds to the initial ball contact position of the edge area on the virtual sphere. Illustratively, as shown in fig. 2 and 3, the first sub-area in fig. 2 corresponds to the central hitting area in fig. 3 (i.e., the ball contact position on the center of the virtual sphere), and the second sub-area in fig. 2 corresponds to the edge hitting area in fig. 3 (i.e., the ball contact position on the edge of the virtual sphere). That is, when the player touches the first sub-area, it is equivalent to the real kicking, the player kicks the center hitting area of the football, when the player touches the second sub-area, it is equivalent to the real kicking, the player mentions the edge hitting area of the football. In the mode, by setting the corresponding relation between the first ball contacting area and the virtual ball body, a player can simulate a real attack mode by triggering different ball hitting areas.
Further, the moving path comprises a moving path for multi-angle flight; the moving angles of the moving paths associated with different positions in the first touch area are different.
The movement path of the multi-angle flight generally includes movement paths of various arcs, for example, a movement path of a vertical arc (i.e., a movement path of a vertical throw), a movement path of an upper left corner (i.e., a movement path of a falling from an upper left corner), a movement path of an upper right corner (i.e., a movement path of a falling from an upper right corner), and the like. For example, to the goal of football game, when the ball was played in the real goal shooting, the sportsman usually can play the flight route of various radians, such as "banana ball" etc. consequently, in order to simulate more real scene of playing the ball, set up the moving path of different removal angles in the different positions of first touch-control region, realized more real control to virtual spheroid.
The description will be given by taking a game scene as a soccer game scene as an example: for example, as shown in fig. 4, when a player wants to trigger a shooting operation, the player may place a finger on the ring (i.e., the first touch area) that he wants to hit, the finger on the inner ring (i.e., the first sub-area) indicates that the player is about to play a center of a football, and the finger on the outer ring indicates that the player is about to play a periphery of the football. If the finger falls behind the inner circle, as shown in fig. 4, the line mark of the football flight line which may be triggered when the player kicks the center of the football will be displayed. By sliding the fingers in the circular ring, the touch position which cannot be changed, namely different ball contact positions are changed. If the finger falls behind the outer ring, as shown in fig. 5, it will show the line identification of the football flight line that may be triggered when the player kicks the outer part of the football. After the flight line of the football is determined, the fingers are released, the player role designates the shooting action, and the football is controlled to move according to the displayed identification.
Through judging the player finger at the downthehole position that falls, thereby judge the position that the football touched, under this operation mode, the football center will appear representing the football and touch two-layer ring in the regional inside and outside of football, represent center batting district and edge batting district respectively, the player accessible triggers the flight line marking off that the football was looked over in different batting areas, judge the angle and the direction of shoot according to the football flight line that the player triggered again, these operations will be better the true football shooting mode of simulation, the diversification of shoot operation has been enriched, the competitiveness of football class hand trip has been promoted.
Further, after the step of responding to the game play in the designated game state, the method further comprises: displaying the second touch area; wherein the second touch area is used for: and indicating the ball-contacting force of the ball-contacting position on the virtual ball body.
The second touch area may be a bar-shaped area or an area with other shapes. The second touch area is used for controlling the ball-touching force of the ball-touching position on the virtual sphere. That is, the player may touch the second touch area while touching the first touch area. In general, each position in the first touch area is preset with an associated moving path, but if a player finds that there is no flight path he wants after touching the first touch area, he can touch the second touch area at this time, and the moving path displayed at present can be changed by changing the force of the ball touch. In this mode, through the second touch area that shows control ball dynamics of touching, can further enrich the line of movement who becomes virtual football.
After the step of displaying the path identifier of the first moving path in response to the first touch operation on the first touch area, the method further includes: responding to a second touch operation aiming at the second touch area, and determining a target ball-touching force corresponding to a second touch position according to the second touch position of the second touch operation in the second touch area; different positions in the second touch area correspond to different ball contact forces; acquiring a first touch position of a first touch operation in a first touch area; determining a second moving path corresponding to the target ball-touching force and the first touch position according to a preset mapping relation; wherein, the preset mapping relationship comprises: different ball contact forces and different movement paths corresponding to the touch positions; and updating and displaying the path identifier of the first moving path as the path identifier of the second moving path.
The second touch operation may be a touch click operation or a touch slide operation, the second touch area may be a bar-shaped area or an area of another shape, each position of the second touch area corresponds to a different ball contact force, and when a player performs the touch operation on the first touch area, the player does not obtain a suitable movement route, and performs the touch operation on the second touch area on the premise that the fingers do not leave the first touch area, so as to change the ball contact force at the ball contact position determined by the first touch area. During actual implementation, the target ball touch force corresponding to the second touch position is determined according to the second touch operation, then the first touch position of the first touch operation in the first touch area is obtained, and finally the target ball touch force and the second moving path corresponding to the first touch position are determined from a preset mapping relation.
For example, when the radian of the first moving path corresponding to the currently displayed first touch position is considered to be not large enough by the player, the player can control the second touch area at the moment, increase the ball-touching force of the currently touched ball position, and increase the radian of the currently displayed first moving path. Or, the player thinks that the radian is too large in the first moving path corresponding to the currently displayed first touch position, and at the moment, the player can control the second touch area, so that the ball-touching force of the currently touched ball position is reduced, and the radian of the currently displayed first moving path is reduced. In the mode, the ball contacting force can be changed through touch operation on the second touch area, so that the currently displayed moving path is changed, and the game experience of a player is further improved.
Corresponding to the above method embodiment, the embodiment of the present invention provides an operation control apparatus for a virtual object, which provides a graphical user interface through a terminal device, where the graphical user interface displays a scene picture of a game scene; the game scene comprises a virtual sphere and a plurality of virtual characters, as shown in fig. 6, the device comprises:
the first touch area display module 61 is configured to control the virtual sphere to be displayed at a designated position in a game scene in response to that the game match is in a designated game state, and display a first touch area; wherein the specified location is associated with a specified game state; under the appointed game state, the virtual sphere is controlled by a target virtual character in the plurality of virtual characters;
a path identifier display module 62, configured to display a path identifier of the first moving path in response to a first touch operation for the first touch area; the first moving path is associated with a contact position of a first touch operation;
the virtual sphere triggering module 63 is configured to trigger the virtual sphere through the target virtual character in response to a release operation of the first touch operation, so as to control the virtual sphere to move according to the first movement path.
The embodiment of the invention provides an operation control device of a virtual object, which responds to the situation that game play is in a specified game state, controls a virtual sphere to be displayed at a specified position in a game scene, and displays a first touch area; responding to a first touch operation aiming at the first touch area, and displaying a path identifier of the first moving path; and responding to the release operation of the first touch operation, and controlling the virtual sphere to move according to the first moving path. In the mode, the player can display the path identification of the corresponding moving path only by performing touch operation on the first touch area, so that the player can visually check the moving path of the virtual ball, the moving path of the virtual ball can be controlled by changing the touch position aiming at the first touch area, the controllability of the virtual ball is improved, the moving path of the virtual ball is enriched, and the attack success rate and the game experience of the player are improved.
Further, the path identifier display module is further configured to: responding to a first touch operation aiming at the first touch area, and determining a first moving path associated with a first touch position according to the first touch position of the first touch operation in the first touch area; and displaying the path identification of the first moving path.
Further, the first touch area is a circular area; the first touch area comprises a first sub-area and a second sub-area; the first sub-area is located in the central area of the first touch area, and the second sub-area is located around the first sub-area.
Further, the first touch area corresponds to a ball contact position on the virtual sphere; the first sub-area corresponds to a ball contact position on the center of the virtual sphere; the second sub-region corresponds to a ball-touching position on a sphere edge of the virtual sphere.
Further, the moving path comprises a moving path for multi-angle flight; the moving angles of the moving paths associated with different positions in the first touch area are different.
Further, the apparatus further includes a second touch area display module configured to: displaying the second touch area; wherein the second touch area is used for: and indicating the ball-contacting force of the ball-contacting position on the virtual ball body.
Further, the device further comprises a ball touch force control module, which is used for: responding to a second touch operation aiming at the second touch area, and determining a target ball-touching force corresponding to a second touch position according to the second touch position of the second touch operation in the second touch area; different positions in the second touch area correspond to different ball contact forces; acquiring a first touch position of a first touch operation in a first touch area; determining a second moving path corresponding to the target ball-touching force and the first touch position according to a preset mapping relation; wherein, the preset mapping relation comprises: different ball contact forces and different movement paths corresponding to the touch positions; and updating and displaying the path identifier of the first moving path as the path identifier of the second moving path.
The operation control device for the virtual object provided by the embodiment of the present invention has the same technical features as the operation control method for the virtual object provided by the above embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The embodiment also provides an electronic device, which comprises a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to realize the operation control method of the virtual object. The electronic device may be a server or a terminal device.
Referring to fig. 7, the electronic device includes a processor 100 and a memory 101, where the memory 101 stores machine executable instructions capable of being executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the operation control method of the virtual object.
Further, the electronic device shown in fig. 7 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.
The Memory 101 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
responding to the game in a specified game state, controlling the virtual sphere to be displayed at a specified position in a game scene, and displaying a first touch area; wherein the specified location is associated with a specified game state; under the appointed game state, the virtual sphere is controlled by a target virtual character in the plurality of virtual characters; responding to a first touch operation aiming at the first touch area, and displaying a path identifier of the first moving path; the first moving path is associated with a contact point position of a first touch operation; and responding to the release operation of the first touch operation, triggering the virtual sphere through the target virtual character to control the virtual sphere to move according to the first moving path. In the mode, the player can display the path identification of the corresponding moving path only by performing touch operation on the first touch area, so that the player can visually check the moving path of the virtual ball, the moving path of the virtual ball can be controlled by changing the touch position of the first touch area, the controllability of the virtual ball is improved, the moving path of the virtual ball is enriched, and the attack success rate and the game experience of the player are improved.
The step of displaying the path identifier of the first moving path in response to the first touch operation on the first touch area includes: responding to a first touch operation aiming at the first touch area, and determining a first moving path associated with a first touch position according to the first touch position of the first touch operation in the first touch area; and displaying the path identification of the first moving path. In the method, the movement path is associated with each position in the first touch area, so that the movement path corresponding to the touch position can be displayed in real time when a player touches the first touch area, the operation is simple, the flight mode of a real match can be better simulated, and the diversity of flight routes is enriched.
The first touch area is a circular area; the first touch area comprises a first sub-area and a second sub-area; the first sub-area is located in the central area of the first touch area, and the second sub-area is located around the first sub-area. In the mode, the first touch area is set to be a circular ring, and the first sub-area and the second sub-area are simultaneously arranged, so that the touch positions of the first touch area are enriched.
The first touch area corresponds to a ball contact position on the virtual sphere; the first sub-area corresponds to a ball contact position on the center of the virtual sphere; the second sub-region corresponds to a ball-touching position on a sphere edge of the virtual sphere. In the mode, by setting the corresponding relation between the first ball contacting area and the virtual ball body, a player can simulate a real attack mode by triggering different ball hitting areas.
The moving path comprises a moving path for multi-angle flight; the moving angles of the moving paths associated with different positions in the first touch area are different. In the mode, in order to simulate a more real kicking scene, moving paths with different moving angles are set at different positions of the first touch area, so that more real control over the virtual sphere is realized.
After the step of responding to the game play in the designated game state, the method further comprises the following steps: displaying the second touch area; wherein the second touch area is used for: and indicating the ball-contacting force of the ball-contacting position on the virtual ball body. In this mode, through the second touch area that shows control ball dynamics of touching, can further enrich the line of movement who becomes virtual football.
After the step of displaying the path identifier of the first moving path in response to the first touch operation on the first touch area, the method further includes: responding to a second touch operation aiming at the second touch area, and determining a target ball-touching force corresponding to a second touch position according to the second touch position of the second touch operation in the second touch area; different positions in the second touch area correspond to different ball contact forces; acquiring a first touch position of a first touch operation in a first touch area; determining a second moving path corresponding to the target ball-touching force and the first touch position according to a preset mapping relation; wherein, the preset mapping relation comprises: different ball contact forces and different movement paths corresponding to the touch positions; and updating and displaying the path identifier of the first moving path as the path identifier of the second moving path. In the mode, the ball contacting force can be changed through touch operation on the second touch area, so that the currently displayed moving path is changed, and the game experience of the player is further improved.
The embodiment also provides a machine-readable storage medium, in which machine-executable instructions are stored, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the operation control method for the virtual object, and a graphical user interface is provided through the terminal device, and the graphical user interface displays scene pictures of game scenes; the game scene comprises a virtual sphere and a plurality of virtual roles, and the method specifically comprises the following steps:
responding to the game in a specified game state, controlling the virtual sphere to be displayed at a specified position in a game scene, and displaying a first touch area; wherein the specified location is associated with a specified game state; in a designated game state, the virtual sphere is controlled by a target virtual character of the plurality of virtual characters; responding to a first touch operation aiming at the first touch area, and displaying a path identifier of the first moving path; the first moving path is associated with a contact position of a first touch operation; and responding to the release operation of the first touch operation, triggering the virtual sphere through the target virtual character to control the virtual sphere to move according to the first moving path. In the mode, the player can display the path identification of the corresponding moving path only by performing touch operation on the first touch area, so that the player can visually check the moving path of the virtual ball, the moving path of the virtual ball can be controlled by changing the touch position of the first touch area, the controllability of the virtual ball is improved, the moving path of the virtual ball is enriched, and the attack success rate and the game experience of the player are improved.
The step of displaying the path identifier of the first moving path in response to the first touch operation on the first touch area includes: responding to a first touch operation aiming at the first touch area, and determining a first moving path associated with a first touch position according to the first touch position of the first touch operation in the first touch area; and displaying the path identification of the first moving path. In the method, the movement path is associated with each position in the first touch area, so that the movement path corresponding to the touch position can be displayed in real time when a player touches the first touch area, the operation is simple, the flight mode of a real match can be better simulated, and the diversity of flight routes is enriched.
The first touch area is a circular area; the first touch area comprises a first sub-area and a second sub-area; the first sub-area is located in the central area of the first touch area, and the second sub-area is located around the first sub-area. In the mode, the first touch area is set to be a circular ring, and the first sub-area and the second sub-area are simultaneously arranged, so that the touch positions of the first touch area are enriched.
The first touch area corresponds to a ball contact position on the virtual sphere; the first sub-area corresponds to a ball contact position on the center of the virtual sphere; the second sub-region corresponds to a ball-touching position on a sphere edge of the virtual sphere. In the mode, by setting the corresponding relation between the first ball contacting area and the virtual ball body, a player can simulate a real attack mode by triggering different ball hitting areas.
The moving path comprises a moving path for multi-angle flight; the moving angles of the moving paths associated with different positions in the first touch area are different. In the mode, in order to simulate a more real kicking scene, the moving paths with different moving angles are arranged at different positions of the first touch area, so that more real control over the virtual sphere is realized
After the step of responding to the game play being in the designated game state, the method further comprises: displaying the second touch area; wherein the second touch area is used for: and indicating the ball-contacting force of the ball-contacting position on the virtual ball body. In this mode, through the second touch area that shows control ball dynamics of touching, can further enrich the line of movement who becomes virtual football.
After the step of displaying the path identifier of the first moving path in response to the first touch operation on the first touch area, the method further includes: responding to a second touch operation aiming at the second touch area, and determining a target ball-touching force corresponding to a second touch position according to the second touch position of the second touch operation in the second touch area; different positions in the second touch area correspond to different ball contact forces; acquiring a first touch position of a first touch operation in a first touch area; determining a second moving path corresponding to the target ball contacting force and the first touch position according to a preset mapping relation; wherein, the preset mapping relation comprises: different ball contact forces and different movement paths corresponding to the touch positions; and updating and displaying the path identifier of the first moving path as the path identifier of the second moving path. In the mode, the ball contacting force can be changed through touch operation on the second touch area, so that the currently displayed moving path is changed, and the game experience of a player is further improved.
The operation control method, apparatus, electronic device, and computer program product of the system for virtual objects provided in the embodiments of the present invention include a computer-readable storage medium storing program codes, where instructions included in the program codes may be used to execute the methods described in the foregoing method embodiments, and specific implementations may refer to the method embodiments and are not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. The operation control method of the virtual object is characterized in that a graphical user interface is provided through terminal equipment, and the graphical user interface displays a scene picture of a game scene; the game scene comprises a virtual sphere and a plurality of virtual characters, and the method comprises the following steps:
responding to a game in a specified game state, controlling the virtual sphere to be displayed at a specified position in the game scene, and displaying a first touch area; wherein the specified location is associated with the specified game state; in the designated game state, the virtual sphere is controlled by a target virtual character of the plurality of virtual characters;
responding to a first touch operation aiming at the first touch area, and displaying a path identifier of a first moving path; the first movement path is associated with a contact position of the first touch operation;
and responding to the release operation of the first touch operation, triggering the virtual sphere through the target virtual character to control the virtual sphere to move according to the first moving path.
2. The method of claim 1, wherein the step of displaying a path identifier of a first movement path in response to the first touch operation with respect to the first touch area comprises:
responding to a first touch operation aiming at the first touch area, and determining a first moving path associated with a first touch position according to the first touch position of the first touch operation in the first touch area;
and displaying the path identification of the first moving path.
3. The method of claim 1, wherein the first touch area is a circular area; the first touch area comprises a first sub area and a second sub area; the first sub-area is located in a center area of the first touch area, and the second sub-area is located around the first sub-area.
4. The method of claim 3, wherein the first touch area corresponds to a ball-contacting location on the virtual sphere; the first sub-area corresponds to a ball contact position on the center of the virtual sphere; the second sub-region corresponds to a ball-touching position on a sphere edge of the virtual sphere.
5. The method of claim 1, wherein the movement path comprises a multi-angle flight movement path; and the movement angles of the movement paths associated with different positions in the first touch area are different.
6. The method of claim 1, wherein in response to the step of the game play being in the designated game state, the method further comprises:
displaying the second touch area; wherein the second touch area is to: and indicating the ball-contacting force of the ball-contacting position on the virtual ball body.
7. The method of claim 6, wherein after the step of displaying the path identifier of the first movement path in response to the first touch operation with respect to the first touch area, the method further comprises:
responding to a second touch operation aiming at a second touch area, and determining a target ball touch force corresponding to a second touch position according to the second touch position of the second touch operation in the second touch area; different positions in the second touch area correspond to different ball contact forces;
acquiring a first touch position of the first touch operation in the first touch area;
determining a second moving path corresponding to the target ball-touching force and the first touch position according to a preset mapping relation; wherein the preset mapping relationship comprises: different ball contact forces and different movement paths corresponding to the touch positions;
and updating and displaying the path identifier of the first moving path as the path identifier of the second moving path.
8. An operation control device of a virtual object is characterized in that a graphical user interface is provided through a terminal device, and the graphical user interface displays a scene picture of a game scene; the game scene comprises a virtual sphere and a plurality of virtual characters, and the device comprises:
the first touch area display module is used for responding to a game match in a specified game state, controlling the virtual sphere to be displayed at a specified position in the game scene, and displaying a first touch area; wherein the specified location is associated with the specified game state; in the designated game state, the virtual sphere is controlled by a target virtual character of the plurality of virtual characters;
a path identifier display module, configured to display a path identifier of a first moving path in response to a first touch operation for the first touch area; the first movement path is associated with a contact position of the first touch operation;
and the virtual sphere triggering module is used for triggering the virtual sphere through the target virtual character in response to the release operation of the first touch operation so as to control the virtual sphere to move according to the first moving path.
9. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of operation control of a virtual object according to any one of claims 1 to 7.
10. A computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of operation control of a virtual object according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211370094.2A CN115845382A (en) | 2022-11-03 | 2022-11-03 | Operation control method and device of virtual object and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211370094.2A CN115845382A (en) | 2022-11-03 | 2022-11-03 | Operation control method and device of virtual object and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115845382A true CN115845382A (en) | 2023-03-28 |
Family
ID=85662385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211370094.2A Pending CN115845382A (en) | 2022-11-03 | 2022-11-03 | Operation control method and device of virtual object and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115845382A (en) |
-
2022
- 2022-11-03 CN CN202211370094.2A patent/CN115845382A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113244608A (en) | Control method and device of virtual object and electronic equipment | |
KR102495380B1 (en) | Apparatus and method for controlling a user interface of a computing device | |
CN112535866A (en) | Method and device for processing virtual object in game and electronic equipment | |
JP5017381B2 (en) | Game system and game terminal | |
CN113813604A (en) | Information interaction method and device in game and electronic equipment | |
JP7510290B2 (en) | Game program and game method | |
CN116212384A (en) | Game operation control method and device and electronic equipment | |
CN115845382A (en) | Operation control method and device of virtual object and electronic equipment | |
CN111841003B (en) | Information processing method and device in game and electronic equipment | |
CN115845383A (en) | Interactive control method and device for football game and electronic equipment | |
JP6278482B2 (en) | GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM | |
JP6277474B2 (en) | GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM | |
JP2018083057A (en) | Game program, method and information processing device | |
CN115634454A (en) | Information processing method and device and electronic equipment | |
JP6278998B2 (en) | GAME METHOD AND GAME PROGRAM | |
JP6217010B2 (en) | GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM | |
JP2018161513A (en) | Game program, method, and information processing unit | |
JP6307651B1 (en) | GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE | |
JP6162876B1 (en) | GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE | |
CN115738248A (en) | Interactive control method and device for tactical fight and electronic equipment | |
JP6162875B1 (en) | GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE | |
CN118416480A (en) | Game prop control method and device and electronic equipment | |
KR20130040390A (en) | Method and system for controlling charater of soccer game | |
CN118416481A (en) | Game prop control method and device and electronic equipment | |
JP2022139469A (en) | Game program, game processing method, and game device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |