Virtual weather display control method and device, storage medium and electronic device

CN116999809BActive Publication Date: 2026-10-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210995051.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-18
Publication Date
2026-10-27
Estimated Expiration
2042-08-18

AI Technical Summary

Technical Problem

[0005]本申请实施例提供了一种虚拟天气的展示控制方法和装置、存储介质及电子设备,以至少解决了相关技术中虚拟场景内展示的虚拟天气的利用率较低的问题

Benefits of technology

[0011]在本申请实施例中,确定目标虚拟角色当前在虚拟场景中所在的角色位置;在角色位置与至少一个虚拟天气控制道具中的目标虚拟天气控制道具所在的道具位置之间的距离小于目标距离阈值的情况下,显示与目标虚拟天气控制道具相匹配的虚拟天气配置图层;在从至少一个虚拟天气道具中获取到目标虚拟天气道具,且确定出目标虚拟天气道具在虚拟场景内的目标施放区域的情况下,在目标施放区域内控制展示目标虚拟天气道具对应的目标虚拟天气,并在虚拟场景匹配的虚拟地图中标记出目标施放区域及与目标虚拟天气匹配的天气标记;提示与目标虚拟天气对应的施放结果。也就是说,当目标虚拟角色的位置和目标虚拟天气控制道具的位置之间的距离较近时,目标虚拟角色选择目标虚拟天气道具以及目标施放区域,并在目标施放区域内控制展示目标虚拟天气道具对应的目标虚拟天气。从而不再局限于仅对当前地区的真实天气进行同步提示,而是对虚拟天气再次利用,作为道具或技能施放到指定区域,对进入区域的虚拟角色产生影响。从而实现了提高虚拟场景内展示的虚拟天气的利用率,进而解决了相关技术中虚拟场景内展示的虚拟天气的利用率较低的技术问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116999809B_ABST
    Figure CN116999809B_ABST
Patent Text Reader

Abstract

The application discloses a virtual weather display control method and device, a storage medium and an electronic device. The method comprises the following steps: determining a role position of a target virtual role in a virtual scene; displaying a virtual weather configuration layer matched with a target virtual weather control prop in the case that a distance between the role position and a prop position of the target virtual weather control prop in at least one virtual weather control prop is less than a target distance threshold; controlling a target virtual weather corresponding to the target virtual weather prop in a target application area, marking the target application area and a weather mark matched with the target virtual weather in a virtual map matched with the virtual scene; and prompting an application result corresponding to the target virtual weather. The application solves the technical problem of low utilization rate of virtual weather displayed in a virtual scene in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and more specifically, to a method and apparatus for displaying and controlling virtual weather, a storage medium, and an electronic device. Background Technology

[0002] In today's multiplayer online interactive applications, virtual scenes are often simulated to enhance user immersion when participating in game tasks. This often involves recreating real-life scenarios or events, such as rain, snow, or sandstorms. For example, the virtual weather in the game scene can be adjusted based on the player's actual geographical location. If it's raining in the player's location, the virtual scene will also display rainy weather after the player enters the game.

[0003] In other words, the virtual weather in this technology merely provides players with a glimpse of the real weather in their current location, aiming to enhance the player's sense of immersion. In other words, the virtual weather currently displayed within virtual scenes only serves to synchronize with the real weather in the current area, resulting in low utilization.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This application provides a method and apparatus for controlling the display of virtual weather, a storage medium, and an electronic device, which at least solves the problem of low utilization rate of virtual weather displayed in virtual scenes in related technologies.

[0006] According to one aspect of the embodiments of this application, a method for displaying and controlling virtual weather is provided, comprising: determining the current position of a target virtual character in a virtual scene, wherein at least one virtual weather control prop is distributed and placed within the virtual scene; when the distance between the character's position and the prop position of the target virtual weather control prop is less than a target distance threshold, displaying a virtual weather configuration layer matching the target virtual weather control prop, wherein the virtual weather configuration layer displays at least one virtual weather prop; when a target virtual weather prop is obtained from the at least one virtual weather prop and a target release area of ​​the target virtual weather prop within the virtual scene is determined, controlling the display of target virtual weather corresponding to the target virtual weather prop within the target release area, and marking the target release area and a weather marker matching the target virtual weather in a virtual map matched with the virtual scene, wherein the target virtual weather is used to interfere with virtual characters entering the target release area; and displaying the release result corresponding to the target virtual weather.

[0007] According to another aspect of the embodiments of this application, a virtual weather display control device is also provided, comprising: a determining unit, configured to determine the current position of a target virtual character in a virtual scene, wherein at least one virtual weather control prop is distributed and placed within the virtual scene; a display unit, configured to display a virtual weather configuration layer matching the target virtual weather control prop when the distance between the character position and the prop position of the target virtual weather control prop among the at least one virtual weather control prop is less than a target distance threshold, wherein at least one virtual weather prop is displayed in the virtual weather configuration layer; a processing unit, configured to, when a target virtual weather prop is obtained from the at least one virtual weather prop and a target release area of ​​the target virtual weather prop within the virtual scene is determined, control the display of the target virtual weather corresponding to the target virtual weather prop within the target release area, and mark the target release area and the weather marker matching the target virtual weather in a virtual map matched with the virtual scene, wherein the target virtual weather is used to interfere with virtual characters entering the target release area; and a prompting unit, configured to prompt the release result corresponding to the target virtual weather.

[0008] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the above-described virtual weather display control method when running.

[0009] According to another aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual weather display control method described above.

[0010] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-described virtual weather display control method through the computer program.

[0011] In this embodiment, the current position of the target virtual character in the virtual scene is determined. If the distance between the character's position and the location of the target virtual weather control item (one of at least one virtual weather control items) is less than a target distance threshold, a virtual weather configuration layer matching the target virtual weather control item is displayed. If the target virtual weather item is obtained from at least one virtual weather item, and the target release area of ​​the target virtual weather item within the virtual scene is determined, the target virtual weather corresponding to the target virtual weather item is displayed within the target release area, and the target release area and the weather marker matching the target virtual weather are marked on the virtual map matched to the virtual scene. The release result corresponding to the target virtual weather is then displayed. In other words, when the distance between the target virtual character's position and the target virtual weather control item's position is close, the target virtual character selects the target virtual weather item and the target release area, and the target virtual weather corresponding to the target virtual weather item is displayed within the target release area. This goes beyond simply providing synchronized prompts for the real weather in the current area; instead, virtual weather is reused as an item or skill to be released in a designated area, affecting virtual characters entering the area. This improves the utilization rate of virtual weather displayed within virtual scenes, thereby solving the technical problem of low utilization rate of virtual weather displayed within virtual scenes in related technologies. Attached Figure Description

[0012] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0013] Figure 1 This is a schematic diagram of an application environment for an optional virtual weather display and control method according to an embodiment of this application;

[0014] Figure 2 This is a flowchart of an optional virtual weather display control method according to an embodiment of the present invention;

[0015] Figure 3 This is a schematic diagram of an optional virtual weather display control method according to an embodiment of the present invention;

[0016] Figure 4 This is a schematic diagram of another optional virtual weather display control method according to an embodiment of the present invention;

