Virtual resource delivery control method and device, computer equipment and storage medium

文档序号:146222 发布日期:2021-10-26 浏览:30次 中文

阅读说明:本技术 虚拟资源的投放控制方法、装置、计算机设备及存储介质 (Virtual resource delivery control method and device, computer equipment and storage medium ) 是由 王鑫 刘双 于 2021-07-30 设计创作,主要内容包括:本申请实施例公开了一种虚拟资源的投放控制方法、装置、计算机设备及存储介质,当玩家想要在第一虚拟场景中的目标投放位置投放目标虚拟资源时,可以做出目标虚拟资源的使用触发操作,然后在出现的第二虚拟场景中移动资源指示器,直至移动到第二虚拟场景中与目标投放位置对应的参照投放位置,使得终端可以根据参照投放位置在第一虚拟场景中确定目标投放位置,直接在目标投放位置投放目标虚拟资源,使得玩家可以将目标虚拟资源精准地投放至游戏场景的目标投放位置,降低对玩家投放虚拟投掷资源的技巧要求。(The embodiment of the application discloses a virtual resource launching control method, a virtual resource launching control device, a computer device and a storage medium, when a player wants to launch a target virtual resource at a target launching position in a first virtual scene, a target virtual resource using triggering operation can be performed, then a resource indicator is moved in a second virtual scene until the player moves to a reference launching position corresponding to the target launching position in the second virtual scene, so that a terminal can determine the target launching position in the first virtual scene according to the reference launching position and launch the target virtual resource at the target launching position directly, the player can launch the target virtual resource to the target launching position in a game scene accurately, and the skill requirement of launching a virtual throwing resource by the player is reduced.)

1. A method for controlling virtual resource delivery, comprising:

displaying a first virtual scene and a virtual object positioned in the first virtual scene through a graphical user interface, wherein the virtual object is configured to respond to touch operation aiming at the graphical user interface to execute game behaviors;

responding to a usage triggering operation of a target virtual resource, displaying a second virtual scene and a resource indicator located in the second virtual scene through the graphical user interface, wherein the resource indicator is used for visually indicating a release position of the target virtual resource;

controlling the resource indicator to move in the second virtual scene in response to a move operation on the resource indicator;

determining a reference drop position of the resource indicator in the second virtual scene in response to a position confirmation instruction for the resource indicator;

and determining a target launching position of the target virtual resource in the first virtual scene according to the reference launching position, and launching the target virtual resource at the target launching position of the first virtual scene.

2. The method of claim 1, wherein the second virtual scene has a scene layout corresponding to the first virtual scene.

3. The method of claim 1, wherein the second virtual scene includes a second scene element, and wherein the second scene element is used to represent a first scene element in at least a portion of the first virtual scene, and wherein a position of the second scene element in the second virtual scene is used to represent a position of the first scene element in the first virtual scene.

4. The method of claim 1, further comprising:

and determining the display range of the second virtual scene in the graphical user interface according to the position of the resource indicator in the second virtual scene.

5. The method of claim 1, wherein prior to displaying, via the graphical user interface, a second virtual scene and a resource indicator located in the second virtual scene, further comprising:

and determining the initial display range of the second virtual scene in the graphical user interface according to the position and/or orientation of the virtual object in the first virtual scene when the usage trigger operation occurs.

6. The method of claim 1, wherein prior to displaying, via the graphical user interface, a second virtual scene and a resource indicator located in the second virtual scene, further comprising:

determining an initial position of the resource indicator in the second virtual scene according to a position and/or orientation of the virtual object in the first virtual scene when the usage-triggered operation occurs.

7. The method of claim 1, wherein displaying the second virtual scene via the graphical user interface comprises:

hiding the first virtual scene in the graphical user interface, and triggering to display a second virtual scene in the graphical user interface.

8. The method according to claim 1, wherein the second virtual scene is the first virtual scene after hiding preset virtual objects, and the preset virtual objects comprise one or more of player virtual characters, non-player virtual characters and/or virtual prop objects.

9. The method of claim 1, wherein displaying the second virtual scene via the graphical user interface comprises:

determining a second display area in the graphical user interface for displaying the first virtual scene, wherein the area range of the second display area is smaller than the area range corresponding to the graphical user interface;

and displaying the second virtual scene through the second display area.

10. The method of claim 1, wherein the graphical user interface displaying the second virtual scene comprises a movement control for controlling the resource indicator to move in the second virtual scene, wherein the movement control comprises a horizontal movement control and a vertical movement control, and wherein the controlling the resource indicator to move in the second virtual scene in response to the movement operation of the resource indicator comprises:

in response to a touch operation on the horizontal movement control, controlling the resource indicator to move in a horizontal direction of the second virtual scene;

and controlling the resource indicator to move in the vertical direction of the second virtual scene in response to the touch operation of the vertical movement control.

11. The method of claim 1, wherein the movement operation comprises a drag operation, and wherein controlling the resource indicator to move in the second virtual scene in response to the movement operation on the resource indicator comprises:

controlling the resource indicator to move in the second virtual scene in response to the drag operation of the resource indicator in the second virtual scene.

12. The method of claim 1, wherein the controlling the resource indicator to move in the second virtual scene after the resource indicator is moved in response to the moving operation on the resource indicator further comprises:

displaying a transition segment including a second virtual scene that is transformed when the resource indicator is moved.

13. The method of claim 1, wherein the resource indicator comprises a reference drop point and a simulated use shape for simulating a rendered shape of the target virtual resource after use of the reference drop point when the target virtual resource is at a different location in the first virtual scene, and wherein determining the reference drop location of the resource indicator in the second virtual scene in response to the location confirmation instruction for the resource indicator comprises:

acquiring the spatial layout of the second virtual scene in the moving process of the resource indicator;

determining a rendering range of the simulated use shape of the resource indicator according to the spatial layout of the second virtual scene;

in response to a position confirmation instruction for the resource indicator, acquiring a reference rendering range of the simulated use shape, and a height and ground projection coordinates of the reference drop point in the second virtual scene;

determining the position of the reference release point in the second virtual scene according to the height and the ground projection coordinate;

determining a reference drop position of the resource indicator in the second virtual scene according to the position of the reference drop point in the second virtual scene and the reference rendering range of the simulated use shape.

14. The method of claim 13, wherein prior to determining the shape of the simulated use shape of the resource indicator based on the spatial layout of the second virtual scene, further comprising:

responding to the number setting operation of the target virtual resources, and determining the delivery number of the target virtual resources;

the determining a rendering range of the simulated use shape of the resource indicator according to the spatial layout of the second virtual scene includes:

and determining the rendering range of the simulated use shape of the resource indicator according to the number of the target virtual resources and the spatial layout of the second virtual scene.

15. The method of claim 13, wherein the target virtual resource comprises a target placement point and a target usage shape, wherein the target usage shape comprises a rendered shape after the target placement point uses the target virtual resource, and wherein determining the target placement location of the target virtual resource in the first virtual scene from the reference placement location comprises:

