Weather control method and system in game, readable storage medium and electronic device

Through the graphical user interface of the terminal device, the operating projection area and movement data of the non-contact operating medium are used to realize active control of the weather in the game, solving the problem in the existing technology that players cannot actively change the weather, and improving the game experience and Interactivity.

CN111388997BActive Publication Date: 2024-09-20NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010291689.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-14
Publication Date
2024-09-20
Estimated Expiration
2040-04-14

AI Technical Summary

Technical Problem

The weather control methods in existing games prevent players from actively controlling weather changes, which reduces the game experience.

Method used

A graphical user interface is provided through the terminal device, and the operating projection area and movement data of the non-contact operating medium are used to control the weather in the game, allowing players to actively control the weather.

Benefits of technology

It improves the player's gaming experience, allows players to change the weather in the game at any time, and enhances the interactivity and authenticity of the game.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111388997B
    Figure CN111388997B
Patent Text Reader

Abstract

The present disclosure relates to the field of computer technology, and provides a method and system for controlling weather in a game, a computer-readable storage medium, and an electronic device. The method includes: obtaining an operation projection area of ​​a contactless operation medium on a graphical user interface, wherein the operation medium is located in a preset distance range in front of the graphical user interface; and controlling the first weather in the game according to the operation projection area. The present disclosure enables game players to control the weather at any time during the game through a contactless operation medium, thereby improving the game experience of the players.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In recent years, weather systems have been widely used in games, and weather changes have some substantial impacts on players. For example, passing through a rainy scene will cause moisture, fatigue, weakness and other debuffs. Therefore, the implementation and control of the weather system is a new direction in game design.

[0003] In the prior art, the change or control of the weather is realized according to the configuration provided by the game itself, and the player can use the controls provided in the human-computer interaction interface, such as Figure 1 The control "Weather Change" shown determines whether to turn on the weather change function. When the player decides to turn on this function, the weather will change during the game according to the weather mode set by the game system.

[0004] However, in the weather control method in the prior art, players can only passively accept the weather changes set in the game system, and cannot control the weather changes in the game like operating their own weapons or skills to change the weather in the game at any time, which reduces the player's gaming experience.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a method and system for controlling weather in a game, a computer-readable storage medium, and an electronic device, thereby at least to a certain extent overcoming the problem that existing weather control technologies in games cannot enable players to actively control weather changes.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to a first aspect of the present disclosure, a method for controlling weather in a game is provided, wherein a graphical user interface is provided through a terminal device, comprising:

[0009] Acquire an operation projection area of ​​an operation medium for contactless operation on the graphical user interface, wherein the operation medium is located within a preset distance range in front of the graphical user interface;

[0010] The first weather in the game is controlled according to the operation projection area.

[0011] In an exemplary embodiment of the present disclosure, based on the above solution, the method further includes:

[0012] Acquiring movement data of an operating medium of the contactless operation;

[0013] The secondary weather in the game is controlled according to the movement data.

[0014] In an exemplary embodiment of the present disclosure, based on the above solution, the step of obtaining movement data of the operating medium of the contactless operation includes:

[0015] Acquire first movement data of the operating medium of the contactless operation on the first plane;

[0016] The controlling the second weather in the game according to the movement data comprises:

[0017] The second weather in the game is generated according to the first movement data.

[0018] In an exemplary embodiment of the present disclosure, based on the above solution, the step of obtaining movement data of the operating medium of the contactless operation includes:

[0019] Acquire second movement data of the operating medium of the contactless operation on the second plane;

[0020] The controlling the second weather in the game according to the movement data comprises:

[0021] A weather parameter of the second weather is controlled according to the second movement data, wherein the first plane is different from the second plane.

[0022] In an exemplary embodiment of the present disclosure, based on the above solution, the method further includes:

[0023] The distance between the operating medium of the contactless operation and the graphical user interface is obtained, and the weather parameters of the second weather are controlled according to the distance.

[0024] In an exemplary embodiment of the present disclosure, based on the above solution, controlling the first weather in the game according to the operation projection area includes:

[0025] The ratio of the operation projection area to the area of ​​the graphical user interface is obtained, and the first weather in the game is controlled according to the ratio.

[0026] In an exemplary embodiment of the present disclosure, based on the above solution, controlling the first weather in the game according to the operation projection area includes:

[0027] Generate the first weather in the game according to the operation projection area;

[0028] The distance between the operating medium and the graphical user interface is obtained, and the weather parameters of the first weather are controlled according to the distance.