[0017] Figure 5 This is a schematic diagram of another optional virtual weather display control method according to an embodiment of the present invention;

[0018] Figure 6This is a schematic diagram of another optional virtual weather display control method according to an embodiment of the present invention;

[0019] Figure 7 This is a schematic diagram of another optional virtual weather display control method according to an embodiment of the present invention;

[0020] Figure 8 This is a schematic diagram of another optional virtual weather display control method according to an embodiment of the present invention;

[0021] Figure 9 This is a schematic diagram of another optional virtual weather display control method according to an embodiment of the present invention;

[0022] Figure 10 This is a flowchart of another optional virtual weather display control method according to an embodiment of the present invention;

[0023] Figure 11 This is a flowchart of another optional virtual weather display control method according to an embodiment of the present invention;

[0024] Figure 12 This is a schematic diagram of the structure of an optional virtual weather display control device according to an embodiment of this application;

[0025] Figure 13 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of this application. Detailed Implementation

[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] First, some nouns or terms that appear in the description of the embodiments of this application shall be interpreted as follows:

[0029] Mobile devices: generally refers to mobile phones, including but not limited to all handheld portable gaming devices.

[0030] Shooting games: including first-person shooters, third-person shooters, and all games that use firearms for ranged attacks, including but not limited to these.

[0031] First-person shooter (FPS) games are a subgenre of action games (ACT). As the name suggests, FPS games are played from the player's subjective perspective.

[0032] According to one aspect of the present invention, a method for displaying and controlling virtual weather is provided. This method can be applied, but is not limited to, to game-type terminal applications (APPs) that complete predetermined game tasks in a virtual scene, such as multiplayer online battle arena (MOBA) games. The game tasks can be, but are not limited to, tasks completed by the current player through human-computer interaction, controlling virtual objects in the virtual scene and interacting with virtual objects controlled by other players. These game tasks can, but are not limited to, running as plugins or mini-programs within the application (such as a non-standalone game APP), or running within a game engine within the application (such as a standalone game APP). The types of game applications can include, but are not limited to, at least one of the following: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual reality (VR) game applications, augmented reality (AR) game applications, and mixed reality (MR) game applications. The above is merely an example, and this embodiment does not impose any limitations.

[0033] Optionally, in this embodiment, the terminal device can be a terminal device configured with a target client, which may include, but is not limited to, at least one of the following: mobile phone (such as Android phone, iOS phone, etc.), laptop computer, tablet computer, PDA, MID (Mobile Internet Devices), PAD, desktop computer, smart TV, etc. The target client can be a game client running a game engine, or other application clients embedded with game plugins or game applets, such as educational application clients, instant messaging application clients, etc. The network can include, but is not limited to, wired networks and wireless networks. The wired network includes: local area network (LAN), metropolitan area network (MAN), and wide area network (WAN). The wireless network includes: Bluetooth, Wi-Fi, and other networks that enable wireless communication. The server can be a single server, a server cluster consisting of multiple servers, or a cloud server. The above is merely an example, and no limitation is made in this embodiment.

[0034] Optionally, as an alternative implementation, the above-described virtual weather display control method can be applied to, but is not limited to, situations such as... Figure 1The virtual weather display and control system in the hardware environment shown may include, but is not limited to, terminal device 102, network 104, server 106, and database 108. The terminal device 102 runs a target client (such as...). Figure 1 The target client shown is a game client (example example). The terminal device 102 includes a human-computer interaction screen, a processor, and a memory. The human-computer interaction screen is used to display virtual game scenes (such as...). Figure 1 The virtual object shown is completing a game task in a virtual game scene; it also provides a human-computer interaction interface to receive human-computer interaction operations for controlling the controlled character in the virtual game scene. The processor is used to generate interaction instructions in response to the above human-computer interaction operations and send the interaction instructions to the server. The memory is used to store relevant attribute data, such as the item information of the target virtual weather prop used by the controlled virtual object in the game task.

[0035] In addition, server 106 includes a processing engine for performing store or read operations on database 108. Specifically, the processing engine reads relevant data of the virtual game scene display interface from database 108, and then returns the relevant data of the virtual game scene display interface to terminal device 102, thereby enabling the virtual scene to be displayed on terminal device 102.

[0036] The specific process is as follows: As in step S100, determine the current location of the target virtual character in the virtual scene, where at least one virtual weather control item is placed within the virtual scene. Next, as in step S102, if the distance between the character's location and the location of the target virtual weather control item is less than a target distance threshold, display a virtual weather configuration layer matching the target virtual weather control item, where at least one virtual weather item is displayed. Then, as in step S104, after obtaining the target virtual weather item from at least one virtual weather item and determining its target deployment area within the virtual scene, control the display of the target virtual weather corresponding to the target virtual weather item within the target deployment area, and mark the target deployment area and the weather marker matching the target virtual weather in the virtual map matched with the virtual scene. The target virtual weather is used to interfere with virtual characters entering the target deployment area. Then, as in step S106, display the deployment result corresponding to the target virtual weather. Then, as in step S102, the release result corresponding to the target virtual weather is sent to the terminal device 102 via network 104. Further, the terminal device 102 will send the operation data during the game process to the server 106 via network 104 for storage in the database 108.

[0037] It should be noted that, in this embodiment, the current position of the target virtual character in the virtual scene is determined; if the distance between the character's position and the position of the target virtual weather control item (one of at least one virtual weather control items) is less than a target distance threshold, a virtual weather configuration layer matching the target virtual weather control item is displayed; if the target virtual weather item is obtained from at least one virtual weather item and the target release area of ​​the target virtual weather item in the virtual scene is determined, the target virtual weather corresponding to the target virtual weather item is displayed within the target release area, and the target release area and the weather marker matching the target virtual weather are marked on the virtual map matched with the virtual scene; the release result corresponding to the target virtual weather is prompted. In other words, when the distance between the target virtual character's position and the target virtual weather control item's position is close, the target virtual character selects the target virtual weather item and the target release area, and the target virtual weather corresponding to the target virtual weather item is displayed within the target release area. This goes beyond simply providing synchronized prompts for the real weather in the current area; instead, virtual weather is reused as an item or skill to be released in a designated area, affecting virtual characters entering the area. This improves the utilization rate of virtual weather displayed within virtual scenes, thereby solving the technical problem of low utilization rate of virtual weather displayed within virtual scenes in related technologies.

[0038] It should be noted that the embodiments of this application can be applied to, but are not limited to, client-side applications. Specifically, the operations on the target virtual weather props described in these embodiments can be triggered, but are not limited to, via keyboard shortcuts. It should also be noted that the embodiments of this application can be applied to, but are not limited to, mobile phones. Specifically, the operations on the virtual weather control props described in these embodiments can be triggered, but are not limited to, via user touchscreen operations (including but not limited to clicks, long presses, and taps).

[0039] Alternatively, as an alternative implementation method, such as Figure 2 As shown, the above-mentioned virtual weather display control method includes:

[0040] S202, determine the current position of the target virtual character in the virtual scene, wherein at least one virtual weather control prop is placed in the virtual scene;