acquiring a corresponding relation of spatial positions of the first virtual scene and the second virtual scene;

determining a position corresponding to the reference release point in the first virtual scene according to the corresponding relation between the reference release position and the spatial position, wherein the position is a target release point of the target release point;

determining a rendering range corresponding to the simulated use shape in the first virtual scene according to the corresponding relation between the reference launching position and the space position, wherein the rendering range is a target rendering range of the target use shape;

and determining a target launching position of the target virtual resource in the first virtual scene according to the target launching point and the target rendering range.

16. The method of claim 1, further comprising:

responding to the use triggering operation of the target virtual resource, and displaying a prop canceling area;

and responding to the triggering operation of the prop cancellation area, and displaying the first virtual scene.

17. The method of claim 1, wherein the graphical user interface displaying the first virtual scene comprises an attack control for instructing the virtual object to launch an attack in the first virtual scene, and wherein determining the reference launch location of the resource indicator in the second virtual scene in response to the location confirmation instruction for the resource indicator further comprises:

converting the attack control into a position determination control of the resource indicator;

and generating a position confirmation instruction of the resource indicator in response to the touch operation of the position determination control.

18. A virtual resource placement control device, comprising:

the game system comprises a first display unit, a second display unit and a third display unit, wherein the first display unit is used for displaying a first virtual scene and a virtual object positioned in the first virtual scene through a graphical user interface, and the virtual object is configured to respond to touch operation aiming at the graphical user interface to execute game behaviors;

the second display unit is used for responding to a usage triggering operation of a target virtual resource, displaying a second virtual scene and a resource indicator positioned in the second virtual scene through the graphical user interface, wherein the resource indicator is used for visually indicating the release position of the target virtual resource;

a moving unit for controlling the resource indicator to move in the second virtual scene in response to a moving operation of the resource indicator;

a determining unit, configured to determine, in response to a position confirmation instruction for the resource indicator, a reference launch position of the resource indicator in the second virtual scene;

and the releasing unit is used for determining a target releasing position of the target virtual resource in the first virtual scene according to the reference releasing position and releasing the target virtual resource at the target releasing position of the first virtual scene.

19. A computer device, comprising:

a memory for storing a computer program;

a processor for implementing the steps in the method for controlling the delivery of virtual resources according to any one of claims 1 to 17 when executing said computer program.

20. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for controlling placement of a virtual resource according to any one of claims 1 to 17.

Technical Field

The present application relates to the field of game technologies, and in particular, to a method and an apparatus for controlling virtual resource delivery, a computer device, and a storage medium.

Background

With the development of science and technology, electronic games operated by means of electronic equipment platforms become important activities of people for leisure and entertainment, such as first-person shooting games, third-person shooting games and the like. In order to increase the interest of the game, the use of virtual resources such as virtual props and/or skills is an important playing method of the electronic game, for example, a smoke shell, a grenade and the like are put in a virtual scene of the electronic game. However, in the electronic game, there is a high demand for the skill of the player to put the virtual resource, and there is a great difficulty in putting the virtual resource to a certain position of the game scene by the player.

Disclosure of Invention

The embodiment of the application provides a virtual resource launching control method, a virtual resource launching control device, a computer device and a storage medium, which can enable a player in a game to accurately launch a target virtual resource to a certain position of a virtual scene.

An embodiment of the present application provides a method for controlling delivery of virtual resources, including:

displaying a first virtual scene and a virtual object positioned in the first virtual scene through a graphical user interface, wherein the virtual object is configured to respond to touch operation aiming at the graphical user interface to execute game behaviors;

responding to a usage triggering operation of a target virtual resource, displaying a second virtual scene and a resource indicator located in the second virtual scene through the graphical user interface, wherein the resource indicator is used for visually indicating a release position of the target virtual resource;

controlling the resource indicator to move in the second virtual scene in response to a move operation on the resource indicator;

determining a reference drop position of the resource indicator in the second virtual scene in response to a position confirmation instruction for the resource indicator;

and determining a target launching position of the target virtual resource in the first virtual scene according to the reference launching position, and launching the target virtual resource at the target launching position of the first virtual scene.

Correspondingly, the embodiment of the present application further provides a device for delivering a virtual throwing resource, including:

the game system comprises a first display unit, a second display unit and a third display unit, wherein the first display unit is used for displaying a first virtual scene and a virtual object positioned in the first virtual scene through a graphical user interface, and the virtual object is configured to respond to touch operation aiming at the graphical user interface to execute game behaviors;

the second display unit is used for responding to a usage triggering operation of a target virtual resource, displaying a second virtual scene and a resource indicator positioned in the second virtual scene through the graphical user interface, wherein the resource indicator is used for visually indicating the release position of the target virtual resource;

a moving unit for controlling the resource indicator to move in the second virtual scene in response to a moving operation of the resource indicator;

a determining unit, configured to determine, in response to a position confirmation instruction for the resource indicator, a reference launch position of the resource indicator in the second virtual scene;

and the releasing unit is used for determining a target releasing position of the target virtual resource in the first virtual scene according to the reference releasing position and releasing the target virtual resource at the target releasing position of the first virtual scene.

Optionally, the second virtual scene has a scene layout corresponding to the first virtual scene.

Optionally, the second virtual scene includes a second scene element, the second scene element is used to characterize a first scene element in at least part of the first virtual scene, and a position of the second scene element in the second virtual scene is used to characterize a position of the first scene element in the first virtual scene.

Optionally, the apparatus further comprises:

and determining the display range of the second virtual scene in the graphical user interface according to the position of the resource indicator in the second virtual scene.

Optionally, the second display unit is further configured to:

and determining an initial display range of the second virtual scene in the graphical user interface according to the position of the virtual object in the first virtual scene when the use trigger operation occurs.

Optionally, the second display unit is further configured to:

determining an initial position of the resource indicator in the second virtual scene according to a position and/or orientation of the virtual object in the first virtual scene when the usage-triggered operation occurs.

Optionally, the second display unit is further configured to:

hiding the first virtual scene in the graphical user interface, and triggering to display a second virtual scene in the graphical user interface.

Optionally, the second virtual scene is the first virtual scene after hiding a preset virtual object, where the preset virtual object includes one or more of a player virtual character, a non-player virtual character, and/or a virtual item object.

Optionally, the second display unit is further configured to:

determining a second display area in the graphical user interface for displaying the first virtual scene, wherein the area range of the second display area is smaller than the area range corresponding to the graphical user interface;

and displaying the second virtual scene through the second display area.

Optionally, the graphical user interface displaying the second virtual scene includes a movement control for controlling the resource indicator to move in the second virtual scene, the movement control includes a horizontal movement control and a vertical movement control, and the moving unit is further configured to:

in response to a touch operation on the horizontal movement control, controlling the resource indicator to move in a horizontal direction of the second virtual scene;

and controlling the resource indicator to move in the vertical direction of the second virtual scene in response to the touch operation of the vertical movement control.

Optionally, the moving operation includes a dragging operation, and the moving unit is further configured to:

