CN113457141B - Resource processing method and device, storage medium and electronic equipment - Google Patents

Resource processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113457141B
CN113457141B CN202110834163.XA CN202110834163A CN113457141B CN 113457141 B CN113457141 B CN 113457141B CN 202110834163 A CN202110834163 A CN 202110834163A CN 113457141 B CN113457141 B CN 113457141B
Authority
CN
China
Prior art keywords
virtual
virtual space
user account
target user
target
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.)
Active
Application number
CN202110834163.XA
Other languages
Chinese (zh)
Other versions
CN113457141A (en
Inventor
王若愚
李统浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Kugou Business Incubator Management Co ltd
Original Assignee
Chengdu Kugou Business Incubator Management Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chengdu Kugou Business Incubator Management Co ltd filed Critical Chengdu Kugou Business Incubator Management Co ltd
Priority to CN202110834163.XA priority Critical patent/CN113457141B/en
Publication of CN113457141A publication Critical patent/CN113457141A/en
Application granted granted Critical
Publication of CN113457141B publication Critical patent/CN113457141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/577Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/63Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by the player, e.g. authoring using a level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Processing Or Creating Images (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a resource processing method and device, a storage medium and electronic equipment. Wherein the method comprises the following steps: displaying a first virtual space occupied by a target user account in a virtual scene and a second virtual space occupied by the virtual account in the virtual scene in a current client; controlling the first virtual space to move according to the target track in response to the operation executed on the first virtual space; triggering a countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space; and under the condition that the task result of the countermeasure task indicates that the target user account is in a camping which is superior to the virtual account, distributing target virtual material resources for the target user account, and displaying an animation for expanding the first virtual space by utilizing the target virtual material resources. The invention solves the technical problem that the resource processing mode in the related technology is single.

Description

Resource processing method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a method and apparatus for processing resources, a storage medium, and an electronic device.
Background
Many of today's opponent game applications often have designs of "phagocytosis", "absorption", etc. In these gaming applications, players may win a game by phagocytizing resources held by an opponent to eliminate the opponent and promote themselves.
However, in the above game application provided by the related art, both parties complete the game task directly by preempting the resources of the other party, and these preempted resources are often only used to identify the current state of the player in the game process. That is, the processing method of the virtual resource in the related art has a single problem.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a resource processing method and device, a storage medium and electronic equipment, which at least solve the technical problem that the resource processing mode in the related technology is single.
According to an aspect of an embodiment of the present invention, there is provided a resource processing method, including: displaying a first virtual space occupied by a target user account in a virtual scene and a second virtual space occupied by the virtual account in the virtual scene in a current client, wherein the target user account and the virtual account belong to different camps, and virtually building objects in a simulated real scene in the virtual space; controlling the first virtual space to move according to a target track in response to an operation performed on the first virtual space; triggering a countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space; and under the condition that the task result of the countermeasure task indicates that the camping of the target user account is over the camping of the virtual account, distributing target virtual material resources for the target user account, and displaying animation for expanding the first virtual space by using the target virtual material resources.
According to another aspect of the embodiment of the present invention, there is also provided a resource processing method, including: obtaining a task result of completing a countermeasure task by using a target user account in a current client, wherein the countermeasure task is a task between the target user account and a virtual account, and the target user account and the virtual account belong to different camps; under the condition that the task result indicates that the camping of the target user account is over the camping of the virtual account, virtual material resources are distributed for the target user account; and expanding a first virtual space occupied by the target user account in the virtual scene by utilizing the virtual material resources, wherein objects in the simulated real scene are virtually built in the first virtual space.
According to still another aspect of the embodiment of the present invention, there is further provided a resource processing device, a first display unit, configured to display, in a current client, a first virtual space occupied by a target user account in a virtual scene, and a second virtual space occupied by a virtual account in the virtual scene, where the target user account and the virtual account belong to different camps, and virtually construct an object in a simulated real scene in the virtual space; a control unit configured to control the first virtual space to move according to a target trajectory in response to an operation performed on the first virtual space; the triggering unit is used for triggering a countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space; and the processing unit is used for distributing target virtual material resources to the target user account under the condition that the task result of the countermeasure task indicates that the campaigns where the target user account is located are over the campaigns where the virtual account is located, and displaying animation for expanding the first virtual space by using the target virtual material resources.
According to still another aspect of the embodiment of the present invention, there is also provided a resource processing apparatus, including: the system comprises an acquisition unit, a target user account and a virtual account, wherein the acquisition unit is used for acquiring a task result of completing a countermeasure task by using the target user account in a current client, the countermeasure task is a task between the target user account and the virtual account, and the target user account and the virtual account belong to different camps; the allocation unit is used for allocating virtual material resources for the target user account under the condition that the task result indicates that the camping where the target user account is located is over the camping where the virtual account is located; and the processing unit is used for expanding a first virtual space occupied by the target user account in the virtual scene by utilizing the virtual material resources, wherein objects in the simulated real scene are virtually built in the first virtual space.
According to yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the above-described resource processing method when run.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic device including a memory in which a computer program is stored, and a processor configured to execute the above-described resource processing method by the computer program.
In the embodiment of the invention, in the virtual scene displayed with the virtual space, the target virtual material resources for expanding the virtual space are issued as the reward resources to the winning target user accounts by triggering the countermeasure task so as to assist the target user accounts to finish further expansion of the virtual space in the virtual scene by utilizing the target virtual material resources instead of just taking the virtual material resources as static attribute data of the user accounts, thereby realizing abundant processing modes of the resources, expanding acquisition channels of the virtual material resources and further overcoming the problem of single processing mode of the resources in the related art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic diagram of a hardware environment of an alternative resource processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative resource processing method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an alternative resource processing method according to an embodiment of the invention;
FIG. 4 is a schematic diagram of another alternative resource processing method according to an embodiment of the invention;
FIG. 5 is a schematic diagram of yet another alternative resource processing method according to an embodiment of the invention;
FIG. 6 is a schematic diagram of yet another alternative resource processing method according to an embodiment of the invention;
FIG. 7 is a schematic diagram of yet another alternative resource processing method according to an embodiment of the invention;
FIG. 8 is a flow chart of another alternative resource processing method according to an embodiment of the invention;
FIG. 9 is a schematic diagram of an alternative resource processing device in accordance with an embodiment of the present invention;
fig. 10 is a schematic diagram of an alternative resource processing device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiment of the present invention, there is provided a resource processing method, optionally, as an optional implementation manner, the resource processing method may be applied, but not limited to, to a resource processing system in a hardware environment as shown in fig. 1, where the resource processing system may include, but is not limited to, a terminal device 102, a network 104, a server 106, and a database 108. The terminal device 102 has a target client (e.g., a game client as shown in fig. 1) that logs in using a user account. The terminal device 102 includes a man-machine interaction screen, a processor and a memory. The man-machine interaction screen is used for displaying pictures in a virtual scene (a virtual game scene in the simulated operation game shown in fig. 1); and also for providing a man-machine interaction interface to receive man-machine interaction operations for completing the countermeasure tasks and construction tasks set in the virtual scene. The processor is used for responding to the man-machine interaction operation to generate an interaction instruction and sending the interaction instruction to the server. The memory is used for storing related attribute data, such as resource information of virtual material resources held by the user account, space information of occupied virtual space and the like.
In addition, a processing engine is included in the server 106 for performing storage or reading operations on the database 108. Specifically, the processing engine will acquire a task result of the countermeasure task, and determine a processing result of the virtual material resource according to the task result.
The specific process comprises the following steps: as shown in steps S102-S106, the terminal device 102 displays, in the current client, a first virtual space (shown as the lower right corner in fig. 1 (a) occupied by the target user account (shown as ID-1)) in the virtual scene, and a second virtual space (shown as the upper left corner in fig. 1 (a)) occupied by the virtual account (shown as ID-2) in the virtual scene. The target user account number and the virtual account number belong to different camps. In response to an operation (such as a drag operation shown in fig. 1) performed on the first virtual space, the first virtual space is controlled to move according to a target track (such as an arrow pointing in fig. 1 (a)), and when the moved first virtual space collides with the second virtual space, a countermeasure task between a target user account (such as ID-1) and a virtual account (such as ID-2) is triggered, where the countermeasure interface of the countermeasure task may be, but is not limited to, as shown in fig. 1 (b), and the countermeasure task challenges the virtual account for the target user account to complete the elimination game task. Then, the terminal device 102 will execute step S108 to transmit the operation data generated in the countermeasure task to the server 106 through the network 104.
After the server 106 obtains the operation data, in step S110, a task result of the countermeasure task is obtained, in step S112, in the case that the task result indicates that the target user account is in a camping that wins the virtual account, the target virtual material resource to be allocated is read from the database 108, and the target virtual material resource is allocated to the target user account. Then, as shown in step S114, the resource information of the target virtual material resource is transmitted to the terminal device 102 through the network 104.
The terminal device 102 will expand the first virtual space by using the obtained target virtual material resource, as in step S116, an animation of the expansion process will be displayed in the terminal device 102, as in the interface shown in fig. 1 (c), the second virtual space will disappear, and the first virtual space will complete the expansion.
It should be noted that, in this embodiment, a first virtual space occupied by a target user account in a virtual scene and a second virtual space occupied by a virtual account belonging to a different camping from the target user account in the virtual scene are displayed in the current client. And responding to the operation executed on the first virtual space, controlling the first virtual space to move according to the target track, and triggering a countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space. And under the condition that the task result of the countermeasure task indicates that the target user account is in a camping which is superior to the virtual account, distributing target virtual material resources for the target user account, and displaying an animation for expanding the first virtual space by utilizing the target virtual material resources. That is, in the virtual scene displayed with the virtual space, the target virtual material resources for expanding the virtual space are issued as rewards resources to the winning target user accounts by triggering the countermeasure tasks, so as to assist the target user accounts to complete further expansion of the virtual space in the virtual scene by using the target virtual material resources, instead of just taking the virtual material resources as static attribute data of the user accounts, thereby realizing the abundant processing mode of the resources, expanding the acquisition channel of the virtual material resources, and further overcoming the problem of single processing mode of the resources in the related art.
Alternatively, in the present embodiment, the above-mentioned terminal device may be a terminal device configured with a target client, and may include, but is not limited to, at least one of the following: a mobile phone (e.g., an Android mobile phone, iOS mobile phone, etc.), a notebook computer, a tablet computer, a palm computer, a MID (Mobile Internet Devices, mobile internet device), a PAD, a desktop computer, a smart television, etc. The target client may be a video client, an instant messaging client, a browser client, an educational client, etc. that supports running an opponent game task. The network may include, but is not limited to: a wired network, a wireless network, wherein the wired network comprises: local area networks, metropolitan area networks, and wide area networks, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communications. The server may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and is not limited in any way in the present embodiment.
Alternatively, as an optional implementation manner, as shown in fig. 2, the above resource processing method is applied to the terminal device 102 shown in fig. 1, and the method may include:
S202, displaying a first virtual space occupied by a target user account in a virtual scene and a second virtual space occupied by the virtual account in the virtual scene in a current client, wherein the target user account and the virtual account belong to different camps, and virtually building objects in a simulated real scene in the virtual space;
alternatively, in the present embodiment, the current client may be, but is not limited to, a Game (abbreviated as SLG) Application (Application) for completing a Simulation development process in a virtual scene. The simulated fostering game herein may be, but is not limited to, replicating various objects and various forms in various "real" scenes for the purpose of "training" players. The virtual nature of the simulated game can be used for teaching, so that students can be helped to predict and analyze conditions such as burst danger and the like; it can also be used for entertainment experience, experience with the hard and successful pleasure of the warp. The above is merely an example, and the present embodiment is not limited in any way.
In addition, in the simulation game provided in this embodiment, the current player is required to collect virtual material resources simulating the construction of the virtual space in the real scene through the given game tasks set in the virtual scene. The predetermined game task may be, but not limited to, a game level set in a virtual scene to increase the interactivity of the game by performing an interactive operation in the task, where the game level may be, but not limited to, a challenge task configured with a corresponding difficulty coefficient, such as a challenge task between players (Player Vs Player, PVP for short), and a challenge task between players (Player Vs Environment, PVE for short). The virtual space may include, but is not limited to, a virtual city, a virtual island, a virtual fazenda, a virtual campus, a virtual job site, etc. that supports virtual objects for simulated execution in the virtual space. Virtual material resources used to build the virtual space may include, but are not limited to: land, foundation materials (e.g., rebar, cement, etc.), food materials, etc.
S204, responding to the operation executed on the first virtual space, and controlling the first virtual space to move according to the target track;
optionally, in this embodiment, the operations performed on the displayed first virtual space may include, but are not limited to: a drag operation, a long-press adjustment direction rear-emission operation, and the like.
S206, triggering a countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space;
alternatively, in this embodiment, the countermeasure task may be, but is not limited to, a human-machine countermeasure mode, such as a game task performed by an interactive operation between a current player and a machine player provided by a game environment. The challenge tasks herein may be, but are not limited to, running in the form of plug-ins, applets in an application (e.g., a game APP running on its own), or running in a game engine in an application (e.g., a game APP running on its own). The types of gaming applications described above may include, but are not limited to, at least one of: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual Reality (VR) game applications, augmented Reality (Augmented Reality AR) game applications, mixed Reality (MR) game applications.
For example, the challenge tasks herein may be, but are not limited to, elimination class game tasks in PVE mode. That is, the current player uses the target user account to challenge the computer player with the virtual account to complete a round of elimination game play. And determining a processing mode of the virtual material resources provided in the virtual scene in the simulated game according to the task result of eliminating the game task.
For example, assume that the virtual space is exemplified by a virtual island, and the operation performed on the first virtual space is exemplified by a drag operation. As shown in fig. 3, it is assumed that after a drag operation for dragging the virtual island occupied by the target user account (i.e., the first virtual space) to the virtual island occupied by the virtual account (i.e., the second virtual space) is detected, the virtual island occupied by the target user account (i.e., the first virtual space) moves along a target track shown by a dot-shaped straight line (i.e., a drag track formed by the drag operation described above) as shown in fig. 3. In the event of a collision of two virtual islands (i.e., the virtual areas of the two virtual islands create an intersection), the challenge task between the target user account and the virtual account will be triggered.
It should be noted that, the above-mentioned fig. 3 shows an example, and the extended virtual space may be an extended virtual area, or may be an extended virtual volume or other processing manners of extending virtual weight, etc. The collision determination method in the virtual space may be, but is not limited to, a method of detecting an intersection, that is, a method of detecting a region where the intersection is generated, and determining that a collision occurs.
S208, under the condition that the task result of the countermeasure task indicates that the target user account is in a campaigns which are superior to the virtual account, distributing target virtual material resources for the target user account, and displaying an animation for expanding the first virtual space by utilizing the target virtual material resources.
Optionally, in this embodiment, in case that the task result of the countermeasure task indicates that the camping where the target user account is located in a camping where the virtual account is located in a winning manner, virtual material resources required for expanding the virtual space may be allocated or added to the target user account.
For example, as shown in fig. 1, assume that the countermeasure task is exemplified by the elimination game task in the PVE mode shown in fig. 1 (b), and that the countermeasure camps each include one account. And under the condition that the acquired task result for eliminating the game task indicates that the target user account ID-1 wins the virtual account ID-2, distributing target virtual material resources for the target user account ID-1, wherein the target virtual material resources can be land parcels. The land mass herein will be used to expand a first virtual space, which may be a virtual island on which the construction of a virtual building is allowed to continue, as shown in fig. 1 (c), the above-described allocated 4 land masses being used to expand the virtual area of the virtual island. Here, fig. 1 shows an optional assumed example, and the form and content of the countermeasure task, and the type and content of the target material resource and the virtual space are not limited in this embodiment.
According to the embodiment provided by the application, in the virtual scene displayed with the virtual space, the target virtual material resources for expanding the virtual space are issued to the winning target user account as the reward resources by triggering the countermeasure task, so that the target user account is assisted to utilize the target virtual material resources to complete further expansion of the virtual space in the virtual scene, and the virtual material resources are not used as static attribute data of the user account, so that the processing mode of the resources is enriched, the acquisition channel of the virtual material resources is expanded, and the problem that the processing mode of the resources in the related art is single is solved.
As an alternative, when displaying the animation of expanding the first virtual space by using the target virtual material resource, the method further includes:
s1, displaying the animation of the second virtual space disappearing from the virtual scene.
Optionally, in this embodiment, when the first virtual space is expanded by using the target virtual material, the second virtual space occupied by the virtual account number will disappear. Here, the vanishing time of the second virtual space may be before or after starting to expand the first virtual space, and may be synchronized with the process of expanding the first virtual space. That is, the process of displaying the disappearance of the second virtual space may be started first, and then the process of expanding the first virtual space by using the target virtual material may be started, or the process of expanding the first virtual space by using the target virtual material may be started first, and then the process of displaying the disappearance of the second virtual space may be started, which are asynchronous display processes; the process of disappearing the second virtual space and the process of expanding the first virtual space by utilizing the target virtual material can be displayed simultaneously, and the two processes are synchronous display processes. Wherein the virtual material resources after the second virtual space disappears from the virtual scene are discarded.
In addition, in the present embodiment, the manner in which the virtual space disappears from the virtual scene may be, but is not limited to, a form of falling down to the meteorology. For example, as shown in fig. 4, the disappearing animation effect may decompose the second virtual space into virtual material resources, and then control each to execute the action of dropping and disappearing.
It should be noted that, in this embodiment, the second virtual space may be, but is not limited to, a virtual space occupied by the virtual account number in the PVE mode, and the animation that the virtual space disappears will avoid frustration after the actual player experiences failure. In addition, in this embodiment, although the second virtual space occupied by the virtual account number of the losing party will disappear, the process of directly phagocytosing the virtual space by the target user account number of the winning party will not be presented. In other words, the target virtual material resources acquired by the target user account are issued by the server in the form of rewarding resources, but are not acquired in the form of phagocytic occupation, so that the player is more beneficial to experiencing positive experience in the game interaction process, and the victory negative experience of other players for acquiring game tasks is reduced.
Through the embodiment provided by the application, when the animation for expanding the first virtual space by utilizing the target virtual material resources is displayed, the animation of the second virtual space disappearing from the virtual scene is displayed, so that the purpose of intuitively prompting the user player that the user account is acquired in the countermeasure task is achieved, and the effect of dynamically adjusting the resources in the virtual scene to ensure relative conservation is also shown.
As an alternative, when displaying the animation of the second virtual space disappearing from the virtual scene, the method further comprises:
s1, determining candidate virtual material resources from virtual material resources corresponding to a disappearing second virtual space, wherein the candidate virtual material resources are part or all of the virtual material resources corresponding to the second virtual space;
and S2, displaying an animation of transferring the candidate virtual material resources to the area where the first virtual space is located so as to prompt that the first virtual space is expanded.
Optionally, in this embodiment, in the process that the second virtual space is displayed from the virtual scene, the corresponding virtual material resource may be reused, but is not limited to being reused. If part or all of the virtual material resources corresponding to the second virtual space are determined to be candidate virtual material resources, and the target user account is controlled to directly utilize the candidate virtual material resources as target virtual material resources for extension. That is, the target virtual material resources allocated for the first virtual space may include the candidate virtual material resources split from the second virtual space. If the candidate virtual material resource is directly used as the target virtual material resource, a new virtual material resource can be added by the server in addition to the candidate virtual material resource to be used as the target virtual material resource.
Wherein, when determining the partial virtual material resource as the candidate virtual material resource, the partial virtual material resource can be determined according to a preset resource transfer ratio, but is not limited to the determination. The resource transfer ratio may be, but is not limited to, determined according to a difficulty coefficient of each game level, for example, the larger the difficulty coefficient of the game level is, the larger the resource transfer ratio is, that is, the more candidate virtual material resources are determined from the virtual material resources corresponding to the second virtual space. In addition, in this embodiment, the processing manner of the virtual material resources other than the candidate virtual material resource in the virtual material resources corresponding to the second virtual space may include, but is not limited to, direct discarding in the background. Because the virtual account number is not a user account number used by a real player, the virtual material resource held by the virtual account number does not have an attribute for identifying the current state of the account number, and the virtual material resource can be directly displayed in the client side for disappearance. The virtual account number may still display the second virtual space after the initialization process when the other user player enters the current game level in the PVE countermeasure mode.
For example, assume that the virtual space still takes the form of a virtual island as shown in fig. 5, and the virtual material resource takes the form of a land block as an example. In the case that the target user account is in a camping that wins the camping of the virtual account, the second virtual space occupied by the virtual account will disappear from the virtual scene. Specifically, as shown in fig. 5, from among the land areas corresponding to the virtual islands that are disappearing, candidate land areas are determined, as shown by the six dotted land areas in the upper left corner in fig. 5. Assuming that the current game task level indicates that all candidate land parcels are to be the target land parcels, the target user account is provided to expand the virtual islands they occupy. Then, as shown in fig. 5, an animation is displayed in which the six candidate land parcels are transferred to the positions of the virtual islands occupied by the account numbers of the target users.
Through the embodiment provided by the application, the candidate virtual material resources are determined from the virtual material resources corresponding to the disappearing second virtual space, the candidate virtual material resources are transferred to the area where the second virtual space is located, and the candidate virtual material resources are prompted to be utilized to expand the first virtual space, so that the utilization rate of the virtual material resources is improved.
As an alternative, after triggering the countermeasure task between the target user account and the virtual account, the method further includes:
s1, under the condition that a task result of an countermeasure task indicates that a target user account is in a camping of a target user account, a current space display state of a first virtual space and a current space display state of a second virtual space are maintained.
It should be noted that, in this embodiment, when the task results of the countermeasure tasks of the target user account and the virtual account indicate that the challenge fails, the space display states of the virtual spaces occupied by the target user account and the virtual account may be, but are not limited to, maintained, and the virtual material resources currently held by the target user account may also be maintained.
By the embodiment provided by the application, even if the challenge of the target user account fails, the resources held by the target user account cannot be phagocytosed by the user accounts or the virtual accounts used by other players, and the currently occupied virtual space can be displayed, so that the problem that the resources held by the target user account are phagocytosed by prompting the user is avoided, and the frustration of the user after the task failure is reduced.
As an alternative, after controlling the first virtual space to move according to the target track, the method further includes:
s1, determining that the first virtual space collides with the second virtual space under the condition that the position of the second virtual space is located on the target track.
It should be noted that, in this embodiment, the manner of determining that the first virtual space collides with the second virtual space may include, but is not limited to: in the case that the position of the second virtual space is located on the target track formed by the movement of the first virtual space, it can be determined that the second virtual space and the target track collide in the movement process.
By the embodiment provided by the application, under the condition that the position of the second virtual space is located on the target track, the first virtual space and the second virtual space are determined to collide. Therefore, the method and the device realize rich expansion of the expression form of triggering the interactive task, promote the user experience, and be more beneficial to attracting more users to participate in downloading and using the game application.
As an alternative, controlling the first virtual space to move according to the target trajectory in response to the operation performed on the first virtual space includes one of:
1) Responding to the dragging operation executed on the first virtual space, and controlling the first virtual space to move according to a dragging track corresponding to the dragging operation, wherein the target track is an operation track generated by the dragging operation;
for example, as shown in fig. 3, it is assumed that after a drag operation for dragging the virtual island occupied by the target user account (i.e., the first virtual space) to the virtual island occupied by the virtual account (i.e., the second virtual space) is detected, as shown in fig. 3, the virtual island occupied by the target user account (i.e., the first virtual space) moves along a target track shown by a dot-shaped straight line (i.e., a drag track formed by the drag operation). In the event of a collision of two virtual islands (i.e., the virtual areas of the two virtual islands create an intersection), the challenge task between the target user account and the virtual account will be triggered.
2) When the first virtual space is selected, the first virtual space is controlled to move according to the adjusted target direction in response to the direction adjustment operation executed on the first virtual space, wherein the target track is a track generated after moving according to the target direction.
For example, as shown in fig. 7, a long-press force accumulation may also be performed on a virtual island (i.e., the first virtual space) occupied by the target user account, and the angle adjustment dial may be displayed simultaneously during the long-press force accumulation, and the aiming direction may be adjusted during the long-press force accumulation (as shown in fig. 7 with the direction of the dashed line pointed by the arrow). After determining the target direction (as shown in fig. 7 with the solid line pointed by the arrow), the long pressed first virtual space can be released, and the first virtual space moves according to the target direction and collides with the second virtual space (i.e. the virtual areas of the two virtual islands are intersected), and then the countermeasure task between the target user account and the virtual account is triggered.
Through the embodiment provided by the application, the first virtual space is controlled to move to the position where the second virtual space is located through different triggering operations and collide with the second virtual space, so that the interaction task between the target user account and the virtual account is triggered, the effect of enriching the task triggering form is further achieved, and the user interaction experience is improved more.
As an alternative, after displaying the animation of expanding the first virtual space by using the target virtual material resource, the method further includes:
s1, responding to the operation triggered in the current client, simulating the object in the real scene in the first virtual space after the expansion, and building the virtual object.
It should be noted that, in this embodiment, the virtual material resources allocated to the target user account are used to extend the virtual space, not just static attribute data for identifying the current state of the user account, but rather physical resources for simulating the completion of the simulation building and curing process by the object in the real scene.
For example, assume here that the virtual material resource is exemplified by a land block, and the virtual space is exemplified by a virtual island. In connection with fig. 5, after the newly allocated land parcels are used as the extension process of the virtual islands occupied by the target user account, the land parcels in the virtual islands herein are used as the construction basis for further construction processes, such as simulating real objects in real life, to construct new virtual buildings, planting new virtual plants, etc., to complete the simulated cultivation or simulated operation process of the real scenes, thereby completing the corresponding game tasks.
By means of the embodiment provided by the application, in response to the operation triggered in the current client, the object in the real scene is simulated in the first virtual space after expansion, and the virtual object is built. Therefore, the virtual material resource materialization processing as rewards is realized, the second utilization is further carried out after the first virtual space is expanded, and the utilization rate of the resource is improved.
Alternatively, as an optional implementation manner, as shown in fig. 8, the above-mentioned resource processing method is applied to the server 106 shown in fig. 1, and the method may include:
s802, acquiring a task result of completing a countermeasure task by using a target user account in a current client, wherein the countermeasure task is a task between the target user account and a virtual account, and the target user account and the virtual account belong to different camps;
s804, distributing target virtual material resources for the target user account under the condition that the task result indicates that the target user account is in a camping place to overcome the virtual account;
s806, expanding a first virtual space occupied by the target user account in the virtual scene by utilizing the target virtual material resources, wherein objects in the simulated real scene are virtually built in the first virtual space.
It should be noted that, in this embodiment, the server analyzes and processes operation data generated by the terminal device in the countermeasure task to obtain a task result, and determines whether to allocate virtual material resources for the target user account according to the task result. Under the condition that the camping winning of the account number of the target user is determined, virtual material resources are allocated for the account number of the target user, the virtual material resources are supported to expand the occupied first virtual space, and secondary construction and utilization of the virtual space are facilitated.
Embodiments implemented at the server side may be, but are not limited to, embodiments described with reference to the terminal device side, and will not be described herein.
As an optional solution, when the task result indicates that the target user account is in a camping that wins the virtual account, allocating the target virtual material resource to the target user account includes:
s1, under the condition that a task result indicates that a target user account is located in a camping place to overcome a virtual account, virtual material resources are distributed to the target user account according to a first quantity;
s2, deducting virtual material resources held by the virtual account number according to the second number.
Optionally, in this embodiment, deducting, by the second number, the virtual material resource held by the virtual account number includes: and deducting virtual physical resources corresponding to a second virtual space occupied by the virtual account number in the virtual scene, wherein the second number is greater than or equal to the first number.
It should be noted that, in this embodiment, the virtual material resources increased by the first virtual space and the virtual material resources decreased by the second virtual space may be asynchronous processing procedures. That is, the server issues the target virtual material resource as the bonus resource to the target user account, and the virtual material resource held by the virtual account is controlled by the server. And the association relation can be established in the increasing and decreasing processes, for example, partial or all virtual material resources are determined from the decreasing virtual material resources and transferred to the target user account number to be used as the increasing virtual material resources. The transfer process may refer to the above embodiment, and will not be described here again.
As an alternative, after obtaining the task result of completing the countermeasure task in the current client using the target user account, the method further includes:
s1, under the condition that a task result indicates that the virtual account number is in a camping and the target user account number is in a camping, the current space display state of the first virtual space and the current space display state of the second virtual space are maintained.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an optional solution, when the task result indicates that the target user account is in a camping that wins the virtual account, allocating the target virtual material resource to the target user account includes:
s1, obtaining an countermeasure performance parameter generated by a target user account in a countermeasure task;
s2, distributing target virtual material resources matched with the countermeasure performance parameters to the target user account, wherein the number of the target virtual material resources is related to the countermeasure performance parameters.
Alternatively, in the present embodiment, the countermeasure performance parameter may be, but is not limited to, a statistical result corresponding to the operation data generated in the countermeasure task. Such as the number of consecutive hits, the number of consecutive line successes, or the number of one-step cancellations in the elimination game, etc. The more the challenge performance parameter indicates that the target user account performs well in the challenge task, the more the determined amount of virtual material resources to be allocated.
According to the embodiment provided by the application, the target virtual material resources matched with the countermeasure performance parameters are allocated to the target user account, so that the target virtual material resources matched with the performance of the target user account in the countermeasure task can be flexibly allocated to the target user account.
As an optional solution, expanding the first virtual space occupied by the target user account in the virtual scene by using the target virtual material resource includes:
1) The method comprises the steps of expanding a first virtual area occupied by a target user account into a second virtual area by utilizing target virtual material resources, wherein the expanding of the first virtual space comprises expanding the first virtual area;
2) The method comprises the steps of expanding a first virtual volume occupied by a target user account into a second virtual volume by utilizing a target virtual material resource, wherein the expanding of the first virtual space comprises expanding the first virtual volume;
3) And expanding the first virtual weight occupied by the target user account into the second virtual weight by utilizing the target virtual material resource, wherein the expanding the first virtual space comprises increasing the first virtual weight.
It should be noted that, in this embodiment, the virtual space provided in the virtual scene is to provide the player with a building space, such as a virtual island. The expansion of the virtual space may be an area expansion, a volume expansion, or a weight increase, may be an increase in the side length of the virtual space, or may be a neutral region (i.e., a region to which the neutral region belongs is changed from the attribute of the current player). That is, the extension form of the virtual space is not limited in this embodiment.
As an optional solution, after the expanding the first virtual space occupied by the target user account in the virtual scene by using the target virtual material resource, the method further includes:
s1, responding to the triggering operation of the target user account in the current client, simulating the object in the real scene in the expanded first virtual space, and building the virtual object.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
According to another aspect of the embodiment of the present invention, there is also provided a resource processing device for implementing the above-mentioned resource processing method, which is applied to the terminal device 102 shown in fig. 1. As shown in fig. 9, the apparatus includes:
The first display unit 902 is configured to display, in a current client, a first virtual space occupied by a target user account in a virtual scene and a second virtual space occupied by a virtual account in the virtual scene, where the target user account and the virtual account belong to different camps, and virtually construct an object in a simulated real scene in the virtual space;
a control unit 904 for controlling the first virtual space to move according to the target trajectory in response to an operation performed on the first virtual space;
a triggering unit 906, configured to trigger an countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space;
the processing unit 908 is configured to allocate a target virtual material resource to the target user account when the task result of the countermeasure task indicates that the camping where the target user account is located where the virtual account is located, and display an animation that extends the first virtual space by using the target virtual material resource.
As an alternative, the method further comprises:
and the second display unit is used for displaying the animation of the second virtual space disappearing from the virtual scene when displaying the animation of the first virtual space expanded by utilizing the target virtual material resource.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the method further comprises:
the first determining unit is used for determining candidate virtual material resources from virtual material resources corresponding to the second virtual space which is disappearing when the animation of the second virtual space which is disappearing from the virtual scene is displayed, wherein the candidate virtual material resources are part or all of the virtual material resources corresponding to the second virtual space;
and the transferring display unit is used for displaying an animation of transferring the candidate virtual material resources to the area where the first virtual space is located so as to prompt that the first virtual space is expanded.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the method further comprises:
the maintaining display unit is used for maintaining the current space display state of the first virtual space and the current space display state of the second virtual space under the condition that the task result of the countermeasure task indicates that the virtual account is in camping to defeat the target user account after triggering the countermeasure task between the target user account and the virtual account.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the method further comprises:
and the second determining unit is used for determining that the first virtual space collides with the second virtual space under the condition that the position of the second virtual space is positioned on the target track after the first virtual space is controlled to move according to the target track.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the control unit 904 includes one of the following:
the first control module is used for responding to the dragging operation executed on the first virtual space and controlling the first virtual space to move according to a dragging track corresponding to the dragging operation, wherein the target track is an operation track generated by the dragging operation;
and the second control module is used for responding to the direction adjustment operation executed on the first virtual space when the first virtual space is selected, and controlling the first virtual space to move according to the adjusted target direction, wherein the target track is a track generated after moving according to the target direction.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the method further comprises:
and the building unit is used for building the virtual object by simulating the object in the real scene in the expanded first virtual space in response to the operation triggered in the current client after displaying the animation for expanding the first virtual space by utilizing the target virtual material resource.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
According to another aspect of the embodiment of the present invention, there is also provided a resource processing device for implementing the above-mentioned resource processing method, which is applied to the server 106 shown in fig. 1. As shown in fig. 10, the apparatus includes:
an obtaining unit 1002, configured to obtain a task result of completing a challenge task using a target user account in a current client, where the challenge task is a task between the target user account and a virtual account, and the target user account and the virtual account belong to different camps;
an allocation unit 1004, configured to allocate a virtual material resource to a target user account when the task result indicates that the target user account is located in a camping that wins the virtual account;
the processing unit 1006 is configured to utilize the virtual material resource to expand a first virtual space occupied by the target user account in the virtual scene, where objects in the simulated real scene are virtually built in the first virtual space.
As an alternative, the allocation unit 1004 includes:
the first allocation module is used for allocating virtual material resources for the target user account according to the first quantity under the condition that the task result indicates that the target user account is in a camping which is superior to the virtual account;
and the deduction module is used for deducting the virtual material resources held by the virtual account number according to the second number.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the deduction module includes:
the deduction submodule is used for deducting virtual physical resources corresponding to a second virtual space occupied by the virtual account number in the virtual scene, wherein the second number is larger than or equal to the first number.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the method further comprises:
the maintaining display unit is used for maintaining the current space display state of the first virtual space and the current space display state of the second virtual space under the condition that the task result indicates that the virtual account number is in the camping to defeat the target user account number after the task result of the countermeasure task is obtained by using the target user account number in the current client.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the allocation unit 1004 includes:
the acquisition module is used for acquiring the countermeasure performance parameters generated by the target user account in the countermeasure task;
and the second allocation module is used for allocating target virtual material resources matched with the countermeasure performance parameters to the target user account, wherein the number of the target virtual material resources is related to the countermeasure performance parameters.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the processing unit 1006 includes:
the first extension module is used for extending a first virtual area occupied by the target user account into a second virtual area by utilizing the target virtual material resources, wherein the extending of the first virtual space comprises extending the first virtual area;
the second extension module is used for extending the first virtual volume occupied by the target user account into a second virtual volume by utilizing the target virtual material resource, wherein the extending of the first virtual space comprises extending the first virtual volume;
and the third extension module is used for extending the first virtual weight occupied by the target user account into the second virtual weight by utilizing the target virtual material resources, wherein the extending of the first virtual space comprises the increase of the first virtual weight.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
As an alternative, the method further comprises:
the building unit is used for building the virtual object by responding to the operation triggered by the target user account in the current client after the first virtual space occupied by the target user account in the virtual scene is built by utilizing the target virtual material resource.
In this embodiment, specific examples may refer to the above-described embodiments, and are not described herein.
According to still another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the above-mentioned resource processing method, where the electronic device may be the terminal device 102 shown in fig. 1. The electronic device comprises a memory in which a computer program is stored and a processor arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, displaying a first virtual space occupied by a target user account in a virtual scene and a second virtual space occupied by the virtual account in the virtual scene in a current client, wherein the target user account and the virtual account belong to different camps, and virtually building objects in a simulated real scene in the virtual space;
s2, responding to the operation executed on the first virtual space, and controlling the first virtual space to move according to the target track;
s3, triggering a countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space;
and S4, under the condition that the task result of the countermeasure task indicates that the target user account is in a campaigns which are superior to the virtual account, distributing target virtual material resources for the target user account, and displaying an animation for expanding the first virtual space by utilizing the target virtual material resources.
Alternatively, as will be appreciated by those skilled in the art, the electronic device may also be a smart phone (e.g., an Android phone, iOS phone, etc.), a tablet computer, a palmtop computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the resource processing method and apparatus in the embodiments of the present invention, and the processor executes the software programs and modules stored in the memory, thereby executing various functional applications and data processing, that is, implementing the resource processing method described above. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory may be used, but is not limited to, for storing information such as operation data generated in the countermeasure task. In addition, other module units in the above-mentioned resource processing device may be included, but are not limited to, and are not described in detail in this example.
Optionally, the above-mentioned transmission device is used for receiving or transmitting data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means comprises a network adapter (Network Interface Controller, NIC) which is connectable to other network devices via a network cable to a router for communication with the internet or a local area network. In one example, the transmission device is a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In addition, the electronic device further includes: the display is used for displaying a virtual scene picture and a task picture of an countermeasure task; and a connection bus for connecting the respective module parts in the electronic device.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes through a network communication. Among them, the nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, etc., may become a node in the blockchain system by joining the Peer-To-Peer network.
According to still another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the above-mentioned resource processing method, which may be the server 106 shown in fig. 1. The electronic device comprises a memory in which a computer program is stored and a processor arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, acquiring a task result of completing a countermeasure task by using a target user account in a current client, wherein the countermeasure task is a task between the target user account and a virtual account, and the target user account and the virtual account belong to different camps;
s2, distributing target virtual material resources for the target user account under the condition that the task result indicates that the target user account is located in a camping place to overcome the virtual account;
and S3, expanding a first virtual space occupied by the target user account in the virtual scene by utilizing the target virtual material resources, wherein objects in the simulated real scene are virtually built in the first virtual space.
Alternatively, as will be appreciated by those skilled in the art, the electronic device may also be a smart phone (e.g., an Android phone, iOS phone, etc.), a tablet computer, a palmtop computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the resource processing method and apparatus in the embodiments of the present invention, and the processor executes the software programs and modules stored in the memory, thereby executing various functional applications and data processing, that is, implementing the resource processing method described above. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory may be, but not limited to, a task result of the countermeasure task and information such as virtual material resources held by each account. In addition, other module units in the above-mentioned resource processing device may be included, but are not limited to, and are not described in detail in this example.
Optionally, the above-mentioned transmission device is used for receiving or transmitting data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means comprises a network adapter (Network Interface Controller, NIC) which is connectable to other network devices via a network cable to a router for communication with the internet or a local area network. In one example, the transmission device is a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In addition, the electronic device further includes: the display is used for displaying the task result of the countermeasure task; and a connection bus for connecting the respective module parts in the electronic device.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes through a network communication. Among them, the nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, etc., may become a node in the blockchain system by joining the Peer-To-Peer network.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the above-described resource processing method. Wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, displaying a first virtual space occupied by a target user account in a virtual scene and a second virtual space occupied by the virtual account in the virtual scene in a current client, wherein the target user account and the virtual account belong to different camps, and virtually building objects in a simulated real scene in the virtual space;
s2, responding to the operation executed on the first virtual space, and controlling the first virtual space to move according to the target track;
s3, triggering a countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space;
and S4, under the condition that the task result of the countermeasure task indicates that the target user account is in a campaigns which are superior to the virtual account, distributing target virtual material resources for the target user account, and displaying an animation for expanding the first virtual space by utilizing the target virtual material resources.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
S1, acquiring a task result of completing a countermeasure task by using a target user account in a current client, wherein the countermeasure task is a task between the target user account and a virtual account, and the target user account and the virtual account belong to different camps;
s2, distributing target virtual material resources for the target user account under the condition that the task result indicates that the target user account is located in a camping place to overcome the virtual account;
and S3, expanding a first virtual space occupied by the target user account in the virtual scene by utilizing the target virtual material resources, wherein objects in the simulated real scene are virtually built in the first virtual space.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present invention.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (18)