[0041] It should be noted that, in this embodiment, the current location of the target virtual character in the virtual scene can be, but is not limited to, displayed on the map corresponding to the virtual scene. The aforementioned virtual weather control props can be set to be placed at regular intervals.

[0042] Optionally, in this embodiment, the virtual game scene can be, but is not limited to, a fictional three-dimensional scene provided by the game application client. The virtual game scene is equipped with a virtual environment landscape constructed to imitate the environment landscape in the real scene, such as virtual buildings or pavilions, virtual rivers and lakes, virtual mountain villages or towns, etc., so that players can perform different operations by controlling the virtual object that is their avatar in the game application client to complete various virtual tasks pre-configured in the scene, and then obtain virtual rewards corresponding to the virtual tasks after completing the virtual tasks.

[0043] It should be noted that the aforementioned virtual tasks may include, but are not limited to: 1) tasks in which the target virtual object interacts with the virtual environment set in the virtual game scene to achieve a predetermined goal. For example, a virtual task could be that the target virtual object obtains virtual transportation to cross a river and reach the other side. 2) tasks in which the target virtual object interacts with virtual objects controlled by other players in the virtual game scene to achieve a predetermined goal. For example, a virtual task could be that the target virtual object attacks other virtual objects until the target virtual object kills all the other virtual objects. These virtual objects may include, but are not limited to, avatars of players controlled by the game client in the virtual game scene, such as virtual characters, virtual animal figures, virtual cartoon characters, etc.

[0044] It should be noted that the aforementioned virtual games may also include, but are not limited to, at least one of the following: two-dimensional (2D) games, three-dimensional (3D) games, virtual reality (VR) games, augmented reality (AR) games, and mixed reality (MR) games. The above is merely an example, and this embodiment does not impose any limitations on it.

[0045] S204, if the distance between the character's position and the position of the target virtual weather control item in at least one virtual weather control item is less than the target distance threshold, display a virtual weather configuration layer that matches the target virtual weather control item, wherein at least one virtual weather item is displayed in the virtual weather configuration layer;

[0046] It should be noted that the release of the aforementioned interference items can be triggered, but is not limited to, by the following methods: touch screen click, mouse click, or pressing a shortcut key. The aforementioned shortcut key can be, but is not limited to, a single shortcut key or a combination of multiple shortcut keys. The aforementioned release location can be, but is not limited to, the location where the interference item is thrown. The aforementioned virtual smoke can be, but is not limited to, virtual smoke of any color.

[0047] S206, after obtaining a target virtual weather prop from at least one virtual weather prop and determining the target release area of ​​the target virtual weather prop in the virtual scene, the target virtual weather corresponding to the target virtual weather prop is controlled to be displayed in the target release area, and the target release area and the weather marker matching the target virtual weather are marked in the virtual map matched with the virtual scene, wherein the target virtual weather is used to interfere with the virtual characters entering the target release area;

[0048] S208 indicates the release result corresponding to the target virtual weather.

[0049] It should be noted that the aforementioned target virtual weather items may be, but are not limited to, virtual lightning weather items, and the aforementioned target virtual weather may be, but is not limited to, weather that causes damage. For example, virtual lightning weather could result in, but is not limited to: randomly generating lightning in the target area, reducing the health of virtual characters struck by lightning, and triggering a server-wide announcement; the virtual character who created the weather would receive a separate reward broadcast. When the number of virtual characters whose health is reduced due to the weather reaches a certain number, the virtual character who created the weather would receive a medal.

[0050] The aforementioned target virtual weather can be, but is not limited to, weather that causes interference, such as dense fog, electromagnetic fields, or nano-fog. The aforementioned target virtual weather can also be, but is not limited to, weather that affects movement, such as strong winds.

[0051] Optionally, in this embodiment, a virtual weather event can be launched at a certain time, and virtual characters participating in the event can acquire a specific virtual weather item. Virtual characters can simultaneously collect weather fragments in the virtual scene and accumulate them to exchange for a specific virtual weather item. During the process of releasing the target virtual weather item, the virtual weather item can be selected first, followed by the target area to which the weather will be released. The start time, duration, and range of effect for releasing the weather can also be selected. The range of effect includes, but is not limited to, whether teammates will be affected by the weather.

[0052] Optionally, in this embodiment, the virtual weather display control method described above can be applied to various game applications, including but not limited to multiplayer online battle arena (MOBA) games or single-player games (SPG). Without specific limitations, the virtual games described above can include, but are not limited to, shooting games, role-playing games, and real-time strategy games. The shooting games described above can include, but are not limited to, first-person shooter games, third-person shooter games, and shooting games capable of switching between first-person and third-person perspectives. Figure 3 This is a schematic diagram of a virtual weather display control method according to an embodiment of the present invention, such as... Figure 3 As shown, in the display interface of the virtual game scene,

[0053] It should be noted that, in this embodiment, the aforementioned first virtual object may include, but is not limited to, virtual objects controlled by logging into the current game application through a preset account, such as objects controlled by different players. The preset account may be a registered account or a temporarily used guest account. Furthermore, it may also include, but is not limited to, non-player characters (NPCs).

[0054] Combination Figure 3 , Figure 4 as well as Figure 5 As shown, the virtual weather display and control process is explained in detail: The target virtual character 302 moves within the virtual scene, and virtual weather control props are scattered throughout the game scene. When the distance between the target virtual character 302 and the target virtual weather control prop 304 is less than 1 meter, a virtual weather configuration layer matching the target virtual weather control prop 304 is displayed. For example... Figure 4 As shown, the virtual weather configuration layer 402 can be located on the left, right, top, and bottom of the game scene. Weather can be purchased on the virtual weather configuration layer 402. When the user moves the mouse over "Dense Fog," the interference effects of the "Dense Fog" weather will be displayed. For example, within the "Dense Fog" area, the virtual character's field of vision is limited, making it difficult to see beyond 30 meters. When the player clicks to purchase "Dense Fog" weather, they can select the corresponding area on the map to display the "Dense Fog" weather in that area. Figure 5 As shown, players can designate a target casting area 502 on the large map. Once the target casting area 502 is designated, the virtual character entering the area will have limited visibility, making it difficult to see beyond 30 meters. Furthermore, the area displayed by the "dense fog" weather will be marked on the corresponding virtual map 504, along with a "dense fog" weather indicator. After the weather is displayed, a server-wide announcement will be made so that all players in the virtual scene will receive a notification that the target casting area in the virtual scene will soon display the target virtual weather.

[0055] The above Figure 3 , Figure 4 as well as Figure 5 As an optional example, this application embodiment does not impose any limitations on the acquisition method of virtual weather control props, the determination method of target release area, or the prompting method of release result corresponding to target virtual weather involved in the virtual weather display control method.