[0029] In an exemplary embodiment of the present disclosure, based on the above-mentioned solution, the operation projection area is determined according to the projection area of ​​the operation medium in the graphical user interface.

[0030] According to a second aspect of the present disclosure, a method for controlling weather in a game is provided, wherein a graphical user interface is provided through a terminal device, comprising:

[0031] Acquiring movement data of an operating medium of a contactless operation, wherein the operating medium moves within a preset distance range in front of the graphical user interface;

[0032] A second weather in the game is controlled according to the movement data.

[0033] In an exemplary embodiment of the present disclosure, based on the above solution, controlling the second weather in the game according to the movement data includes:

[0034] generating a second weather in the game according to the movement data;

[0035] The distance between the operating medium of the contactless operation and the graphical user interface is obtained, and the weather parameters of the second weather are controlled according to the distance.

[0036] According to a third aspect of the present disclosure, a weather control system in a game is provided, wherein a graphical user interface is provided through a terminal device, and the system comprises:

[0037] A projection area acquisition module is configured to acquire an operation projection area of ​​an operation medium of a contactless operation on the graphical user interface, wherein the operation medium is located within a preset distance range in front of the graphical user interface;

[0038] The first weather control module is configured to control the first weather in the game according to the operation projection area.

[0039] According to a fourth aspect of the present disclosure, a weather control system in a game is provided, which provides a graphical user interface through a terminal device, including:

[0040] a movement data acquisition module, configured to acquire movement data of an operation medium of a contactless operation, wherein the operation medium moves within a preset distance range in front of the graphical user interface;

[0041] The second weather control module is configured to control the second weather in the game according to the movement data.

[0042] According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the weather control method in the game as described in the first aspect and / or the second aspect of the above embodiments is implemented.

[0043] According to the sixth aspect of the embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; and a storage device for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the weather control method in the game as described in the first aspect and / or the second aspect of the above embodiments.

[0044] It can be seen from the above technical solutions that the weather control method in the game, the weather control system in the game, and the computer-readable storage medium and electronic device for implementing the weather control method in the game in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:

[0045] In the technical solutions provided in some embodiments of the present disclosure, the first weather in the game can be controlled based on the operation projection area of ​​the operating medium of the contactless operation obtained on the graphical user interface. The second weather in the game can also be controlled based on the movement data of the operating medium of the contactless operation obtained. Compared with the weather control method in the existing game, on the one hand, the technical solution of the present disclosure can control the first weather and the second weather in the game respectively according to the operation projection area and movement data of the operating medium obtained, so as to enable the player to control the weather changes in the game and enhance the player's gaming experience; on the other hand, the technical solution of the present disclosure can obtain the operation projection area and movement data of the operating medium at any time, so as to enable the player to control the weather changes in the game at any time.

[0046] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0048] Figure 1 The graphical user interface for controlling the weather system in the prior art of the present disclosure is shown;

[0049] Figure 2A schematic diagram showing a flow chart of a weather control method in a game in an exemplary embodiment of the present disclosure;

[0050] Figure 3 A schematic diagram showing an operation of controlling the first weather in an exemplary embodiment of the present disclosure is shown;

[0051] Figure 4 A schematic flow chart showing a method for controlling weather parameters of a first weather in an exemplary embodiment of the present disclosure;

[0052] Figure 5 A schematic flow chart showing a second weather control method in a game in an exemplary embodiment of the present disclosure;

[0053] Figure 6 A schematic diagram showing an operation of controlling the second weather in an exemplary embodiment of the present disclosure is shown;

[0054] Figure 7 A schematic flow chart showing a method for controlling weather parameters of the second weather in an exemplary embodiment of the present disclosure;

[0055] Figure 8 A flow chart showing another method for controlling weather parameters of the second weather in an exemplary embodiment of the present disclosure;

[0056] Fig. 9 A schematic diagram showing the structure of a weather control system in a game in an exemplary embodiment of the present disclosure;

[0057] Fig.10 A schematic diagram showing the structure of a weather control system in another game in an exemplary embodiment of the present disclosure;

[0058] Fig.11 A schematic diagram showing the structure of a computer storage medium in an exemplary embodiment of the present disclosure; and

[0059] Fig.12 A schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0060] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0061] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0062] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities.

[0063] In another existing related technology, the change or control of the weather is implemented according to the configuration provided by the game itself, such as Figure 1 As shown, the player can use the control "weather change" provided in the human-computer interaction interface to determine whether to turn on the weather change function. When the player determines to turn on the function, the weather will change according to the weather mode set by the game system during the game, such as Figure 1 Random weather switching of sunny, rainy, thunderstorm and snowing shown.