1. A method of resource processing, comprising:
displaying a first virtual space occupied by a target user account in a virtual scene and a second virtual space occupied by the virtual account in the virtual scene in a current client, wherein the target user account and the virtual account belong to different camps, and virtually building objects in a simulated real scene in the virtual space;
Controlling the first virtual space to move according to a target track in response to an operation executed on the first virtual space;
triggering a game countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space, wherein the collision is used for indicating that the first virtual space and the second virtual space have the same space area;
and under the condition that the task result of the game countermeasure task indicates that the camping where the target user account is located wins the camping where the virtual account is located, distributing target virtual material resources for the target user account, and displaying animation for expanding the first virtual space by utilizing the target virtual material resources.
2. The method of claim 1, wherein, in displaying the animation that expands the first virtual space using the target virtual material resource, further comprising:
and displaying the animation of the second virtual space disappearing from the virtual scene.
3. The method of claim 2, wherein when displaying an animation of the second virtual space disappearing from the virtual scene, further comprising:
Determining candidate virtual material resources from virtual material resources corresponding to the second virtual space which are disappearing, wherein the candidate virtual material resources are part or all of the virtual material resources corresponding to the second virtual space;
and displaying the animation of transferring the candidate virtual material resources to the area where the first virtual space is located so as to prompt that the first virtual space is expanded.
4. The method of claim 1, further comprising, after triggering a game challenge task between the target user account and the virtual account:
and under the condition that the task result of the game countermeasure task indicates that the camping where the virtual account number is located is in place of the camping where the target user account number is located, maintaining the current space display state of the first virtual space and the current space display state of the second virtual space.
5. The method of claim 1, further comprising, after said controlling said first virtual space to move in accordance with a target trajectory:
and under the condition that the position of the second virtual space is positioned on the target track, determining that the first virtual space collides with the second virtual space.
6. The method of any of claims 1, wherein controlling the first virtual space to move in accordance with a target trajectory in response to an operation performed on the first virtual space comprises one of:
responding to a drag operation executed on the first virtual space, and controlling the first virtual space to move according to a drag track corresponding to the drag operation, wherein the target track is an operation track generated by the drag operation;
when the first virtual space is selected, responding to a direction adjustment operation executed on the first virtual space, and controlling the first virtual space to move according to an adjusted target direction, wherein the target track is a track generated after moving according to the target direction.
7. The method of any of claims 1, further comprising, after the displaying the animation that expands the first virtual space with the target virtual material resource:
and responding to the operation triggered in the current client, simulating the object in the real scene in the expanded first virtual space, and building a virtual object.
8. A method of resource processing, comprising:
obtaining a task result of completing a game countermeasure task by using a target user account in a current client, wherein the game countermeasure task is a task between the target user account and a virtual account triggered when a first virtual space collides with a second virtual space, the target user account and the virtual account belong to different camps, the first virtual space is a virtual space occupied by the target user account displayed in the current client in a virtual scene, the second virtual space is a virtual space occupied by the virtual account in the virtual scene, and the collision is used for indicating that the first virtual space and the second virtual space have the same space area;
distributing target virtual material resources for the target user account under the condition that the task result indicates that the camping of the target user account is in conflict with the camping of the virtual account;
and expanding the first virtual space by utilizing the target virtual material resources, wherein objects in the simulated real scene are virtually built in the first virtual space.
9. The method of claim 8, wherein the allocating the target virtual material resource for the target user account if the task result indicates that the target user account is in a campaigns that defeats the virtual account comprises:
under the condition that the task result indicates that the camping where the target user account is located is in place of the camping where the virtual account is located, virtual material resources are distributed to the target user account according to a first quantity;
and deducting the virtual material resources held by the virtual account number according to the second number.
10. The method of claim 9, wherein deducting the virtual material resources held by the virtual account number by a second amount comprises:
and deducting virtual physical resources corresponding to a second virtual space occupied by the virtual account number in the virtual scene, wherein the second number is greater than or equal to the first number.
11. The method of claim 10, further comprising, after the obtaining the task result of completing the game challenge task in the current client using the target user account:
and under the condition that the task result indicates that the camping of the virtual account number is superior to the camping of the target user account number, maintaining the current space display state of the first virtual space and the current space display state of the second virtual space.
12. The method of claim 8, wherein the allocating the target virtual material resource for the target user account if the task result indicates that the target user account is in a campaigns that defeats the virtual account comprises:
obtaining a countermeasure performance parameter generated by the target user account in the game countermeasure task;
and allocating the target virtual material resources matched with the countermeasure performance parameters to the target user account, wherein the quantity of the target virtual material resources is related to the countermeasure performance parameters.
13. The method of claim 8, wherein expanding the first virtual space occupied by the target user account in the virtual scene with the target virtual material resource comprises:
the first virtual area occupied by the target user account is expanded into a second virtual area by utilizing the target virtual material resource, wherein the expansion of the first virtual space comprises the expansion of the first virtual area;
utilizing the target virtual material resource to expand a first virtual volume occupied by the target user account into a second virtual volume, wherein expanding the first virtual space comprises expanding the first virtual volume;
And expanding the first virtual weight occupied by the target user account into a second virtual weight by utilizing the target virtual material resource, wherein the expanding of the first virtual space comprises increasing the first virtual weight.
14. The method of claim 8, further comprising, after the expanding the first virtual space occupied by the target user account in the virtual scene with the target virtual material resource:
and responding to the operation triggered by the target user account in the current client, simulating the object in the real scene in the expanded first virtual space, and building a virtual object.
15. A resource processing apparatus, comprising:
the 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 space occupied by a target user account in a virtual scene and a second virtual space occupied by the virtual account in the virtual scene in a current client, the target user account and the virtual account belong to different camps, and objects in a simulated real scene are virtually built in the virtual space;
a control unit for controlling the first virtual space to move according to a target track in response to an operation performed on the first virtual space;
The triggering unit is used for triggering a game countermeasure task between the target user account and the virtual account when the first virtual space collides with the second virtual space, wherein the collision is used for indicating that the same space area exists between the first virtual space and the second virtual space;
and the processing unit is used for distributing target virtual material resources for the target user account under the condition that the task result of the game countermeasure task indicates that the campaigns where the target user account is located are in conflict with the campaigns where the virtual account is located, and displaying the animation for expanding the first virtual space by utilizing the target virtual material resources.
16. A resource processing apparatus, comprising:
the game countermeasure task is a task between the target user account and the virtual account triggered when a first virtual space collides with a second virtual space, the target user account and the virtual account belong to different camps, the first virtual space is a virtual space occupied by the target user account displayed in the current client in a virtual scene, the second virtual space is a virtual space occupied by the virtual account in the virtual scene, and the collision is used for indicating that the first virtual space and the second virtual space have the same space area;
The allocation unit is used for allocating target virtual material resources for the target user account under the condition that the task result indicates that the camping where the target user account is located is in place of the camping where the virtual account is located;
and the processing unit is used for expanding the first virtual space by utilizing the target virtual material resources, wherein objects in the simulated real scene are virtually built in the first virtual space.
17. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 14.
18. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 14 by means of the computer program.
CN202110834163.XA 2021-07-20 2021-07-20 Resource processing method and device, storage medium and electronic equipment Active CN113457141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110834163.XA CN113457141B (en) 2021-07-20 2021-07-20 Resource processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110834163.XA CN113457141B (en) 2021-07-20 2021-07-20 Resource processing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113457141A CN113457141A (en) 2021-10-01
CN113457141B true CN113457141B (en) 2024-02-02