[0056] In this embodiment, the current position of the target virtual character in the virtual scene is determined. If the distance between the character's position and the location of the target virtual weather control item (one of at least one virtual weather control items) is less than a target distance threshold, a virtual weather configuration layer matching the target virtual weather control item is displayed. If the target virtual weather item is obtained from at least one virtual weather item, and the target release area of ​​the target virtual weather item within the virtual scene is determined, the target virtual weather corresponding to the target virtual weather item is displayed within the target release area, and the target release area and the weather marker matching the target virtual weather are marked on the virtual map matched to the virtual scene. The release result corresponding to the target virtual weather is then displayed. In other words, when the distance between the target virtual character's position and the target virtual weather control item's position is close, the target virtual character selects the target virtual weather item and the target release area, and the target virtual weather corresponding to the target virtual weather item is displayed within the target release area. This goes beyond simply providing synchronized prompts for the real weather in the current area; instead, virtual weather is reused as an item or skill to be released in a designated area, affecting virtual characters entering the area. This improves the utilization rate of virtual weather displayed within virtual scenes, thereby solving the technical problem of low utilization rate of virtual weather displayed within virtual scenes in related technologies.

[0057] As an optional solution, before controlling the display of the target virtual weather prop within the target casting area, the following steps are also included:

[0058] S1, Display the item icons and weather effect descriptions of the currently allowed virtual weather items in the virtual weather configuration layer. The weather effect descriptions describe the effects of the virtual weather corresponding to the virtual weather item on the virtual character.

[0059] S2, in response to the operation performed on the item icon corresponding to the target virtual weather item, obtain the target virtual weather item;

[0060] S3: Obtain the target placement location of the target virtual weather item determined in the virtual map, and determine the target placement area based on the target placement location.

[0061] It should be noted that the virtual weather items corresponding to the item icons displayed on the aforementioned virtual weather configuration layer can be, but are not limited to, virtual weather items that the target virtual character can afford with the amount of gold coins they possess. The virtual weather items corresponding to the item icons displayed on the aforementioned virtual weather configuration layer can be, but are not limited to, those supported by the target virtual weather item at the current location; that is, an item at a single location can only support one type of weather, or a limited number of weather conditions. For example: Figure 6As shown, the target virtual character currently holds 200 gold coins. The virtual weather conditions available at the target virtual character's location include lightning, dense fog, and strong winds. The virtual weather configuration layer displays the icons of currently allowed virtual weather items. When the user moves the mouse over "Dense Fog," a description of the "Dense Fog" weather effect will appear: "Limited visibility; unable to see beyond 30 meters." When the player clicks the purchase button for "Dense Fog," they are redirected to the virtual map corresponding to the virtual scene. After the user selects the target location, the "Dense Fog" weather effect will be applied based on the selected location on the virtual map. When a virtual character enters the target area, their visibility will be limited, and they will be unable to see beyond 30 meters.

[0062] The embodiments provided in this application allow for the following: before displaying the target virtual weather prop within the target deployment area, the prop icons and weather effect descriptions of currently allowed virtual weather props are displayed in the virtual weather configuration layer. Upon receiving an operation performed on the prop icon corresponding to the target virtual weather prop, the target deployment location of the target virtual weather prop determined in the virtual map is obtained, and the target deployment area is determined based on the target deployment location. This achieves a flexible weather display effect.

[0063] As an optional approach, before displaying the item icons of currently allowed virtual weather items in the virtual weather configuration layer, at least one of the following may be included:

[0064] S1, determine the location coordinates of the target virtual weather control item; identify the virtual weather items that match the location coordinates as the currently allowed virtual weather items;

[0065] S2, obtain the resource value of the exchange resources owned by the target account used to control the target virtual character; determine the virtual weather items in the candidate virtual weather item pool whose resource exchange value is less than or equal to the resource value of the exchange resources as the currently allowed virtual weather items;

[0066] S3, obtain the qualification experience information held by the target account used to control the target virtual character; determine the virtual weather item indicated in the qualification experience information as the currently allowed virtual weather item.

[0067] It should be noted that, in this embodiment, the virtual weather items displayed in the virtual weather configuration layer may, but are not limited to, depend on the location of the target virtual weather control item. That is, the virtual weather items seen in the virtual weather configuration layer will be different if the virtual character triggers virtual weather control items in different locations. The virtual weather items displayed in the virtual weather configuration layer may, but are not limited to, depend on the resource value of the exchange resources possessed by the target account controlling the target virtual character. The resource value of the exchange resources possessed by the target account may, but is not limited to, the amount of game currency held by the target virtual character, the amount or value of other types of exchange resources, such as the number of shells. Virtual weather items in the candidate virtual weather item pool whose required game currency amount is less than or equal to the amount of game currency held by the target virtual character are determined and displayed on the virtual weather configuration layer. The virtual weather items displayed in the virtual weather configuration layer may, but are not limited to, depend on the qualification experience information held by the target account used to control the target virtual character. Specifically, the target account receives activity resource vouchers in the virtual game, and these activity resource vouchers are used to exchange for virtual weather items of corresponding value. Users can use event resource vouchers to redeem virtual weather items of corresponding value in one go, which can display virtual weather in the target area and interfere with virtual characters in the game scene.

[0068] The embodiments provided in this application allow for the identification of virtual weather items that match location coordinates as currently permitted virtual weather items; or, virtual weather items in the candidate virtual weather item pool whose resource exchange value is less than or equal to the exchange resource value are identified as currently permitted virtual weather items; or, virtual weather items indicated in the qualification experience information are identified as currently permitted virtual weather items. This enriches the acquisition methods for virtual weather items and ensures the rationality of the permitted virtual weather items.

[0069] As an optional approach, after determining the target deployment area based on the deployment location, the following steps are also included:

[0070] S1, in response to the operation performed on the prop icon corresponding to the reference virtual weather prop in the virtual weather configuration layer, obtain the reference virtual weather prop;

[0071] S2, obtain the reference placement location of the reference virtual weather item determined in the virtual map, and determine the reference placement area based on the reference placement location;

[0072] S3, when there is an overlap between the target release area and the reference release area, display the merged virtual weather after fusing the target virtual weather and the reference virtual weather corresponding to the reference virtual weather prop in the overlapping area.

[0073] It should be noted that in this embodiment, when the user selects the virtual weather prop corresponding to "thunder" weather as the reference virtual weather prop in the virtual weather configuration layer, and determines the reference placement location in the virtual map corresponding to the virtual scene, and the weather in the target placement area is "dense fog," then when there is an overlap between the reference placement area corresponding to the reference placement location and the target placement area, the merged virtual weather, which combines the "thunder" weather and the "dense fog" weather, is displayed in the aforementioned overlapping area. That is, in the aforementioned overlapping area, the virtual character's field of vision is limited, and they cannot see anything beyond 30 meters. Furthermore, every 5 seconds, a lightning bolt will randomly fall, and the virtual character struck by lightning will suffer significant damage.

[0074] The embodiments provided in this application demonstrate that, when the target deployment area and the reference deployment area overlap, a merged virtual weather system is displayed within the overlapping area, combining the target virtual weather and the reference virtual weather corresponding to the reference virtual weather item. This achieves the technical effect of enriching the weather effects within the overlapping area and enhances the user's gaming experience.

[0075] As an optional solution, before controlling the display of the target virtual weather prop within the target casting area, the following steps are also included:

[0076] S1 displays the configuration window for the deployment of the target virtual weather;

[0077] S2. In the deployment configuration window, obtain the deployment configuration information of the target virtual weather. The deployment configuration information includes: the deployment start time of the target virtual weather, the deployment duration of the target virtual weather, and the target virtual weather's target faction.

[0078] It should be noted that, in this embodiment, the display of the target virtual weather deployment configuration window can be triggered, but is not limited to, by selecting the target virtual weather on the virtual weather configuration layer. The deployment configuration information can be configured with default values ​​by the system, but is not limited to, and the user can modify or retain the default values. For example, such as... Figure 7 As shown, when a user selects the "Dense Fog" weather on the virtual weather configuration layer, the weather casting configuration window 702 is displayed. In the weather casting configuration window 702, the player can configure the start time of the "Dense Fog" weather to two minutes later, the duration of the "Dense Fog" weather to 20 minutes, and the affected faction of the "Dense Fog" weather to all factions.

[0079] The embodiments provided in this application allow for the display of a target virtual weather item's corresponding virtual weather within the target casting area, preceded by the display of the target virtual weather's casting configuration window. This window allows for the acquisition of the target virtual weather's casting configuration information. Consequently, the specific duration and affected factions of the displayed weather can be flexibly configured, adapting the weather effects to the player's needs.

[0080] As an optional approach, the suggested deployment result corresponding to the target virtual weather includes at least one of the following:

[0081] S1, after the reference virtual character enters the target casting area and the virtual health of the reference virtual character reaches the target value, prompt that the reference virtual character has left the virtual scene corresponding to the virtual task from the casting area;

[0082] S2, after the reference virtual character enters the target casting area and the reference virtual character's virtual health reaches the target value, update the number of character interferences corresponding to the target virtual weather item; and display the incremental information of the number of character interferences.

[0083] It should be noted that, in this embodiment, the incremental information regarding the number of characters affected by the aforementioned interference can be, but is not limited to, the number of virtual characters affected by the target virtual weather item, and the target value can be 0. For example, if the weather displayed in the target area is "lightning," and a reference virtual character enters the target area in the game scene, assuming the reference virtual character is struck by randomly falling lightning, the reference virtual character's health will decrease. When the reference virtual character's health decreases to 0, the system will announce "The reference virtual character has died due to the lightning weather." Alternatively, the target account that purchased the weather will receive a corresponding notification: "Weather kill count +1." The player will also receive a corresponding badge notification in the lower right corner every time 3 characters are killed.

[0084] The embodiments provided in this application allow for the following: when a reference virtual character's health decreases due to the weather conditions displayed in the target area, a notification is sent indicating that the reference virtual character has exited the virtual task corresponding to the virtual scene from the area; or the number of character interferences corresponding to the target virtual weather item is updated; and the incremental information of the number of character interferences is displayed. This enables all virtual characters on the server to promptly receive information about the weather's impact on their characters, encouraging players to purchase virtual weather items.

[0085] As an optional solution, after updating the number of character interferences corresponding to the target virtual weather prop, it also includes:

[0086] S1: When the number of character interferences reaches the threshold after the update, prompt the user to obtain item reward resources that match the target virtual weather item, and reset the number of character interferences that have reached the threshold to zero.

[0087] It should be noted that the above quantity thresholds can be, but are not limited to, 3 or 5, and the above item reward resources can be, but are not limited to, game currency. For example, when 3 virtual characters enter the target casting area and are randomly struck by lightning in the target casting area, a prompt will be given to obtain 50 game currency matching the "Lightning" weather item, and the number of characters that have reached the quantity threshold will be set to 0.

[0088] The embodiments provided in this application update the number of character interferences corresponding to the target virtual weather item. When the updated number of character interferences reaches a threshold, a prompt is displayed to obtain item reward resources matching the target virtual weather item, and the number of character interferences reaching the threshold is reset to zero. This achieves the goal of reasonably rewarding players who use weather, encouraging them to actively purchase and use virtual weather items. This technically enhances the fun of the game.

[0089] As an optional approach, after marking the target deployment area and weather markers matching the target virtual weather in a virtual map of the virtual scene matching, the method further includes at least one of the following:

[0090] S1, in response to the area adjustment operation of the target deployment area, marks the adjusted target deployment area in the virtual map, and displays a weather marker matching the target virtual weather in the adjusted target deployment area;

[0091] S2, in response to the cessation of the operation on the target virtual weather prop, stops displaying the target virtual weather within the target's casting area.

[0092] It should be noted that the above-mentioned area adjustment operations can be triggered, including but not limited to, by the following methods: touch screen dragging, mouse dragging, and pressing shortcut keys. The above-mentioned area adjustment operations can be, but are not limited to, scaling operations and moving operations. The above-mentioned shortcut keys can be, but are not limited to, a single shortcut key or a combination of multiple shortcut keys. After adjusting the target application area, the adjusted target application area can be highlighted or shaded, and the target virtual weather indicator can be displayed. For example, if a virtual character purchases a "Thunder" weather item and sets it to last for 20 minutes, then after the "Thunder" weather is displayed in the target application area for 10 minutes, the virtual character can move the originally selected target application area on the large map using the mouse. When the user stops moving the originally selected target application area, the "Thunder" weather will be displayed in the adjusted target application area. Optionally, after adjusting the application area, the thunderstorm weather can be gradually moved to the adjusted application area.

[0093] Through the embodiments provided in this application, after marking the target deployment area and the weather marker matching the target virtual weather in a virtual map matched with the virtual scene, the adjusted target deployment area can be marked in the virtual map, and the weather marker matching the target virtual weather can be displayed in the adjusted target deployment area; or, in response to the cessation operation of the target virtual weather item, the display of the target virtual weather can be stopped in the target deployment area. This provides players who purchase weather with a convenient way to change it, improving the flexibility of weather deployment.

[0094] As an optional solution, after ceasing the display of virtual weather within the target deployment area, the following also applies:

[0095] S1, if the remaining casting time of the target virtual weather item has not been cleared, in response to the first sharing operation of the target virtual weather item, display a list of virtual characters belonging to the same faction as the target virtual character;

[0096] S2, if the first target virtual character is determined from the character list, the target virtual weather item and the remaining casting time are shared with the first target virtual character. The first target virtual character is allowed to control the display of the target virtual weather corresponding to the target virtual weather item within the remaining casting time.

[0097] It should be noted that the aforementioned first sharing operation can be, but is not limited to, clicking the share button to share the target virtual weather item with a virtual character of the same faction. For example, when a target virtual character purchases the "Thunder" weather item and selects a duration of 20 minutes for casting the "Thunder" weather, after casting 10 minutes of "Thunder" weather, the remaining 10 minutes of the "Thunder" weather item can be shared. The first target virtual character can be selected from the list of virtual characters of the same faction as the target virtual character. After receiving the 10 minutes of "Thunder" weather item shared by the target virtual character, the first target virtual character can control the display of the "Thunder" weather item for the remaining casting time.