controlling the resource indicator to move in the second virtual scene in response to the drag operation of the resource indicator in the second virtual scene.

Optionally, the mobile unit is further configured to:

displaying a transition segment including a second virtual scene that is transformed when the resource indicator is moved.

Optionally, the resource indicator includes a reference drop point and a simulated use shape, the simulated use shape is used for simulating a rendering shape of the target virtual resource after the reference drop point is used when the target virtual resource is at different positions of the first virtual scene, and the determining unit is further used for:

acquiring the spatial layout of the second virtual scene in the moving process of the resource indicator;

determining a rendering range of the simulated use shape of the resource indicator according to the spatial layout of the second virtual scene;

in response to a position confirmation instruction for the resource indicator, acquiring a reference rendering range of the simulated use shape, and a height and ground projection coordinates of the reference drop point in the second virtual scene;

determining the position of the reference release point in the second virtual scene according to the height and the ground projection coordinate;

determining a reference drop position of the resource indicator in the second virtual scene according to the position of the reference drop point in the second virtual scene and the reference rendering range of the simulated use shape.

Optionally, the determining unit is further configured to:

responding to the number setting operation of the target virtual resources, and determining the delivery number of the target virtual resources;

and determining the rendering range of the simulated use shape of the resource indicator according to the number of the target virtual resources and the spatial layout of the second virtual scene.

Optionally, the target virtual resource includes a target placement point and a target usage shape, and the target usage shape includes a rendering shape after the target placement point uses the target virtual resource, and the placement unit is further configured to:

acquiring a corresponding relation of spatial positions of the first virtual scene and the second virtual scene;

determining a position corresponding to the reference release point in the first virtual scene according to the corresponding relation between the reference release position and the spatial position, wherein the position is a target release point of the target release point;

determining a rendering range corresponding to the simulated use shape in the first virtual scene according to the corresponding relation between the reference launching position and the space position, wherein the rendering range is a target rendering range of the target use shape;

and determining a target launching position of the target virtual resource in the first virtual scene according to the target launching point and the target rendering range.

Optionally, the apparatus is further configured to:

responding to the use triggering operation of the target virtual resource, and displaying a prop canceling area;

and responding to the triggering operation of the prop cancellation area, and displaying the first virtual scene.

Optionally, the graphical user interface displaying the first virtual scene includes an attack control, the attack control is used to instruct the virtual object to launch an attack in the first virtual scene, and the determining unit is further configured to:

converting the attack control into a position determination control of the resource indicator;

and generating a position confirmation instruction of the resource indicator in response to the touch operation of the position determination control.

Similarly, an embodiment of the present application further provides a computer device, including:

a memory for storing a computer program;

a processor for executing any of the steps of the method for controlling delivery of virtual resources.

In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of any one of the virtual resource delivery control methods.

The embodiment of the application provides a virtual resource launching control method, a virtual resource launching control device, a computer device and a storage medium, when a player wants to launch a target virtual resource at a target launching position in a first virtual scene, a target virtual resource using triggering operation can be performed, then a resource indicator is moved in a second virtual scene until the player moves to a reference launching position corresponding to the target launching position in the second virtual scene, so that a terminal can determine the target launching position in the first virtual scene according to the reference launching position and launch the target virtual resource at the target launching position directly, the player can launch the target virtual resource to the target launching position in a game scene accurately, and skill requirements for launching the virtual resource by the player are reduced.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

Fig. 1 is a system diagram of a virtual throwing resource throwing device provided in an embodiment of the present application;

fig. 2 is a schematic flowchart of a virtual resource release control method according to an embodiment of the present application;

FIG. 3 is a schematic diagram of a graphical user interface displaying a first virtual scene provided by an embodiment of the present application;

FIG. 4 is a schematic diagram of a graphical user interface displayed in response to a trigger operation for displaying the second virtual scene according to an embodiment of the present application;

fig. 5 is a schematic diagram of a reference drop position in a second virtual scene provided in an embodiment of the present application;

fig. 6 is a schematic diagram illustrating a target virtual resource being launched in a first virtual scene according to an embodiment of the present application;

fig. 7 is another schematic flowchart of a virtual resource release control method according to an embodiment of the present application;

fig. 8 is a schematic structural diagram of a virtual resource release control device according to an embodiment of the present application;

fig. 9 is a schematic structural diagram of a computer device provided in an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.

The embodiment of the application provides a virtual resource release control method and device, computer equipment and a storage medium. Specifically, the method for controlling delivery of virtual resources according to the embodiment of the present application may be executed by a computer device, where the computer device may be a terminal or a server. The terminal may be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like, and may further include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content distribution network service, big data and an artificial intelligence platform.

For example, when the virtual resource release control method is executed on a terminal, a terminal device stores a game application program and is used for presenting a virtual scene in a graphical user interface. For example, a game application is downloaded and installed and run through the terminal device, and a virtual scene is displayed on the graphical user interface. The way in which the terminal device provides the virtual scene to the user may include various ways, for example, the virtual scene may be rendered and displayed on a display screen of the terminal device, or may be presented by holographic projection. For example, the terminal device may include a touch display screen for presenting a virtual scene and receiving an operation instruction generated by a user acting on the graphical user interface, and a processor for executing the game, generating a game screen, responding to the operation instruction, and controlling the graphical user interface and the virtual scene to be displayed on the touch display screen.

For example, when the virtual resource placement control method is executed on a server, the virtual resource placement control method may be a cloud game. Cloud gaming refers to a gaming regime based on cloud computing. In the running mode of the cloud game, the running main body of the game application program and the game picture presenting main body are separated, and the virtual resource release control method storage and running are finished on the cloud game server. The game screen presentation is performed at a cloud game client, which is mainly used for receiving and sending game data and presenting the game screen, for example, the cloud game client may be a display device with a data transmission function near a user side, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, and the like, but a terminal device for processing game data is a cloud game server at the cloud end. When a game is played, a user operates the cloud game client 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 cloud game client through a network, and finally the data are decoded through the cloud game client and the game pictures are output.

Referring to fig. 1, fig. 1 is a schematic system diagram of a virtual resource release control device according to an embodiment of the present disclosure. The system may include at least one terminal 101 and at least one game server 102. The terminal 101 held by the user can be connected to the game server 102 of different games through different networks 103, for example, the network can be a wireless network or a wired network, the wireless network can be a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc., the terminal is used for displaying a first virtual scene and a virtual object located in the first virtual scene through a graphical user interface, and the virtual object is configured to execute game behaviors in response to touch operations on the graphical user interface; responding to a use triggering operation of the target virtual resource, and displaying a second virtual scene and a resource indicator positioned in the second virtual scene through a graphical user interface, wherein the resource indicator is used for visually indicating the release position of the target virtual resource; controlling the resource indicator to move in the second virtual scene in response to the moving operation of the resource indicator; determining a reference launch position of the resource indicator in the second virtual scene in response to a position confirmation instruction for the resource indicator; and determining a target launching position of the target virtual resource in the first virtual scene according to the reference launching position, and launching the target virtual resource at the target launching position of the first virtual scene.