[0064] However, in the weather control method in the prior art, players can only passively accept the weather changes set in the game system, and cannot control the weather changes in the game like operating their own weapons or skills to change the weather in the game at any time, which reduces the player's gaming experience.

[0065] In the embodiments of the present disclosure, a method for controlling the weather in a game is first provided, which overcomes the defects existing in the above-mentioned existing related technologies at least to a certain extent.

[0066] Figure 2 The following is a flow chart of a method for controlling weather in a game according to an exemplary embodiment of the present disclosure. The method for controlling weather in a game according to the present embodiment provides a graphical user interface through a terminal device. Figure 2 , the method comprising:

[0067] Step S210, obtaining an operation projection area of ​​an operation medium of a contactless operation on a graphical user interface, wherein the operation medium is located within a preset distance range in front of the graphical user interface;

[0068] Step S220, controlling the first weather in the game according to the operation projection area.

[0069] exist Figure 2 In the technical solution provided by the illustrated embodiment, the first weather in the game can be controlled based on the obtained operation projection area of ​​the contactless operation medium on the graphical user interface. Compared with the existing weather control method in the game, on the one hand, the technical solution of the present disclosure can control the weather in the game based on the obtained projection area of ​​the operation medium, so that the player can control the weather changes in the game and improve the player's gaming experience; on the other hand, the technical solution of the present disclosure can obtain the projection area of ​​the operation medium at any time, so the player can control the weather changes in the game at any time.

[0070] Next, Figure 2 The specific implementation methods of each step in the embodiment shown are described in detail:

[0071] In step S210, an operation projection area of ​​an operation medium of a contactless operation on a graphical user interface is obtained, wherein the operation medium is located within a preset distance range in front of the graphical user interface.

[0072] In an exemplary embodiment, the contactless operation may include any operation that can be performed without touching the graphical user interface, for example, contactless operation implemented using floating touch technology. The operating medium of the contactless operation may include any material that can be contactlessly sensed by the graphical user interface, for example, the player's hand, the player's arm, etc., and this exemplary embodiment does not specifically limit this.

[0073] When performing the first weather control, the operating medium is located in a preset distance range in front of the graphical user interface. Specifically, the operating medium may be parallel to the graphical user interface and stay in a preset distance range in front of the graphical user interface, such as Figure 3 As shown, Figure 331 is a graphical user interface, and 32 is an operating medium; or the operating medium may be at an angle to the graphical user interface and stay in a preset distance range in front of the graphical user interface. The preset distance range may be a range determined by the maximum and minimum values ​​that the graphical user interface can sense for contactless operation.

[0074] When the operating medium is located within a preset distance range in front of the graphical user interface, the operating medium will block the graphical user interface, thereby generating an operating projection area. The operating projection area can be determined based on the projection area of ​​the operating medium in the graphical user interface. Specifically, the ratio of the operating projection area to the operating medium can be the same or different. For example, the operating projection area can be the actual projection area of ​​the operating medium in the graphical user interface; or it can be the area obtained by reducing the actual projection area by a preset ratio.

[0075] Exemplarily, a specific implementation of step S210 may be, when it is detected that the contactless operating medium is located in front of the graphical user interface, obtaining an operating projection area of ​​the contactless operating medium in the graphical user interface.

[0076] After obtaining the projection area of ​​the operation medium in the graphical user interface, in step S220, the first weather in the game is controlled according to the operation projection area. The first weather may include static weather in the game, such as sunny, cloudy, overcast, etc.

[0077] Exemplarily, a specific implementation of step S220 may be to obtain a ratio of the operation projection area to the area of ​​the graphical user interface, and control the first weather in the game according to the ratio.

[0078] Among them, the above-mentioned control of the first weather in the game according to the ratio can be to control the first weather in the game according to whether the ratio is greater than a preset threshold. Specifically, taking the first weather including sunny, cloudy, and overcast as an example, the above-mentioned control of the first weather in the game according to the ratio can be that when the ratio is greater than the first preset threshold, the cloudy weather is generated in the current screen of the game; when the ratio is within the first preset threshold and greater than the second preset threshold, the overcast weather is generated in the game; when the ratio is within the second preset threshold, the sunny weather is generated in the game.

[0079] For the convenience of player operation, continuing with the example that the first weather includes sunny, cloudy and overcast, the above-mentioned control of the first weather in the game according to the ratio can also be that when the ratio is greater than a first preset threshold, the control generates a cloudy day in the game; when the ratio is within the first preset threshold and greater than zero, the control generates overcast days in the game; and when the ratio is 0, that is, when the operating medium is not within a preset distance range in front of the graphical user interface, for example, the player's hand does not block the screen in any way, the control generates a sunny day in the game.