[0098] Through the embodiments provided in this application, after the display of the target virtual weather is stopped within the target casting area, and while the remaining casting time of the target virtual weather item has not been cleared, in response to the first sharing operation of the target virtual weather item, a list of virtual characters belonging to the same faction as the target virtual character is displayed, and the target virtual weather item and its remaining casting time are shared with the first target virtual character. This achieves the purpose of transferring virtual weather items whose remaining casting time has not been cleared, and realizes the technical effect of enriching the gameplay of virtual weather items.

[0099] As an optional approach, after obtaining the target virtual weather prop from at least one virtual weather prop, the following steps are also included:

[0100] S1, in response to the second sharing operation of the target virtual weather prop, displays a list of virtual characters belonging to the same faction as the target virtual character;

[0101] S1, if a second virtual character is identified from the character list, the target virtual weather item is shared with the second virtual character.

[0102] It should be noted that the second sharing operation mentioned above may include, but is not limited to, clicking the share button to share the target virtual weather item with a virtual character of the same faction. For example, when a target virtual character purchases the "Thunder" weather item, they can share it. The target virtual character can select the first target virtual character from the list of virtual characters of the same faction. After receiving the shared "Thunder" weather item, the first target virtual character can choose to control the display of the corresponding "Thunder" weather.

[0103] Through the embodiments provided in this application, after obtaining a target virtual weather item from at least one virtual weather item, and determining a second target virtual character from a character list, the target virtual weather item is shared with the second target virtual character. This achieves the purpose of transferring virtual weather items and enriches the gameplay of virtual weather items.

[0104] As an optional solution, controlling the display of the target virtual weather prop within the target deployment area includes:

[0105] S1, when the target virtual weather is virtual lightning weather, when a virtual character entering the target casting area is hit by virtual lightning, their health will be reduced according to the target ratio.

[0106] S2, when the target virtual weather is virtual fog weather, the field of view of the virtual character entering the target casting area will be reduced from the first range to the second range;

[0107] S3, when the target virtual weather is virtual electromagnetic interference weather, the virtual character entering the target casting area will disappear from the virtual map;

[0108] S4, when the target virtual weather is virtual wind weather, determine the movement direction of the virtual character entering the target casting area; when the angle between the movement direction of the virtual character and the movement direction of the virtual wind is less than or equal to the angle threshold, increase the movement speed of the virtual character; when the angle between the movement direction of the virtual character and the movement direction of the virtual wind is greater than the angle threshold, decrease the movement speed of the virtual character.

[0109] S5, when the target virtual weather is virtual nano fog, the attack range of the attack items of the virtual character entering the target casting area will be shortened from the first distance to the second distance.

[0110] It should be noted that, in this embodiment of the application, the aforementioned virtual lightning may, but is not limited to, randomly fall every 5 seconds, for example, as... Figure 8 As shown, virtual lightning weather is displayed in the target casting area. Virtual lightning 802 will randomly fall in the target casting area. When virtual lightning 802 hits the virtual character in the target casting area, the virtual character's health will be reduced by one-fifth.

[0111] It should be noted that, in this embodiment of the application, the aforementioned virtual fog weather will limit the field of vision of the virtual character in the target casting area, making it difficult to see conditions beyond 30 meters. For example, as Figure 9As shown, the field of view of the virtual character 902 entering the target casting area is limited by the virtual fog weather. For example, the virtual character 902 entering the target casting area has difficulty seeing the situation beyond 30 meters.

[0112] It should be noted that in this embodiment of the application, the large map and small map of the virtual character in the area where the virtual electromagnetic interference weather is released are restricted, and there are corresponding snowflake-shaped ripples above them, similar to the appearance of a television malfunction. The virtual character cannot obtain information through the large map and small map and cannot know its own location.

[0113] It should be noted that, in this embodiment of the application, the aforementioned angle threshold may be, but is not limited to, 90 degrees. Within the area where the virtual wind weather is applied, when the angle between the virtual character's movement direction and the virtual wind's movement direction is less than or equal to 90 degrees, the virtual character's movement speed is increased; when the angle between the virtual character's movement direction and the virtual wind's movement direction is greater than 90 degrees, the virtual character's movement speed is decreased.

[0114] It should be noted that, in this embodiment, within the aforementioned virtual nano-fog weather application area, the virtual character's field of vision is enveloped by a white lens effect. This white lens effect can be, but is not limited to, a light fog or a white sandstorm, without significantly affecting the user's vision. When the virtual character uses attack items within the target application area, the attack range of the attack items will be shortened, thus reducing the virtual damage effect caused by the attack items. However, the virtual character will not be affected when using melee virtual attack items.

[0115] Through the embodiments provided in this application, when the target virtual weather is virtual lightning, a virtual character entering the target casting area will have their health reduced proportionally when hit by virtual lightning; when the target virtual weather is virtual fog, the field of view of a virtual character entering the target casting area will be reduced from a first range to a second range; when the target virtual weather is virtual electromagnetic interference, a virtual character entering the target casting area will disappear from the virtual map; when the target virtual weather is virtual wind, the movement direction of the virtual character entering the target casting area is determined; if the angle between the virtual character's movement direction and the virtual wind's movement direction is less than or equal to an angle threshold, the virtual character's movement speed is increased; if the angle between the virtual character's movement direction and the virtual wind's movement direction is greater than an angle threshold, the virtual character's movement speed is decreased; when the target virtual weather is virtual nano-fog, the attack distance of the attack items of a virtual character entering the target casting area will be shortened from a first distance to a second distance. This achieves the goal of flexibly controlling and displaying the target virtual weather corresponding to the target virtual weather items within the target casting area, thereby enriching the technical effect of weather casting.

[0116] Specific combination Figure 10 as well as Figure 11 The process shown below fully describes an optional embodiment. For example, in step S1002, the user interacts with the machine to purchase corresponding weather. After purchasing the corresponding type of weather and selecting a location, as in step S1004, the client sends the corresponding weather type and location to the server. Upon receiving the message, the server performs the following operations: Next, as in step S1006, a countdown is initiated and a broadcast is sent; the virtual coins corresponding to the purchaser are deducted. Next, as in step S1008, after the client receives the corresponding broadcast notification, a text message will play stating "Thunderstorm weather will strike in 30 seconds." Simultaneously, all players will see the corresponding area marker (displayed as a red circle + weather icon) on both the large and small maps. Then, as in step S1010, after the countdown ends, the server will also broadcast a command indicating the weather is approaching. Next, as in step S1012, each user's client will begin playing the corresponding weather-related effects upon receiving the information. Then, as in step S1014, after the weather lasts for 60 seconds, the server will broadcast a command indicating the weather has ended. Next, as in step S1016, after receiving the message, each user's client will play the text prompt "The lightning weather has ended," remove the corresponding weather effect from the scene, and simultaneously remove the corresponding area marker from both the large and small maps. Figure 11As shown in step S1102, when a player is killed, as in step S1104, the client sends the corresponding player's information and death location to the server. As in step S1106, after receiving the information, the server determines whether the death location is within the weather zone. As in step S1108, if the death is within the weather zone, the server will: broadcast a server-wide message; when the client receives the message, it will display the text "Virtual character 1 died due to 'thunderstorm' weather" on the user's interface; increment the number of weather-related deaths by 1; and broadcast a separate reward to the weather creator. If the number of deaths reaches 3, an additional badge will be awarded, the broadcast will play, and the number of weather-related deaths will be reset to zero. After receiving the message, the client will display the text "Weather kill count increased by 1" on the user's screen. If a badge broadcast is received, the corresponding badge icon will also appear in the lower right corner of the user's screen.