The game server is used for sending the graphical user interface to the terminal.

The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.

The present embodiment will be described in terms of a virtual resource release control device, which may be specifically integrated in a terminal device, where the terminal device may include a smart phone, a notebook computer, a tablet computer, a personal computer, and other devices.

The method for controlling virtual resource delivery provided in the embodiment of the present application may be executed by a processor of a terminal, as shown in fig. 2, a specific flow of the method for controlling virtual resource delivery mainly includes steps 201 to 205, which are described in detail as follows:

step 201, displaying a first virtual scene and a virtual object located in the first virtual scene through a graphical user interface, wherein the virtual object is configured to respond to a touch operation aiming at the graphical user interface to execute a game behavior.

In this embodiment of the application, after the graphical user interface displaying the first virtual scene is the terminal executes the game application program, the game picture displayed on the display screen of the terminal may have a game item in the first virtual scene displaying the graphical user interface of the first virtual scene, and/or may form a plurality of virtual objects (buildings, trees, mountains, etc.) included in the game world environment. The placement positions of the virtual objects such as buildings, mountains, walls and the like in the first virtual scene form the spatial layout of the first virtual scene. Further, the game to which the game application corresponds may be a first person shooter game, a multiplayer online role-playing game, or the like. For example, as shown in the schematic diagram of the graphical user interface displaying the first virtual scene in fig. 3, a virtual building 308, an obstacle 306 composed of 4 virtual containers, and an obstacle 307 composed of 5 containers may be included, and a movement control 301 for controlling the movement of a virtual object, a resource control 305 for triggering the use of a target virtual resource to trigger an operation, an attack control 303 for controlling the virtual object to attack, and other skill controls 304 may also be included in the graphical user interface displaying the first virtual scene.

In embodiments of the present application, the virtual object may be a game character that a player operates through a game application. For example, the virtual object may be a virtual character (such as a simulated character or an animated character), a virtual animal, and so forth. The game behavior of the virtual object in the first virtual scene includes but is not limited to: adjusting at least one of body posture, crawling, walking, running, riding, flying, jumping, driving, picking, shooting, attacking, throwing, releasing skills.

Step 202, responding to a use triggering operation of the target virtual resource, and displaying a second virtual scene and a resource indicator located in the second virtual scene through a graphical user interface, wherein the resource indicator is used for visually indicating a release position of the target virtual resource.

In the embodiment of the application, in order to facilitate a player to control a virtual object to remotely attack a distant enemy, virtual resources may be set in a game, the virtual resources may include properties and skills, the virtual resources may be resources that need to be thrown, such as bundled bombs, bundled missiles, smoke bombs, and the like, the player may control the virtual object to throw the bundled bombs to a certain place within a visual field range, so that multiple continuous explosions occur within the range selected by the player, and more players can be quickly defeated. The virtual resources can be directly released by the virtual objects or can be released by the virtual vehicles.

In the embodiment of the present application, the usage triggering operation of the target virtual resource is an operation that needs to be performed when the virtual object uses the target virtual resource in the virtual scene, and the usage triggering operations of different virtual resources may be the same or different. The usage trigger operation may be a click, long press, and/or double click, among other operations.

In this embodiment of the application, the graphical user interface displaying the first virtual scene may include a resource trigger control, and when a player performs a touch operation on the resource trigger control, a usage trigger operation of the target virtual resource may be triggered. In addition, different virtual resources may correspond to the same resource trigger control, and may also correspond to different resource trigger controls.

In the embodiment of the present application, when the player performs the usage triggering operation, the second virtual scene is displayed, where the second virtual scene has a scene layout corresponding to the first virtual scene, and may be all virtual entities that imitate buildings, walls, mountains, and the like in the first virtual scene by using virtual simulation entities, and a layout of each virtual simulation entity in the second virtual scene is the same as a layout of a corresponding virtual entity in the first virtual scene. In addition, the shape of the virtual simulation entity in the second virtual scene is the same as the shape of the corresponding virtual entity in the first virtual scene, however, the surface of the virtual entity in the first virtual scene has the same color, texture, etc. as the corresponding object in real life, and the virtual simulation entity in the second virtual scene does not have the color, texture, etc. of the simulated virtual entity, and the second virtual scene is formed according to the virtual simulation entity. The relative position relationship of each virtual simulation entity in the second virtual scene is the same as the relative position relationship between each virtual entity in the first virtual scene, and the size of each virtual simulation entity in the second virtual scene may be the same as the corresponding virtual entity in the first virtual scene, or may be reduced or enlarged in equal proportion according to the corresponding virtual entity in the first virtual scene.

In the embodiment of the present application, the second virtual scene includes a second scene element, the second scene element is used for characterizing at least part of the first scene element in the first virtual scene, and a position of the second scene element in the second virtual scene is used for characterizing a position of the first scene element in the first virtual scene. That is to say, the second scene elements correspond to the first scene elements one by one, the positions of the second scene elements in the second virtual scene are the same as the positions of the corresponding first scene elements in the first virtual scene, and the attributes such as the shape, the size and the like of the second scene elements are the same as those of the corresponding first scene elements. Wherein the first scene element and the second scene element may be a virtual building, a virtual wall, a virtual river, etc. in the virtual scene.

In this embodiment, a display range of the second virtual scene in the graphical user interface is bound to the resource indicator, and when the resource indicator moves in the second virtual scene, the display range of the second virtual scene in the graphical user interface changes with the movement of the resource indicator, and therefore, the method further includes: and determining the display range of the second virtual scene in the graphical user interface according to the position of the resource indicator in the second virtual scene.

In this embodiment of the application, since the display range of the second virtual scene in the graphical user interface may change with the movement of the resource indicator in the second virtual scene, before the step "display the second virtual scene and the resource indicator located in the second virtual scene through the graphical user interface", it is necessary to determine the initial display range of the second virtual scene, which may specifically be: and determining the initial display range of the second virtual scene in the graphical user interface according to the position of the virtual object in the first virtual scene when the usage trigger operation occurs.

In an embodiment of the application, the step of "displaying the second virtual scene through the graphical user interface" may be: and hiding the first virtual scene in the graphical user interface, and triggering to display the second virtual scene in the graphical user interface.

In this embodiment of the application, the second virtual scene may not be an added virtual scene, but may be obtained by simplifying the first virtual scene, specifically, the second virtual scene may be the first virtual scene after hiding the preset virtual object, where the preset virtual object includes one or more of a player virtual character, a non-player virtual character, and/or a virtual prop object. Wherein the player virtual character can be a virtual object operated by a current player and/or a player virtual character operated by other players participating in the game, the non-player virtual character can be a non-player virtual character operated by a terminal and not operated by the players participating in the game, and the virtual item object can be a virtual object which plays an auxiliary role on the player virtual character in the game, such as attacking a weapon, riding a ride, and the like.