[0080] Exemplarily, when generating the first weather in the game, the weather parameters of the first weather can also be controlled. Refer to Figure 4 As shown, the method for controlling the weather parameters of the first weather may include steps S410 - S420.

[0081] In step S410, the distance between the operating medium and the graphical user interface is obtained.

[0082] Exemplarily, a specific implementation manner for obtaining the distance between the operating medium and the graphical user interface may be to obtain the distance between the centroid of the operating medium and the centroid of the graphical user interface.

[0083] After obtaining the distance between the operating medium and the graphical user interface, in step S420, the weather parameters of the first weather are controlled according to the distance. Among them, the weather parameters of the first weather may include weather indicators of the first weather, such as the number of clouds, the brightness value of the game screen, and so on.

[0084] Exemplarily, a specific implementation manner of the above step S420 may be to determine the distance range corresponding to the distance between the operating medium and the graphical user, and then control the weather parameters of the first weather according to the parameter level corresponding to the distance range. Among them, before determining the range corresponding to the distance between the operating medium and the graphical user interface, the weather parameters of the first weather may be divided into different levels, different numbers of clouds or different brightness values of the game screen corresponding to different weather parameter levels are determined, and different parameter levels corresponding to different distance ranges are determined.

[0085] Taking the weather parameter of the first weather as the number of clouds as an example, the weather parameters can be divided into 3 different levels, namely 1, 2, and 3, according to the number of clouds, and the number of clouds in levels 1 - 3 gradually increases. Vice versa is also possible, and this exemplary embodiment does not make special limitations on this. Further, the parameter levels corresponding to different distance ranges can be as shown in Table 1 below. In Table 1, when the distance x between the operating medium and the graphical user interface satisfies x1 ≤ x ≤ x2, the weather parameter at this time can be the number of clouds a1 corresponding to the weather parameter level 1; when the distance x between the operating medium and the graphical user interface satisfies x2 < x ≤ x3, the weather parameter at this time can be the number of clouds a2 corresponding to the weather parameter level 2; when the distance x between the operating medium and the graphical user interface satisfies x3 < x ≤ x4, the weather parameter at this time can be the number of clouds a3 corresponding to the weather parameter level 3. Among them, the values of x1, x2, x3, and x4 are different from each other, and the values of a1, a2, and a3 are also different from each other.

[0086] Table 1

[0087] Weather parameter level Cloud Cover Distance Range 1 <![CDATA[a1]]> <![CDATA[x1≤x≤x2]]> 2 <![CDATA[a2]]> <![CDATA[x2<x≤x3]]> 3 <![CDATA[a3]]> <![CDATA[x3<x≤x4]]>

[0088] In order to have a more realistic effect when controlling the first weather in the game and further improve the user experience, for example, when controlling the weather in the first weather, there may be an effect of clouds changing dynamically.

[0089] Specifically, the translation distance of the contactless operation medium in the direction parallel to the graphical user interface can be obtained, and when the translation distance is greater than the third preset threshold, the dynamic change of the clouds in the game can be controlled. The size of the third preset threshold can be set according to the length or width of the terminal device screen. When the game screen is horizontal, the third preset threshold can be 1 / 3 of the length of the mobile phone, and when the game screen is vertical, it can be 1 / 3 of the width of the mobile phone.

[0090] It should be noted that when the translation distance of the contactless operation medium in a direction parallel to the graphical user interface does not affect the ratio of the projection mapping area to the graphical user interface, the first weather does not change, that is, there is no change from cloudy to overcast, overcast to sunny, etc., then the number of clouds in the game screen does not change, but there is a dynamic movement effect; when the translation distance of the contactless operation medium in a direction parallel to the graphical user interface increases or decreases the ratio of the projection mapping area to the graphical user interface, at this time the weather changes during the first weather, for example, from cloudy to overcast, then the number of clouds in the game screen increases or decreases accordingly, and there is a dynamic movement effect.

[0091] Furthermore, based on the above weather control method, the second weather control in the game can also be performed. Figure 5 As shown, the second weather control method in the game includes steps S510 to S520.

[0092] In step S510, movement data of an operating medium of a contactless operation is acquired, wherein the operating medium moves within a preset distance range in front of a graphical user interface.

[0093] The detailed description of the operating medium and the preset distance range of the contactless operation is the same as that in the above step S210, and will not be repeated here.