[0117] The above Figure 10 as well as Figure 11 The process shown is for illustrative purposes only, and no limitations are imposed on it in this embodiment.

[0118] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application. According to another aspect of the embodiments of this application, a virtual weather display control device for implementing the above-described virtual weather display control method is also provided. Figure 12 As shown, the device includes:

[0119] The determining unit 1202 is used to determine the current position of the target virtual character in the virtual scene, wherein at least one virtual weather control prop is distributed and placed in the virtual scene;

[0120] Display unit 1204 is used to display a virtual weather configuration layer that matches the target virtual weather control item when the distance between the character's position and the item position of the target virtual weather control item in at least one virtual weather control item is less than a target distance threshold. The virtual weather configuration layer displays at least one virtual weather item.

[0121] The processing unit 1206 is configured to, when a target virtual weather prop is obtained from at least one virtual weather prop and the target release area of ​​the target virtual weather prop is determined in the virtual scene, control the display of the target virtual weather corresponding to the target virtual weather prop in the target release area, and mark the target release area and the weather marker matching the target virtual weather in the virtual map matched with the virtual scene, wherein the target virtual weather is used to interfere with virtual characters entering the target release area;

[0122] The prompting unit 1208 is used to prompt the release result corresponding to the target virtual weather.

[0123] Optionally, in this embodiment, the implementation of each of the above-mentioned unit modules can be referred to the above-mentioned method embodiments, which will not be repeated here.

[0124] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described virtual weather display control method is also provided, the electronic device being... Figure 1 The terminal device or server shown. This embodiment uses the electronic device as a server as an example for illustration. Figure 13 As shown, the electronic device includes a memory 1302 and a processor 1304. The memory 1302 stores a computer program, and the processor 1304 is configured to execute the steps of any of the above method embodiments through the computer program.

[0125] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.

[0126] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0127] S1, determine the current position of the target virtual character in the virtual scene, wherein at least one virtual weather control prop is placed in the virtual scene;

[0128] S2, if the distance between the character's position and the position of the target virtual weather control item in at least one virtual weather control item is less than the target distance threshold, display a virtual weather configuration layer that matches the target virtual weather control item, wherein at least one virtual weather item is displayed in the virtual weather configuration layer;

[0129] S3, after obtaining the target virtual weather prop from at least one virtual weather prop and determining the target release area of ​​the target virtual weather prop in the virtual scene, control the display of the target virtual weather corresponding to the target virtual weather prop in the target release area, and mark the target release area and the weather marker matching the target virtual weather in the virtual map matched with the virtual scene, wherein the target virtual weather is used to interfere with the virtual characters entering the target release area;

[0130] S4 indicates the release result corresponding to the target virtual weather.

[0131] Alternatively, as those skilled in the art will understand, Figure 13 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 13 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 13 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 13 The different configurations shown.

[0132] The memory 1302 can be used to store software programs and modules, such as the program instructions / modules corresponding to the virtual weather display control method and device in this embodiment. The processor 1304 executes various functional applications and data processing by running the software programs and modules stored in the memory 1302, thereby realizing the aforementioned virtual weather display control method. The memory 1302 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 instances, the memory 1302 may further include memory remotely located relative to the processor 1304, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 1302 may be used, but is not limited to, to store item information of virtual weather control items used by the controlled virtual object in the game task. As an example, such as Figure 13 As shown, the memory 1302 may include, but is not limited to, the determination unit 1202, display unit 1204, processing unit 1206, and prompting unit 1208 of the virtual weather display control device. Furthermore, it may include, but is not limited to, other module units of the virtual weather display control device, which will not be elaborated upon in this example.

[0133] Optionally, the transmission device 1406 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1406 includes a Network Interface Controller (NIC), which can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 1406 is a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0134] In addition, the aforementioned electronic device also includes: a display 1408 for displaying the aforementioned virtual game scene; and a connection bus 1410 for connecting the various module components in the aforementioned electronic device.

[0135] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.

[0136] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions provided in embodiments of this application.

[0137] A computer system includes a Central Processing Unit (CPU), which performs various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) or loaded from RAM. ROM also stores various programs and data required for system operation. The CPU, ROM, and RAM are interconnected via a bus. Input / output interfaces (I / O interfaces) are also connected to the bus.

[0138] The following components are connected to the input / output interface: input sections including keyboards, mice, etc.; output sections including cathode ray tubes (CRTs), liquid crystal displays (LCDs), and speakers; storage sections including hard drives; and communication sections including network interface cards such as LAN cards and modems. The communication section performs communication processing via a network such as the Internet. Drives are also connected to the input / output interface as needed. Removable media, such as disks, optical discs, magneto-optical discs, semiconductor memories, etc., are installed on the drive as needed so that computer programs read from them can be installed into the storage section as required.

[0139] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions defined in the system of this application.

[0140] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0141] According to one aspect of this application, a computer-readable storage medium is provided, wherein a processor of a computer device reads computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the virtual item acquisition method provided in the various alternative implementations described above.

[0142] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0143] S1, determine the current position of the target virtual character in the virtual scene, wherein at least one virtual weather control prop is placed in the virtual scene;

[0144] S2, if the distance between the character's position and the position of the target virtual weather control item in at least one virtual weather control item is less than the target distance threshold, display a virtual weather configuration layer that matches the target virtual weather control item, wherein at least one virtual weather item is displayed in the virtual weather configuration layer;

[0145] S3, after obtaining the target virtual weather prop from at least one virtual weather prop and determining the target release area of ​​the target virtual weather prop in the virtual scene, control the display of the target virtual weather corresponding to the target virtual weather prop in the target release area, and mark the target release area and the weather marker matching the target virtual weather in the virtual map matched with the virtual scene, wherein the target virtual weather is used to interfere with the virtual characters entering the target release area;

[0146] S4 indicates the release result corresponding to the target virtual weather.

[0147] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0148] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0149] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0150] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.

[0151] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0152] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0153] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for displaying and controlling virtual weather, characterized in that, include: Determine the current position of the target virtual character in a virtual scene, wherein at least one virtual weather control prop is distributed and placed within the virtual scene; If the distance between the character's position and the position of the target virtual weather control item among the at least one virtual weather control items is less than the target distance threshold, a virtual weather configuration layer matching the target virtual weather control item is displayed. The virtual weather configuration layer displays the item information of at least one virtual weather item and the amount of game currency required to obtain each virtual weather item. In response to an item acquisition operation of virtual weather items displayed in the virtual weather configuration layer, a target virtual weather item is acquired from the at least one virtual weather item, and the target release area of ​​the target virtual weather item in the virtual scene is determined. Within the target release area, the target virtual weather corresponding to the target virtual weather prop is controlled and displayed, and the target release area and the weather marker matching the target virtual weather are marked in the virtual map matched by the virtual scene. The target virtual weather includes one of the following: virtual weather used to interfere with virtual characters entering the target release area, and virtual weather used to perform attack operations on virtual characters entering the target release area. The system will display the deployment result corresponding to the target virtual weather.