In this embodiment of the present application, the first virtual scene and the second virtual scene may also be simultaneously displayed in the graphical user interface, and at this time, the step of "displaying the second virtual scene through the graphical user interface" may be: determining a second display area in a graphical user interface displaying the first virtual scene, wherein the area range of the second display area is smaller than the area range corresponding to the graphical user interface; and displaying the second virtual scene through the second display area. In addition, the position, the size and the like of the second display area in the graphical user interface are not limited, and the second display area can be flexibly arranged according to actual conditions.

In an embodiment of the present application, the resource indicator is configured to indicate a reference placement position of the target virtual resource in the second virtual scene, and the resource indicator may be the same as or different from the shape and size of the target virtual resource.

In the embodiment of the application, the graphical user interface displaying the first virtual scene includes the virtual object located in the first virtual scene, and the graphical user interface displaying the second virtual scene may not include the virtual object located in the second virtual scene, so that when the target launching position of the target virtual resource is set through the resource indicator, the position of the enemy virtual object can be seen in the second virtual scene, and fairness of the game is ensured.

For example, as shown in fig. 4, which is a schematic diagram of a graphical user interface displaying a second virtual scene displayed in response to using a triggering operation, the second virtual scene may include a virtual simulation entity 408 formed according to the virtual building 308, a virtual simulation entity 407 generated according to the obstacle 306, a virtual simulation entity 407 generated according to the obstacle 307, and a resource indicator 409. The graphical user interface for displaying the second virtual scene further includes a horizontal movement control 401 for controlling the resource indicator 409 to move horizontally in the second virtual scene, a vertical movement control 403 and a vertical movement control 404 for controlling the resource indicator 409 to move vertically in the second virtual scene, a resource control 406 for triggering a usage triggering operation of the target virtual resource, a cancel control 402 for canceling the target virtual resource release, and a position determination control 405 for determining to generate a position determination instruction.

And step 203, responding to the moving operation of the resource indicator, and controlling the resource indicator to move in the second virtual scene.

In this embodiment, the player may move the resource indicator by operating a movement control, and the graphical user interface displaying the second virtual scene includes a movement control for controlling the resource indicator to move in the second virtual scene, and the movement control includes a horizontal movement control and a vertical movement control, in which case, the step 203 "controlling the resource indicator to move in the second virtual scene in response to the movement operation on the resource indicator" may be:

in response to the touch operation of the horizontal movement control, controlling the resource indicator to move in the horizontal direction of the second virtual scene;

and controlling the resource indicator to move in the vertical direction of the second virtual scene in response to the touch operation of the vertical movement control.

In the embodiment of the application, the graphical user interface displaying the first virtual scene may include an object moving control for controlling the virtual object to move in the first virtual scene, and after the graphical user interface displaying the second virtual scene is displayed in response to a trigger operation for using the target virtual resource, the object moving control in the graphical user interface displaying the first virtual scene may be changed into a moving control for moving the resource indicator, so that after the second virtual scene is generated, only the resource indicator can be moved, and the virtual object cannot be moved.

In this embodiment of the application, the player may also move the resource indicator by directly dragging the resource indicator on the terminal screen through a method of pointing a cursor or the like with a finger or a mouse, in which case, the moving operation includes a dragging operation, and the step 203 "controlling the resource indicator to move in the second virtual scene in response to the moving operation of the resource indicator" may be:

and controlling the resource indicator to move in the second virtual scene in response to the dragging operation of the resource indicator in the second virtual scene.

In this embodiment of the application, in order to better determine the final reference placement position of the resource indicator in the second virtual scene according to the spatial layout of the second virtual scene, a change process of the second virtual scene may be displayed when the resource indicator is moved, in this case, the step 203 "controlling the resource indicator to move in the second virtual scene in response to the moving operation of the resource indicator" may include: displaying a transition segment, the transition segment including a second virtual scene that changes as the resource indicator moves.

In this embodiment of the application, when a player triggers a moving operation on a resource indicator, the resource indicator may move in a second virtual scene, and before the player performs the moving operation on the resource indicator, a position of the resource indicator in an initial display range of the second virtual scene needs to be determined, which may specifically be: an initial position of the resource indicator in the second virtual scene is determined based on the position and/or orientation of the virtual object in the first virtual scene at the time the usage triggering operation occurs.

In the embodiment of the application, during the running process of the game, the terminal can load the first virtual scene and the second virtual scene at the same time, and before the player performs the use triggering operation, the graphical user interface displays the first virtual scene. When the player makes a usage triggering operation on the target virtual resource, the terminal can hide the first virtual scene in the graphical user interface and display the second virtual scene in the graphical user interface. When the terminal determines the initial position of the resource indicator in the initial display range of the second virtual scene, the terminal may first acquire the spatial coordinates of the virtual object in the first virtual scene as (x, y, z), and after displaying the second virtual scene in the graphical user interface, determine the spatial coordinates of the reference drop point of the resource indicator in the second virtual scene, which may be the spatial coordinates (x, y, z) of the virtual object in the first virtual scene, combine the offset (xd, yd, zd) of the first virtual scene and the second virtual scene, that is, the initial position (x1, y1, z1) of the resource indicator as (x, y, z) + (xd, yd, zd), and then the player operates the resource indicator in the second virtual scene. The offset of the first virtual scene and the offset of the second virtual scene can be set to 0, and can also be flexibly set according to the actual situation.

And step 204, responding to the position confirmation instruction of the resource indicator, and determining the reference release position of the resource indicator in the second virtual scene.

In the embodiment of the application, in order to enable a player to better set a target virtual resource at a place effective for an actual game situation according to the actual game situation, a resource indicator may include a reference drop point and a simulated use shape, wherein the simulated use shape is used for simulating a rendering shape after the target virtual resource is used by the reference drop point when the target virtual resource is at different positions in a first virtual scene, so that the player can see a rendering effect after the target virtual resource is used according to the resource indicator in a second virtual scene, and further adjust a reference drop position of the resource indicator in the second virtual scene according to the influence of the rendering effect of the resource indicator on the actual game situation. In this case, the "determining the reference drop position of the resource indicator in the second virtual scene in response to the position confirmation instruction for the resource indicator" in step 204 may be:

acquiring the spatial layout of a second virtual scene in the moving process of the resource indicator;

determining a rendering range of the simulated use shape of the resource indicator according to the spatial layout of the second virtual scene;

responding to a position confirmation instruction of the resource indicator, and acquiring a reference rendering range of the simulated use shape, and the height and ground projection coordinates of the reference release point in the second virtual scene;

determining the position of the reference release point in the second virtual scene according to the height and the ground projection coordinates;

and determining the reference throwing position of the resource indicator in the second virtual scene according to the position of the reference throwing point in the second virtual scene and the reference rendering range of the simulated use shape.