[0094] In an exemplary embodiment, the movement data of the operating medium of the contactless operation may be first movement data of the operating medium on a first plane. The first plane may be a plane parallel to the graphical user interface or a plane perpendicular to the graphical user interface. Taking the first plane as an example, the operation schematic diagram of the operating medium moving within a preset distance range in front of the graphical user interface may be as follows: Figure 6As shown, 61 may be a terminal device, and 62 may be an operating medium. The first movement data may include data of the operating medium moving back and forth on the first plane, for example, may be a swing frequency.

[0095] After the movement data of the contactless operating medium is obtained, in step S520, the second weather in the game is controlled according to the movement data. The second weather may include dynamic weather in the game, such as rain, snow, etc.

[0096] Exemplarily, the specific implementation of the above step S520 may be to control the generation of the second weather in the game according to the first movement data, wherein when the first movement data is greater than the fourth preset threshold, rainy weather is generated, and when the first movement data is less than the fourth preset threshold, snowy weather is generated.

[0097] Further, the specific implementation of the above step S520 can also be to control the generation of the second weather in the game according to the above first movement data, and control the weather parameters of the second weather generated according to the second movement data. Figure 7 The method for controlling the weather parameters of the second weather may include steps S710 to S720.

[0098] In step S710, second movement data of the contactless operating medium on a second plane is acquired, wherein the second plane is different from the first plane.

[0099] In an exemplary embodiment, the second plane may include a plane parallel to the graphical user interface, or may include a plane perpendicular to the graphical user interface. However, the second plane is different from the first plane described above. In other words, when the first plane described above is a plane parallel to the graphical user interface, the second plane is a plane perpendicular to the graphical user interface, and when the first plane described above is a plane perpendicular to the graphical user interface, the second plane is a plane parallel to the graphical user interface. The second data may include data of the operation medium moving back and forth in the second plane, for example, the swing frequency.

[0100] Exemplarily, a specific implementation of the above step S710 may be to obtain the oscillation frequency of the contactless operating medium on the second plane.

[0101] After obtaining the second movement data of the operating medium on the second plane, in step S720, the weather parameters of the second weather are controlled according to the second movement data. The weather parameters of the second weather may include indicators of the second weather, for example, at least one of rainfall and snow.

[0102] Exemplarily, a specific implementation manner of controlling the weather parameters of the second weather according to the second movement data may be to determine the second movement data range corresponding to the second movement data, and then, according to the parameter level corresponding to the second movement data range, determine the weather parameters of the second weather. Among them, before determining the second movement data range corresponding to the second data, the weather parameters of the second weather may be divided into different levels, and the values of the weather parameters of the second weather corresponding to different levels are determined. For example, the rainfall and snowfall amounts corresponding to different levels, and the parameter levels corresponding to different second movement data ranges are determined.

[0103] Taking the second weather being rain as an example, the second weather parameters may be divided into 3 different levels, namely 1, 2, and 3, according to the amount of rainfall, and the rainfall amounts of levels 1 - 3 gradually increase. Vice versa is also possible, and this exemplary implementation manner does not make special limitations in this regard. Further, the parameter levels corresponding to different second movement data ranges may be as shown in Table 2 below. In Table 2, when the second movement data y satisfies y1 ≤ y ≤ y2, the rainfall amount is controlled to be b1 at this time; when the second movement data y satisfies y2 < y ≤ y3, the rainfall amount is controlled to be b2 at this time; when the second movement data y satisfies y3 < y ≤ y4, the rainfall amount is controlled to be b3 at this time. Among them, the values of b1, b2, and b3 are different from each other, and the values of y1, y2, y3, and y4 are also different from each other.

[0104] Table 2

[0105] Weather parameter level rainfall Second mobile data range 1 <![CDATA[b1]]> <![CDATA[y1≤y≤y2]]> 2 <![CDATA[b2]]> <![CDATA[y2<y≤y3]]> 3 <![CDATA[b3]]> <![CDATA[y3<y≤y4]]>

[0106] In the exemplary implementation manner, another method for controlling the weather parameters of the second weather in the game is also provided. Specifically, referring to Figure 8 , another method for controlling the weather parameters of the second weather in the game may include step S810 - step S820.

[0107] In step S810, obtain the distance between the operating medium of the contactless operation and the graphical user interface.

[0108] Exemplarily, a specific implementation manner of step S810 may be to obtain the distance between the centroid of the operating medium of the contactless operation and the centroid of the terminal device.

[0109] In step S820, control the weather parameters of the second weather in the game according to the distance.

[0110] Exemplarily, the specific implementation manner of step S820 may refer to the above step S420. Among them, the difference between the specific implementation manner of step S820 and the specific implementation manner of the above step S420 is that in step S820, different weather parameter levels correspond to different rainfall amounts and / or snowfall amounts.

[0111] At the same time, in step S820, the distance ranges corresponding to different levels may be the same as or different from those in step S420, and the number of divided levels may be the same as or different from that in step S420, which is not particularly limited in this exemplary embodiment.

[0112] Furthermore, in an exemplary embodiment of the present disclosure, another method for controlling weather in a game is provided, which provides a graphical user interface through a terminal device. The method may include the above Figure 5 Steps S510-S520 in .

[0113] In step S520, movement data of the operating medium of the contactless operation is acquired.

[0114] In step S520, the second weather in the game is controlled according to the movement data.

[0115] The technical terms "mobile data of the operating medium" and "second weather" involved are the same as those in the above embodiment. The specific implementation details of steps S510-S520 have been described in detail above and will not be repeated here.

[0116] In an exemplary embodiment, the specific implementation of controlling the second weather in the game according to the movement data may include:

[0117] Generate a second weather in the game according to the movement data; and obtain the distance between the operating medium of the contactless operation and the graphical user interface, and control the weather parameters of the second weather in the game according to the distance.

[0118] The specific implementation of generating the second weather in the game according to the movement data is the same as the specific implementation of generating the second weather in the game according to the first movement data, that is, when the first movement data is greater than the fourth preset threshold, rainy weather is generated, and when the first movement data is less than the fourth preset threshold, snowy weather is generated.

[0119] Exemplarily, the specific implementation of obtaining the distance between the operating medium of the contactless operation and the graphical user interface and controlling the weather parameters of the second weather in the game according to the distance is the same as the above-mentioned steps S810 to S820, which will not be repeated here.

[0120] exist Figure 5In the technical solution provided by the illustrated embodiment, the second weather in the game can be controlled based on the acquired movement data of the operating medium of the contactless operation. Compared with the existing weather control method in the game, on the one hand, the weather in the game can be controlled based on the acquired movement data, so that the player can control the weather changes in the game and improve the player's gaming experience; on the other hand, the movement data of the operating medium can be acquired at any time, so the player can control the weather changes in the game at any time.

[0121] In order to produce a more realistic weather change effect when controlling the weather in the game, an association relationship may be established between a variable corresponding to the movement data of the contactless operation medium and a variable corresponding to the operation projection area of ​​the contactless operation medium on the graphical user interface.

[0122] Specifically, the variables corresponding to the operation projection area can be used as the basis for the variables corresponding to the movement data. In this way, the generation of the first weather and the second weather can be controlled in the game at the same time. For example, while generating rainy and snowy weather in the game, cloudy or overcast weather can also be generated to be more in line with the weather effects in reality, giving players a more realistic gaming experience.

[0123] It should be noted that the above-mentioned association relationship may not be established, and this exemplary embodiment does not specifically limit this.

[0124] Through the above-mentioned weather control method in the game, players can actively control the weather in the game, allowing players to change the weather conditions at any time in the game according to their own preferences or needs, without being bound by the weather changes automatically set in the game system.

[0125] Furthermore, based on the above-mentioned weather control method, new functions of the game can be expanded. For example, in a simulation business game, the growth of crops can be determined according to the player's control over the weather conditions, so that the player can gain a sense of accomplishment; in the PVP (Player versus player) mode of an MMO (Massive Multiplayer Online) game, weather changes can be set as skills to cause the opponent player to suffer passive damage, such as slipping in the snow, the opponent may fall when attacking, and the sun can cause the opponent to be sunburned or have eyes stabbed, etc.; in an FPS (First-person shooting game), a tense atmosphere can be created to increase the difficulty of the challenge, so as to bring more gaming experience to game players.

[0126] Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments are implemented as a computer program executed by a CPU. When the computer program is executed by the CPU, the above functions defined by the above method provided by the present invention are performed. The program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk.

[0127] In addition, it should be noted that the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0128] Fig. 9 A schematic diagram of a weather control system in a game according to an exemplary embodiment of the present disclosure is shown. Fig. 9 The weather control system 900 in the game includes: a projection area acquisition module 910 and a first weather control module 920. Among them:

[0129] The projection area acquisition module 910 is configured to acquire the operation projection area of ​​the operation medium of the contactless operation on the graphical user interface, wherein the operation medium is located within a preset distance range in front of the graphical user interface;

[0130] The first weather control module 920 is configured to control the first weather in the game according to the operation projection area.