2. The method according to claim 1, characterized in that, Before controlling the display of the target virtual weather corresponding to the target virtual weather prop within the target casting area, the method further includes: The virtual weather configuration layer displays the item icons and weather effect descriptions of the currently allowed virtual weather items, wherein the weather effect descriptions describe the effects of the virtual weather corresponding to the virtual weather item on the virtual character; Obtain the target placement location of the target virtual weather item as determined in the virtual map, and determine the target placement area based on the target placement location.

3. The method according to claim 2, characterized in that, Before displaying the item icons of the currently allowed virtual weather items in the virtual weather configuration layer, at least one of the following is also included: Determine the location coordinates of the virtual weather control item; identify the virtual weather item that matches the location coordinates as the currently allowed virtual weather item. Obtain the resource value of the exchange resources owned by the target account used to control the target virtual character; determine the virtual weather props in the candidate virtual weather prop pool whose resource exchange value is less than or equal to the resource value of the exchange resources as the currently allowed virtual weather props; Obtain the qualification experience information held by the target account used to control the target virtual character; determine the virtual weather prop indicated in the qualification experience information as the currently allowed virtual weather prop.

4. The method according to claim 2, characterized in that, After determining the target deployment area based on the deployment location, the method further includes: In response to an operation performed on the item icon corresponding to the reference virtual weather item in the virtual weather configuration layer, the reference virtual weather item is obtained; Obtain the reference placement location of the reference virtual weather prop determined in the virtual map, and determine the reference placement area based on the reference placement location; If there is an overlapping area between the target deployment area and the reference deployment area, the merged virtual weather, which combines the target virtual weather and the reference virtual weather corresponding to the reference virtual weather prop, is displayed in the overlapping area.

5. The method according to claim 1, characterized in that, Before controlling the display of the target virtual weather corresponding to the target virtual weather prop within the target casting area, the method further includes: The window displaying the deployment configuration of the target virtual weather is shown; In the deployment configuration window, the deployment configuration information of the target virtual weather is obtained, wherein the deployment configuration information includes: the deployment start time of the target virtual weather, the deployment duration of the target virtual weather, and the target virtual weather's target faction.

6. The method according to claim 1, characterized in that, The prompt and the deployment result corresponding to the target virtual weather include at least one of the following: After the reference virtual character enters the target casting area, and the virtual health value of the reference virtual character reaches the target value, a message is displayed indicating that the reference virtual character has exited the virtual task corresponding to the virtual scene from the casting area; After the reference virtual character enters the target casting area, and the virtual health value of the reference virtual character reaches the target value, the number of character interferences corresponding to the target virtual weather item is updated; the incremental information of the number of character interferences is displayed.

7. The method according to claim 6, characterized in that, After updating the number of character interferences corresponding to the target virtual weather prop, the following is also included: If the number of character interferences reaches a certain threshold after the update, a prompt will be made to obtain item reward resources that match the target virtual weather item, and the number of character interferences that have reached the threshold will be reset to zero.

8. The method according to claim 1, characterized in that, After marking the target deployment area and the weather marker matching the target virtual weather in the virtual map matched with the virtual scene, it also includes at least one of the following: In response to the area adjustment operation of the target deployment area, the adjusted target deployment area is marked in the virtual map, and a weather marker matching the target virtual weather is displayed in the adjusted target deployment area; In response to the termination operation of the target virtual weather prop, the display of the target virtual weather is stopped within the target casting area.

9. The method according to claim 8, characterized in that, After ceasing the display of the target virtual weather within the target deployment area, the method further includes: If the remaining casting time of the target virtual weather item has not been cleared, in response to the first sharing operation of the target virtual weather item, a list of virtual characters belonging to the same faction as the target virtual character is displayed; When a first target virtual character is determined from the character list, the target virtual weather item and the remaining casting time are shared with the first target virtual character, wherein the first target virtual character is allowed to control the display of the target virtual weather corresponding to the target virtual weather item within the remaining casting time.

10. The method according to claim 1, characterized in that, After obtaining the target virtual weather prop from the at least one virtual weather prop, the method further includes: In response to a second sharing operation on the target virtual weather prop, a list of virtual characters belonging to the same faction as the target virtual character is displayed; If a second virtual character is identified from the character list, the target virtual weather item is shared with the second virtual character.

11. The method according to any one of claims 1 to 10, characterized in that, Controlling the display of the target virtual weather corresponding to the target virtual weather prop within the target deployment area includes: When the target virtual weather is virtual lightning weather, when a virtual character entering the target casting area is hit by virtual lightning, their health will be reduced according to the target ratio. When the target virtual weather is virtual fog weather, the field of view of the virtual character entering the target casting area will be reduced from the first range to the second range; If the target virtual weather is virtual electromagnetic interference weather, the virtual character entering the target deployment area will disappear from the virtual map; When the target virtual weather is virtual wind weather, determine the movement direction of the virtual character entering the target casting area; when the angle between the movement direction of the virtual character and the movement direction of the virtual wind is less than or equal to an angle threshold, increase the movement speed of the virtual character; when the angle between the movement direction of the virtual character and the movement direction of the virtual wind is greater than an angle threshold, decrease the movement speed of the virtual character. When the target virtual weather is virtual nano fog, the attack range of the attack items of the virtual character entering the target casting area will be shortened from the first distance to the second distance.

12. A virtual weather display and control device, characterized in that, include: A determining unit is used to determine the current position of the target virtual character in a virtual scene, wherein at least one virtual weather control prop is distributed and placed within the virtual scene; The display unit is configured to display a virtual weather configuration layer that matches the target virtual weather control item when the distance between the character's position and the item position of the target virtual weather control item in the at least one virtual weather control item is less than a target distance threshold. The virtual weather configuration layer displays item information of at least one virtual weather item and the amount of game coins required to obtain each virtual weather item. The processing unit is configured to control and display the target virtual weather corresponding to the target virtual weather prop within the target release area, and mark the target release area and the weather marker matching the target virtual weather in the virtual map matched by the virtual scene, wherein the target virtual weather includes one of the following: virtual weather used to interfere with virtual characters entering the target release area, and virtual weather used to perform attack operations on virtual characters entering the target release area; The prompting unit is used to prompt the release result corresponding to the target virtual weather; The device is further configured to, before controlling the display of the target virtual weather corresponding to the target virtual weather prop within the target deployment area, in response to an prop acquisition operation of the virtual weather props displayed in the virtual weather configuration layer, acquire the target virtual weather prop from the at least one virtual weather prop and determine the target deployment area of ​​the target virtual weather prop in the virtual scene.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed by a processor, performs the method described in any one of claims 1 to 11.

14. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 11.

15. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 11 through the computer program.

Citation Information

Patent Citations

  • Interface display method and device, storage medium and electronic equipment

    CN112619132A