In the embodiment of the present application, during the movement of the resource indicator, the rendering range of the simulated usage shape of the resource indicator may change with the change of the spatial layout of the second virtual scene, the change of the height of the resource indicator in the second virtual scene, and the like. For example, when the target virtual resource is a smoke bomb, the smoke rendering range after the smoke bomb is used changes along with the wall in the first virtual environment, the height of the drop point of the smoke bomb in the first virtual scene, and the like, so in order to better enable the target virtual resource to generate a more beneficial effect on the actual game situation in the first virtual scene, the reference drop position of the resource indicator in the second virtual scene needs to be determined according to the reference drop point and the simulated use shape of the resource indicator.

In the embodiment of the application, the number of the target virtual resources launched at one target launching position is different, and the target rendering range after the target virtual resources are used is also different, so that the rendering range of the resource indicator in the second virtual scene for simulating the use shape can be determined according to the set number of the target virtual resources. In this case, before the step of "determining the shape of the simulated use shape of the resource indicator according to the spatial layout of the second virtual scene", the method may further include: and determining the delivery quantity of the target virtual resources in response to the number setting operation of the target virtual resources. After determining the number of shots of the target virtual resource at the target shot position, the step of "determining the rendering range of the simulated use shape of the resource indicator according to the spatial layout of the second virtual scene" may include: and determining the rendering range of the simulated use shape of the resource indicator according to the release quantity of the target virtual resources and the spatial layout of the second virtual scene.

In the embodiment of the application, in order to enable a player to control the virtual object in operation to attack other enemy virtual objects, an attack control can be set in a graphical user interface displaying a first virtual scene, and the attack control is used for indicating the virtual object to launch an attack in the first virtual scene. When determining the reference launch position of the resource indicator in the second virtual scene, since there may be no other enemy virtual resource in the second virtual scene for fairness of the game, at this time, the attack control in the graphical user interface displaying the first virtual scene is not effective, and in order to simplify the icon setting of the graphical user interface displaying the second virtual scene, the attack control may be changed to the position determination control of the resource indicator, at this time, the above step "determining the reference launch position of the resource indicator in the second virtual scene in response to the position determination instruction of the resource indicator" further includes: converting the attack control into a position determination control of the resource indicator; and generating a position confirmation instruction of the resource indicator in response to the touch operation of the position determination control.

For example, as shown in the schematic diagram of the reference drop position in the second virtual scene in fig. 5, when the resource indicator stops moving in the second virtual scene, the reference drop position of the resource indicator in the second virtual scene is the position of the resource indicator 501 as shown in fig. 5.

Step 205, determining a target launching position of the target virtual resource in the first virtual scene according to the reference launching position, and launching the target virtual resource at the target launching position of the first virtual scene.

In this embodiment of the application, the target virtual resource includes a target placement point and a target usage shape, the target usage shape includes a rendering shape after the target virtual resource is used at the target placement point, and after determining the placement position of the reference placement point of the resource indicator and the simulated usage shape in the second virtual scene, the step "switching the graphical user interface displaying the second virtual scene to the graphical user interface displaying the first virtual scene, and determining the target placement position of the target virtual resource in the first virtual scene according to the reference placement position" may be:

acquiring a corresponding relation of spatial positions of a first virtual scene and a second virtual scene;

determining a position corresponding to the reference release point in the first virtual scene according to the corresponding relation between the reference release position and the space position, wherein the position is a target release point of the target release point;

determining a rendering range corresponding to the simulated use shape in the first virtual scene according to the corresponding relation between the reference putting position and the space position, wherein the rendering range is a target rendering range of the target use shape;

and determining a target launching position of the target virtual resource in the first virtual scene according to the target launching point and the target rendering range.

In the embodiment of the present application, the spatial position correspondence is a correspondence between each spatial point of the first virtual scene and each spatial point in the second virtual scene. The rendering range corresponding to the simulated use shape in the first virtual scene is determined by determining key points forming the simulated use shape or corresponding points of all points forming the simulated use shape in the first virtual scene, and then determining the target rendering range of the target virtual resource in the first virtual scene according to the determined corresponding key points. For example, as shown in fig. 6, which is a schematic diagram of launching a target virtual resource in a first virtual scene, a target launching position 601 of the target virtual resource is determined in the first virtual scene shown in fig. 6 according to a reference launching position and a reference rendering range of a resource indicator 501 shown in fig. 5.

In the embodiment of the application, after the target placement point of the target virtual resource in the first virtual scene and the target rendering range generated by using the target virtual resource at the target placement point are determined, the target rendering range after the target virtual resource is used can be directly rendered at the target placement position.

In the embodiment of the application, after the player triggers the usage triggering operation of the target virtual resource, the usage of the target virtual resource in the first virtual scene can be cancelled between the determined reference throwing positions of the resource indicator. In this case, the specific method may be: responding to the use triggering operation of the target virtual resource, and displaying a prop canceling area; and responding to the triggering operation of the prop canceling area, and converting the graphical user interface for displaying the second virtual scene into the graphical user interface for displaying the first virtual scene.

In the embodiment of the application, the display position and the display shape of the prop canceling area in the graphical user interface for displaying the second virtual scene can be unlimited and can be flexibly set according to the actual situation.

In the embodiment of the application, when a graphical user interface which comprises a second virtual scene and displays the second virtual scene is displayed in response to a usage triggering operation of a target virtual resource, a plurality of resource indicators can be generated in the second virtual scene at one time, the resource indicators can be moved, and after the reference placement position of each resource indicator is determined, a position determining instruction can be generated, so that the target placement positions of the target virtual resources can be determined at one time, and the target virtual resources can be simultaneously placed and used in the target placement positions.

All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.

According to the virtual resource launching control method provided by the embodiment of the application, when a player wants to launch a target virtual resource at a target launching position in a first virtual scene, a use triggering operation of the target virtual resource can be made, then a resource indicator is moved in a second virtual scene which has the same spatial layout as the first virtual scene until the second virtual scene is moved to a reference launching position corresponding to the first virtual scene, so that a terminal can determine the target launching position in the first virtual scene according to the reference launching position and launch the target virtual resource at the target launching position directly, the player can launch the target virtual resource to the target launching position in a game scene accurately, and the skill requirement of the player on launching the virtual resource is reduced.

Referring to fig. 7, fig. 7 is another schematic flow chart of a virtual resource release control method according to an embodiment of the present application. The specific process of the method can be as follows:

step 701, displaying a first virtual scene and a virtual object located in the first virtual scene through a graphical user interface.

For example, after the terminal executes the game application, the game screen displayed on the display screen of the terminal displays the graphical user interface of the first virtual scene, and the first virtual scene displaying the graphical user interface of the first virtual scene may have game items therein, and/or a plurality of virtual objects (buildings, trees, mountains, etc.) included in the game world environment. The placement positions of the virtual objects such as buildings, mountains, walls and the like in the first virtual scene form the spatial layout of the first virtual scene.

Step 702, in response to the operation triggered by the use of the target virtual resource, displaying a second virtual scene and a resource indicator located in the second virtual scene through the graphical user interface.

For example, when the player performs the usage triggering operation, the second virtual scene may be simplified from the first virtual scene, so that the second virtual scene is displayed.

Step 703, controlling the resource indicator to move in the second virtual scene in response to a trigger operation on a movement control in a graphical user interface displaying the second virtual scene.

For example, the movement control includes a horizontal movement control and a vertical movement control, and the resource indicator is moved in the horizontal direction of the second virtual scene in response to the touch operation on the horizontal movement control, and the resource indicator is moved in the vertical direction of the second virtual scene in response to the touch operation on the vertical movement control.

And 704, in the moving process of the resource indicator, determining the rendering range of the simulated use shape of the resource indicator according to the spatial layout of the second virtual scene.

For example, in the process of moving the resource indicator by touching the mobile control, the spatial layout of the second virtual scene is obtained in real time, and the rendering range of the simulated use shape of the resource indicator is determined according to the spatial layout of the second virtual scene.

Step 705, in response to the position confirmation instruction for the resource indicator, obtaining a reference rendering range of the simulated use shape and a position of the reference drop point in the second virtual scene.

For example, in response to a position confirmation instruction for the resource indicator, a reference rendering range simulating the use shape is acquired, and the position of the reference drop point in the second virtual scene is determined according to the height and the ground projection coordinates by referring to the height and the ground projection coordinates of the drop point in the second virtual scene.

And step 706, determining the reference throwing position of the resource indicator in the second virtual scene according to the position of the reference throwing point in the second virtual scene and the reference rendering range of the simulated use shape.

And 707, determining a target launching position of the target virtual resource in the first virtual scene according to the reference launching position, and launching the target virtual resource at the target launching position of the first virtual scene.

For example, the spatial position corresponding relation between the first virtual scene and the second virtual scene is obtained, the graphical user interface displaying the second virtual scene is switched to the graphical user interface displaying the first virtual scene, the target release position of the target virtual resource is determined in the first virtual scene according to the spatial position corresponding relation and the reference release position, and the target virtual resource is released in the target release position of the first virtual scene.

All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.

According to the virtual resource launching control method provided by the embodiment of the application, when a player wants to launch a target virtual resource at a target launching position in a first virtual scene, a use triggering operation of the target virtual resource can be made, then a resource indicator is moved in a second virtual scene which has the same spatial layout as the first virtual scene until the second virtual scene is moved to a reference launching position corresponding to the first virtual scene, so that a terminal can determine the target launching position in the first virtual scene according to the reference launching position and launch the target virtual resource at the target launching position directly, the player can launch the target virtual resource to the target launching position in a game scene accurately, and the skill requirement of the player on launching the virtual resource is reduced.

In order to better implement the virtual resource release control method according to the embodiment of the present application, an embodiment of the present application further provides a virtual resource release control device. Referring to fig. 8, fig. 8 is a schematic structural diagram of a virtual resource release control device according to an embodiment of the present disclosure. The virtual resource placement control means may include a first display unit 801, a second display unit 802, a mobile unit 803, a determination unit 804, and a placement unit 805.

The first display unit 801 is configured to display a first virtual scene and a virtual object located in the first virtual scene through a graphical user interface, where the virtual object is configured to execute a game behavior in response to a touch operation for the graphical user interface;

a second display unit 802, configured to display, through a graphical user interface, a second virtual scene and a resource indicator located in the second virtual scene in response to a usage trigger operation on the target virtual resource, where the resource indicator is used to visually indicate a placement location of the target virtual resource;

a moving unit 803 for controlling the resource indicator to move in the second virtual scene in response to the moving operation of the resource indicator;

a determining unit 804, configured to determine, in response to a position confirmation instruction for the resource indicator, a reference launching position of the resource indicator in the second virtual scene;

a releasing unit 805, configured to determine a target releasing position of the target virtual resource in the first virtual scene according to the reference releasing position, and release the target virtual resource at the target releasing position of the first virtual scene.

Optionally, the second virtual scene has a scene layout corresponding to the first virtual scene.

Optionally, the second virtual scene includes a second scene element, the second scene element is used to represent the first scene element in at least part of the first virtual scene, and the position of the second scene element in the second virtual scene is used to represent the position of the first scene element in the first virtual scene.

Optionally, the apparatus further comprises:

and determining the display range of the second virtual scene in the graphical user interface according to the position of the resource indicator in the second virtual scene.

Optionally, the second display unit 802 is further configured to:

and determining the initial display range of the second virtual scene in the graphical user interface according to the position of the virtual object in the first virtual scene when the usage trigger operation occurs.

Optionally, the second display unit 802 is further configured to:

an initial position of the resource indicator in the second virtual scene is determined based on the position and/or orientation of the virtual object in the first virtual scene at the time the usage triggering operation occurs.

Optionally, the second display unit 802 is further configured to:

and hiding the first virtual scene in the graphical user interface, and triggering to display the second virtual scene in the graphical user interface.

Optionally, the second virtual scene is the first virtual scene after hiding the preset virtual object, where the preset virtual object includes one or more of a player virtual character, a non-player virtual character, and/or a virtual item object.

Optionally, the second display unit 802 is further configured to:

determining a second display area in a graphical user interface displaying the first virtual scene, wherein the area range of the second display area is smaller than the area range corresponding to the graphical user interface;

and displaying the second virtual scene through the second display area.

Optionally, the graphical user interface displaying the second virtual scene includes a movement control for controlling the resource indicator to move in the second virtual scene, where the movement control includes a horizontal movement control and a vertical movement control, and the moving unit 803 is further configured to:

in response to the touch operation of the horizontal movement control, controlling the resource indicator to move in the horizontal direction of the second virtual scene;

and controlling the resource indicator to move in the vertical direction of the second virtual scene in response to the touch operation of the vertical movement control.

Optionally, the moving operation includes a dragging operation, and the moving unit 803 is further configured to:

and controlling the resource indicator to move in the second virtual scene in response to the dragging operation of the resource indicator in the second virtual scene.

Optionally, the mobile unit 803 is further configured to:

displaying a transition segment, the transition segment including a second virtual scene that changes as the resource indicator moves.

Optionally, the resource indicator includes a reference drop point and a simulated use shape, and the simulated use shape is used for simulating a rendering shape after the target virtual resource is used in a different position of the first virtual scene, and the determining unit 804 is further configured to:

acquiring the spatial layout of a second virtual scene in the moving process of the resource indicator;

determining a rendering range of the simulated use shape of the resource indicator according to the spatial layout of the second virtual scene;

responding to a position confirmation instruction of the resource indicator, and acquiring a reference rendering range of the simulated use shape, and the height and ground projection coordinates of the reference release point in the second virtual scene;

determining the position of the reference release point in the second virtual scene according to the height and the ground projection coordinates;

and determining the reference throwing position of the resource indicator in the second virtual scene according to the position of the reference throwing point in the second virtual scene and the reference rendering range of the simulated use shape.

Optionally, the determining unit 804 is further configured to:

responding to the number setting operation of the target virtual resources, and determining the delivery number of the target virtual resources;

and determining the rendering range of the simulated use shape of the resource indicator according to the release quantity of the target virtual resources and the spatial layout of the second virtual scene.

Optionally, the target virtual resource includes a target placement point and a target usage shape, and the target usage shape includes a rendering shape after the target placement point uses the target virtual resource, and the placement unit 805 is further configured to:

acquiring a corresponding relation of spatial positions of a first virtual scene and a second virtual scene;

determining a position corresponding to the reference release point in the first virtual scene according to the corresponding relation between the reference release position and the space position, wherein the position is a target release point of the target release point;

determining a rendering range corresponding to the simulated use shape in the first virtual scene according to the corresponding relation between the reference putting position and the space position, wherein the rendering range is a target rendering range of the target use shape;

and determining a target launching position of the target virtual resource in the first virtual scene according to the target launching point and the target rendering range.

Optionally, the apparatus is further configured to:

responding to the use triggering operation of the target virtual resource, and displaying a prop canceling area;

and responding to the triggering operation of the prop cancellation area, and displaying a first virtual scene.

Optionally, the graphical user interface displaying the first virtual scene includes an attack control, where the attack control is used to indicate that the virtual object launches an attack in the first virtual scene, and the determining unit 804 is further configured to:

converting the attack control into a position determination control of the resource indicator;

and generating a position confirmation instruction of the resource indicator in response to the touch operation of the position determination control.

All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.

According to the virtual resource launching control device provided by the embodiment of the application, when a player wants to launch a target virtual resource at a target launching position in a first virtual scene, a use triggering operation of the target virtual resource can be made, then a resource indicator is moved in a second virtual scene which has the same spatial layout as the first virtual scene until the second virtual scene is moved to a reference launching position corresponding to the first virtual scene, so that a terminal can determine the target launching position in the first virtual scene according to the reference launching position and launch the target virtual resource at the target launching position directly, the player can launch the target virtual resource to the target launching position in a game scene accurately, and the skill requirement of launching the virtual resource by the player is reduced.

Correspondingly, the embodiment of the application also provides a computer device, which can be a terminal, and the terminal can be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game machine, a personal computer, a personal digital assistant and the like. As shown in fig. 9, fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer device 900 includes a processor 901 having one or more processing cores, a memory 902 having one or more computer-readable storage media, and a computer program stored on the memory 902 and executable on the processor. The processor 901 is electrically connected to the memory 902. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.

The processor 901 is a control center of the computer apparatus 900, connects various parts of the entire computer apparatus 900 by various interfaces and lines, performs various functions of the computer apparatus 900 and processes data by running or loading software programs and/or modules stored in the memory 902 and calling data stored in the memory 902, thereby monitoring the computer apparatus 900 as a whole.

In this embodiment of the application, the processor 901 in the computer device 900 loads instructions corresponding to processes of one or more application programs into the memory 902, and the processor 901 runs the application programs stored in the memory 902, so as to implement various functions as follows:

displaying a first virtual scene and a virtual object located in the first virtual scene through a graphical user interface, wherein the virtual object is configured to respond to touch operation aiming at the graphical user interface to execute game behaviors; responding to a use triggering operation of the target virtual resource, and displaying a second virtual scene and a resource indicator positioned in the second virtual scene through a graphical user interface, wherein the resource indicator is used for visually indicating the release position of the target virtual resource; controlling the resource indicator to move in the second virtual scene in response to the moving operation of the resource indicator; determining a reference launch position of the resource indicator in the second virtual scene in response to a position confirmation instruction for the resource indicator; and determining a target launching position of the target virtual resource in the first virtual scene according to the reference launching position, and launching the target virtual resource at the target launching position of the first virtual scene.

The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.

Optionally, as shown in fig. 9, the computer device 900 further includes: touch-sensitive display screen 903, radio frequency circuit 904, audio circuit 905, input unit 906 and power 907. The processor 901 is electrically connected to the touch display screen 903, the radio frequency circuit 904, the audio circuit 905, the input unit 906, and the power supply 907. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 9 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.

The touch screen 903 may be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 903 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 901, and can receive and execute commands sent by the processor 901. The touch panel may cover the display panel, and when the touch panel detects a touch operation on or near the touch panel, the touch panel transmits the touch operation to the processor 901 to determine the type of the touch event, and then the processor 901 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, a touch panel and a display panel may be integrated into the touch display screen 903 to realize input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display 903 may also be used as a part of the input unit 906 to implement an input function.

The radio frequency circuit 904 may be configured to transceive radio frequency signals to establish wireless communication with a network device or other computer device via wireless communication, and to transceive signals with the network device or other computer device.

The audio circuitry 905 may be used to provide an audio interface between a user and a computer device through speakers, microphones. The audio circuit 905 can transmit the electrical signal converted from the received audio data to a loudspeaker, and the electrical signal is converted into a sound signal by the loudspeaker and output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 905 and converted into audio data, which is then processed by the audio data output processor 901 and then transmitted to, for example, another computer device via the radio frequency circuit 904, or output to the memory 902 for further processing. The audio circuitry 905 may also include an earbud jack to provide communication of peripheral headphones with the computer device.

The input unit 906 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

A power supply 907 is used to power the various components of the computer device 900. Optionally, the power supply 907 may be logically connected to the processor 901 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. Power supply 907 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.

Although not shown in fig. 9, the computer device 900 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.

In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

As can be seen from the above, with the computer device provided in this embodiment, when a player wants to launch a target virtual resource at a target launching position in a first virtual scene, a usage trigger operation of the target virtual resource may be made, and then a resource indicator is moved in a second virtual scene having the same spatial layout as the first virtual scene until the second virtual scene is moved to a reference launching position corresponding to the first virtual scene, so that a terminal may determine the target launching position in the first virtual scene according to the reference launching position and launch the target virtual resource at the target launching position directly, so that the player may launch the target virtual resource to the target launching position in a game scene accurately, and a skill requirement for the player to launch the virtual resource is reduced.

It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.

To this end, the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, where the computer programs can be loaded by a processor to execute the steps in any one of the virtual resource release control methods provided in the present application. For example, the computer program may perform the steps of:

displaying a first virtual scene and a virtual object located in the first virtual scene through a graphical user interface, wherein the virtual object is configured to respond to touch operation aiming at the graphical user interface to execute game behaviors; responding to a use triggering operation of the target virtual resource, and displaying a second virtual scene and a resource indicator positioned in the second virtual scene through a graphical user interface, wherein the resource indicator is used for visually indicating the release position of the target virtual resource; controlling the resource indicator to move in the second virtual scene in response to the moving operation of the resource indicator; determining a reference launch position of the resource indicator in the second virtual scene in response to a position confirmation instruction for the resource indicator; and determining a target launching position of the target virtual resource in the first virtual scene according to the reference launching position, and launching the target virtual resource at the target launching position of the first virtual scene.

The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.

Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.

Since the computer program stored in the storage medium can execute the steps in any virtual resource release control method provided in the embodiments of the present application, beneficial effects that can be achieved by any virtual resource release control method provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.

In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

The method, the apparatus, the computer device, and the storage medium for controlling virtual resource delivery provided in the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

25页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种动作生成方法、装置、计算机设备和存储介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类