[0131] In an exemplary embodiment of the present disclosure, based on the above-mentioned embodiment, the first weather control module 920 is further specifically configured as follows:

[0132] The ratio of the area of ​​the projection mapping region to the area of ​​the graphical user interface is obtained, and the first weather in the game is controlled according to the ratio.

[0133] In an exemplary embodiment of the present disclosure, based on the above-mentioned embodiment, the first weather control module 920 is further specifically configured as follows:

[0134] Generate the first weather in the game based on the above-mentioned operation projection area;

[0135] Get the distance between the operating medium and the graphical user interface, and control the weather parameters of the first weather according to the distance.

[0136] In an exemplary embodiment of the present disclosure, based on the above-mentioned embodiment, the weather control system in the game further includes: a second weather control module. The second weather control module is configured to: obtain the movement data of the above-mentioned contactless operation medium; and control the second weather in the game according to the movement data.

[0137] In an exemplary embodiment of the present disclosure, based on the above-mentioned embodiment, the second weather control module includes a second weather generation unit and a second weather parameter control unit. Among them:

[0138] The above-mentioned second weather generation unit is specifically configured to: obtain the first movement data of the operating medium of the contactless operation on the first plane; control the generation of the second weather in the game according to the first movement data; the above-mentioned weather parameter control unit of the second weather is specifically configured to: obtain the second movement data of the operating medium of the contactless operation on the second plane; control the weather parameters of the second weather according to the second movement data, wherein the above-mentioned first plane is different from the above-mentioned second plane.

[0139] Furthermore, Fig.10 A schematic diagram showing the structure of a weather control system in another game in an exemplary embodiment of the present disclosure is shown. Fig.10 The weather control system in the game includes: a mobile data acquisition module 1010 and a second weather control module 1020. Among them:

[0140] The above-mentioned movement data acquisition module 1010 is configured to acquire movement data of the operation medium of the contactless operation, wherein the operation medium moves within a preset distance range in front of the graphical user interface;

[0141] The second weather control module 1020 is configured to control the second weather in the game according to the movement data.

[0142] In an exemplary embodiment of the present disclosure, based on the above-mentioned embodiment, the second weather control module 1020 is further specifically configured as follows:

[0143] Generate the second weather in the game mentioned above based on the movement data;

[0144] The distance between the contactless operation medium and the graphical user interface is obtained, and the weather parameters of the second weather mentioned above are controlled according to the distance.

[0145] The specific details of each part of the weather control system 900 and 1000 in the above-mentioned game have been described in detail in the weather control method in the corresponding game, so they will not be repeated here.

[0146] For example, before using the weather control systems 900 and 1000 to control the weather, a first trigger operation may be responded to to start the corresponding weather control system. The first trigger operation may be a button click operation, a voice interaction operation, a gesture interaction operation, etc., which is not specifically limited in this exemplary embodiment. Through the first trigger operation, the user can start the corresponding weather control system at any time during the game.

[0147] After turning on the weather control systems 900 and 1000, the corresponding weather control system can be turned off in response to a second touch operation. The second trigger operation can be a button click operation, a voice interaction operation, a gesture interaction operation, etc., which is not specifically limited in this exemplary embodiment. Through the second trigger operation, the user can turn off the corresponding weather control system at any time during the game.

[0148] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0149] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0150] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0151] In the exemplary embodiments of the present disclosure, a computer storage medium capable of implementing the above method is also provided. A program product capable of implementing the above method of this specification is stored thereon. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.

[0152] refer to Fig.11 As shown, a program product 1100 for implementing the above method according to an embodiment of the present disclosure is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0153] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0154] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0155] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0156] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0157] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0158] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0159] Refer to the following Fig.12 The electronic device 800 according to this embodiment of the present disclosure is described. Fig.12 The electronic device 1200 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0160] like Fig.12 As shown, the electronic device 1200 is in the form of a general computing device. The components of the electronic device 1200 may include, but are not limited to: the at least one processing unit 1210, the at least one storage unit 1220, a bus 1230 connecting different system components (including the storage unit 1220 and the processing unit 1210), and a display unit 1240.

[0161] The storage unit stores program codes, which can be executed by the processing unit 1210, so that the processing unit 1210 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 1210 can perform the following steps: Figure 2As shown in: Step S210, obtaining the operation projection area of ​​the operation medium of the contactless operation on the graphical user interface, wherein the operation medium is located within a preset distance range in front of the graphical user interface; Step S220, controlling the first weather in the game according to the operation projection area.

[0162] For another example, the processing unit 1210 may also execute the following Figure 4 , Figure 5 , Figure 7 , Figure 8 The various steps in .

[0163] The storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 12201 and / or a cache storage unit 12202 , and may further include a read-only storage unit (ROM) 12203 .

[0164] The storage unit 1220 may also include a program / utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0165] Bus 1230 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0166] The electronic device 1200 may also communicate with one or more external devices 1300 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1200, and / or communicate with any device that enables the electronic device 1200 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1250. In addition, the electronic device 1200 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1260. As shown, the network adapter 1260 communicates with other modules of the electronic device 1200 via a bus 1230. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0167] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0168] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0169] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A method for controlling weather in a game, characterized in that: Providing a graphical user interface through a terminal device, the method comprising: Acquire an operation projection area of ​​an operation medium for contactless operation on the graphical user interface, wherein the operation medium is located within a preset distance range in front of the graphical user interface; Generate the first weather in the game according to the operation projection area; the first weather includes static weather in the game; The distance between the operating medium and the graphical user interface is obtained, a distance range corresponding to the distance between the operating medium and the graphical user interface is determined, and the weather parameter of the first weather is controlled according to the parameter level corresponding to the distance range.

2. The weather control method in the game according to claim 1, characterized in that: The method further comprises: Acquiring movement data of an operating medium of the contactless operation; The secondary weather in the game is controlled according to the movement data.

3. The method for controlling weather in a game according to claim 2, characterized in that: The step of acquiring movement data of the operating medium of the contactless operation includes: Acquire first movement data of the operating medium of the contactless operation on the first plane; The controlling the second weather in the game according to the movement data comprises: The second weather in the game is generated according to the first movement data.

4. The method for controlling weather in a game according to claim 3, characterized in that: The step of acquiring movement data of the operating medium of the contactless operation includes: Acquire second movement data of the operating medium of the contactless operation on the second plane; The controlling the second weather in the game according to the movement data comprises: A weather parameter of the second weather is controlled according to the second movement data, wherein the first plane is different from the second plane.

5. The method for controlling weather in a game according to claim 3, characterized in that: The method further comprises: The distance between the operating medium of the contactless operation and the graphical user interface is obtained, and the weather parameters of the second weather are controlled according to the distance.

6. The method for controlling weather in a game according to claim 1, characterized in that: The controlling the first weather in the game according to the operation projection area comprises: The ratio of the operation projection area to the area of ​​the graphical user interface is obtained, and the first weather in the game is controlled according to the ratio.

7. The method for controlling weather in a game according to claim 1, characterized in that: The operation projection area is determined according to a projection area of ​​the operation medium in the graphical user interface.

8. A method for controlling weather in a game, characterized in that: Providing a graphical user interface through a terminal device, the method comprising: Acquiring movement data of an operating medium of a contactless operation, wherein the operating medium moves within a preset distance range in front of the graphical user interface; Generate a second weather in the game according to the movement data; the second weather includes dynamic weather in the game; The distance between the operating medium and the graphical user interface is obtained, a distance range corresponding to the distance between the operating medium and the graphical user interface is determined, and the weather parameter of the second weather is controlled according to the parameter level corresponding to the distance range.

9. A weather control system in a game, characterized in that: Providing a graphical user interface through a terminal device, the system comprises: A projection area acquisition module is configured to acquire an operation projection area of ​​an operation medium of a contactless operation on the graphical user interface, wherein the operation medium is located within a preset distance range in front of the graphical user interface; The first weather control module is configured to generate the first weather in the game according to the operation projection area; obtain the distance between the operation medium and the graphical user interface, determine the distance range corresponding to the distance between the operation medium and the graphical user interface, and control the weather parameters of the first weather according to the parameter level corresponding to the distance range; the first weather includes static weather in the game.

10. A weather control system in a game, characterized in that: Providing a graphical user interface through a terminal device, the system comprises: a movement data acquisition module, configured to acquire movement data of an operation medium of a contactless operation, wherein the operation medium moves within a preset distance range in front of the graphical user interface; The second weather control module is configured to generate the second weather in the game according to the movement data; obtain the distance between the operating medium and the graphical user interface, determine the distance range corresponding to the distance between the operating medium and the graphical user interface, and control the weather parameters of the second weather according to the parameter level corresponding to the distance range; the second weather includes dynamic weather in the game.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the weather control method in the game according to any one of claims 1 to 7 is implemented, as well as the weather control method in the game according to claim 8.

12. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the weather control method in the game as described in any one of claims 1 to 7, and the weather control method in the game as described in claim 8.