Family

ID=77882017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110834163.XA Active CN113457141B (en) 2021-07-20 2021-07-20 Resource processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113457141B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595521A (en) * 2018-03-26 2018-09-28 腾讯科技(深圳)有限公司 Search method, device, storage medium and the electronic device of information
WO2020000388A1 (en) * 2018-06-29 2020-01-02 深圳市大疆创新科技有限公司 Virtual battle processing method, server, and movable platform
CN110795232A (en) * 2019-09-16 2020-02-14 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer readable storage medium and computer equipment
CN111084988A (en) * 2019-12-17 2020-05-01 腾讯科技(深圳)有限公司 Virtual item generation method and device, storage medium and electronic device
CN111589117A (en) * 2020-05-07 2020-08-28 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for displaying function options
CN112569604A (en) * 2020-12-11 2021-03-30 北京完美赤金科技有限公司 Virtual resource processing method, device and storage medium in role playing game

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595521A (en) * 2018-03-26 2018-09-28 腾讯科技(深圳)有限公司 Search method, device, storage medium and the electronic device of information
WO2020000388A1 (en) * 2018-06-29 2020-01-02 深圳市大疆创新科技有限公司 Virtual battle processing method, server, and movable platform
CN110795232A (en) * 2019-09-16 2020-02-14 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer readable storage medium and computer equipment
CN111084988A (en) * 2019-12-17 2020-05-01 腾讯科技(深圳)有限公司 Virtual item generation method and device, storage medium and electronic device
CN111589117A (en) * 2020-05-07 2020-08-28 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for displaying function options
CN112569604A (en) * 2020-12-11 2021-03-30 北京完美赤金科技有限公司 Virtual resource processing method, device and storage medium in role playing game

Also Published As

Publication number Publication date
CN113457141A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US20210252401A1 (en) Network-based video game editing and modification distribution system
US9868061B2 (en) Information processing system, information processing method, information processing program, computer-readable recording medium on which information processing program is recorded, and information processing device
US20220274021A1 (en) Display method and apparatus for virtual scene, storage medium, and electronic device
US20120289342A1 (en) System and method for placing players of a multiplayer game in a virtual world
WO2021143318A1 (en) Control method and device for virtual operating object, storage medium, and electronic device
JP2022505894A (en) Interaction Graphic A method for displaying a user interface, its equipment and its computer program
CN112675543A (en) Role attribute configuration method and device, storage medium and electronic device
CN111950670A (en) Virtual interaction task execution method and device, storage medium and electronic device
CN110898425B (en) Information synchronization method and device, storage medium and electronic device
CN113244609A (en) Multi-picture display method and device, storage medium and electronic equipment
CN113457141B (en) Resource processing method and device, storage medium and electronic equipment
CN111228805B (en) Virtual operation object control method and device, storage medium and electronic device
US20160346684A1 (en) Systems and methods for mass user multi input control of a common display
CN111135566A (en) Control method and device of virtual prop, storage medium and electronic device
CN113813599B (en) Virtual character control method and device, storage medium and electronic equipment
CN114307150B (en) Method, device, equipment, medium and program product for interaction between virtual objects
CN106861192B (en) Event execution method and device
CN113952739A (en) Game data processing method and device, electronic equipment and readable storage medium
CN113730907A (en) Virtual resource transfer method and device, storage medium and electronic equipment
US10668384B2 (en) System using rule based techniques for handling gameplay restrictions
CN112473139A (en) Object form switching method and device, storage medium and electronic device
JP6959267B2 (en) Generate challenges using a location-based gameplay companion application
CN114210067B (en) Virtual prop control method and device, storage medium and electronic equipment
KR102553856B1 (en) Apparatus and method for sending overwhelming information, apparatus and method for displayng overwhelming information
CN113713384B (en) Virtual character control method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant