Method and terminal for introducing local weather characteristics into game
By obtaining user-side location information to obtain the weather information of the day and matching it with the game resource library, it generates weather atmosphere and attributes that interact with the user, solving the problem that the weather effect in the game is not related to the actual weather, and improving the user's immersion and game experience.
Patent Information
- Application Number
- CN202410094685.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-23
- Publication Date
- 2025-07-25
AI Technical Summary
The weather effects simulated in the existing game have nothing to do with the actual weather conditions of the player's location and lack immersion.
By obtaining the location information of the user, obtaining the weather information of the corresponding area on the day, and matching it with the weather resources in the game resource library, the game attributes with the weather atmosphere and interactive characteristics in the game scene of the user are generated.
Enhance the immersion of the game, adjusting the game attributes and atmosphere by matching the local weather characteristics to improve the user experience.
Smart Images

Figure CN120361546A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of games, and particularly to a method and a terminal for introducing local weather features into a game. Background Art
[0002] In the field of modern video games, in order to enhance the gaming experience, developers have been seeking innovative ways to enhance the authenticity of the game environment. In the prior art, elements of the real world, such as weather conditions, are generally simulated and incorporated into the game. However, traditional games usually use preset weather effects, which have nothing to do with the actual weather conditions at the player's location, and at the same time, the preset weather effects have no actual interaction with the user, resulting in a lack of immersion for the user. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a method and a terminal for introducing local weather features into a game, so as to generate effects corresponding to the local weather features in the user-side game.
[0004] In order to solve the above technical problem, the technical solution adopted by the present invention is as follows:
[0005] A method for introducing local weather features into a game, comprising the steps of:
[0006] S1. Obtain the location information of the user terminal, and obtain the weather information of the corresponding area on the same day according to the location information of the user terminal;
[0007] S2. Screen out the main weather conditions on the same day and match them with the corresponding weather resources and configuration relationships in the game resource library;
[0008] S3. Use the weather resources to generate a corresponding weather atmosphere in the game scene of the user terminal and adjust the game attributes with interactive characteristics of the user terminal according to the configuration relationship.
[0009] A terminal, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are completed:
[0010] S1. Obtain the location information of the user terminal, and obtain the weather information of the corresponding area on the same day according to the location information of the user terminal;
[0011] S2. Screen out the main weather conditions on the same day and match them with the corresponding weather resources and configuration relationships in the game resource library;
[0012] S3. Use the weather resources to generate a corresponding weather atmosphere in the game scene of the user terminal and adjust the game attributes with interactive characteristics of the user terminal according to the configuration relationship.
[0013] The beneficial effects of the present invention are as follows: It provides a method and a terminal for introducing local weather features into a game. By obtaining the location information of the user terminal, the daily weather information of the area where the user terminal is located is acquired, and the main weather conditions of the day are screened out and matched with the weather resources in the game resource library. Based on the weather resources, a weather atmosphere that has no interaction relationship with the user is generated, and the game attributes that have an interaction relationship with the user are adjusted. The game presentation effect of the user terminal is adjusted by combining game data with local weather features, deepening the user's immersion during the game process and enhancing the game experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a flowchart of a method for introducing local weather features into a game in an embodiment of the present invention;
[0015] Figure 2 It is a specific flowchart of a method for introducing local weather features into a game in an embodiment of the present invention;
[0016] Figure 3 It is a schematic diagram of a terminal in an embodiment of the present invention;
[0017] Reference Numeral Explanation:
[0018] 1. Terminal; 2. Memory; 3. Processor. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0019] To describe in detail the technical content, the achieved objectives and the effects of the present invention, the following is described in conjunction with the embodiments and with reference to the accompanying drawings.
[0020] Please refer to Figure 1 and Figure 2 , a method for introducing local weather features into a game, including the steps of:
[0021] S1. Obtain the location information of the user terminal, and acquire the daily weather information of the corresponding area according to the location information of the user terminal;
[0022] S2. Screen out the main weather conditions of the day and match them with the corresponding weather resources and configuration relationships in the game resource library;
[0023] For example, if more than one - quarter of the stages of the daily weather are rainy, it is determined that the main weather condition of the day is rainy, and the matching is carried out according to the subsequent steps; preferably, the game resource library corresponds to the same - level weather conditions and then conducts a secondary classification. For example, the first - level types of conventional weather are divided into: sunny, cloudy, overcast, rainy, snowy, foggy, hazy, hail, sandstorm, etc. Based on the first - level classification, a secondary classification is carried out: for example, rain is divided according to the rainfall amount into: light rain, moderate rain, heavy rain, rainstorm, heavy rainstorm, extremely heavy rainstorm, and snow is divided into: light snow, moderate snow, heavy snow, blizzard, etc. Corresponding weather resources and configuration relationships are equipped for each level.
[0024] S3. Generate a corresponding weather atmosphere within the game scene of the user terminal using the weather resources and adjust the game attributes with interactive characteristics of the user terminal according to the configuration relationship.
[0025] As can be seen from the above description, the beneficial effects of the present invention are as follows: Provide a method for introducing local weather characteristics into a game, obtain the daily weather information of the area where the user terminal is located through location information, screen out the main weather conditions of the day and match them with the weather resources in the game resource library, generate a weather atmosphere that has no interaction relationship with the user based on the weather resources, and adjust the game attributes that have an interaction relationship with the user, and adjust the game presentation effect of the user terminal by combining game data with local weather characteristics, so as to deepen the immersion of the user during the game process and improve the game experience.
[0026] It should be noted that the interaction relationship refers to a two-way relationship, which is the opposite of a one-way relationship. In an interaction relationship, A can have an impact on B, and at the same time B can also give feedback to A.
[0027] In some embodiments of the present invention, adjusting the game attributes of the user terminal according to the configuration relationship specifically includes:
[0028] Adjust the attributes of the game character of the user terminal according to the configuration relationship and generate corresponding descriptions;
[0029] Generate triggerable events within the game scene of the user terminal according to the configuration relationship.
[0030] As can be seen from the above description, in order to increase the immersion of the user, the adjustment of the game attributes with interactive characteristics is specifically manifested in the following aspects: Adjust the attributes of the game character based on the configuration relationship (matching the local main weather conditions), for example, in an MMO game, adjust the values of the attack, defense, vision, or movement speed of the game character of the user terminal, and give the user a prompt; Generate corresponding triggerable events based on the configuration relationship. Specifically, the triggerable events include at least one of the following: hidden tasks, hidden NPCs, and hidden items. For example, in an MMO game, special game items such as fungi will grow in some meadow areas in a rainy environment; that is, adjust the game attributes with an interaction relationship in the user terminal game through the configuration relationship matching the local weather.
[0031] In some embodiments of the present invention, the weather atmosphere includes at least one of the following: scene brightness, scene sound effects, scene type, and detail effects.
[0032] As can be seen from the above description, in order to enhance the creation of the weather atmosphere within the game scene of the user terminal, in this example, the presentation method of the weather atmosphere is refined, including scene brightness, scene type, and detail effects, which are specifically implemented through preset art resources. Examples are as follows:
[0033] 1) On rainy days, there are corresponding art resources related to rain. It involves details such as raindrops, water splashes, ripples, lightning, etc., as well as the effects of rain on the ground, buildings, and objects, such as wetness, water accumulation, and reflection, creating different styles and atmospheres for rainy days.
[0034] 2) On snowy days, there are corresponding art resources related to snow. It involves details such as the shape, size, density, speed, and direction of snowflakes, as well as the effects of snowflakes on light, shadow, transparency, etc. At the same time, it changes with weather conditions (such as sleet, blizzard, snow stop, etc.), creating different styles and atmospheres for snowing.
[0035] 3) In hot summers, the corresponding light sources with high brightness and saturation make the scene look brighter and hotter.
[0036] In some embodiments of the present invention, after step S3, there is also step S4:
[0037] Detect the location information of different user terminals. If the location information between the user terminals is in the same area, generate the synchronized weather atmosphere in the game scenes of the user terminals in the same area.
[0038] As can be seen from the above description, in order to increase the correlation between different user terminals and improve the user experience, generate a synchronized weather atmosphere in different user terminals in the same area; preferably, user authorization is required before introducing weather features into the game. For example, provide an option in the user terminal to enable the LBS (Location Based Service) function. If the user agrees to enable it, download the corresponding resource package from the game resource library. User terminals that have all been authorized for the LBS function and are in the same area will generate a synchronized weather atmosphere, avoiding the independent operation of user terminals that meet the above conditions and increasing the operation cost.
[0039] Please refer to Figure 3 , a terminal 1, including a memory 2, a processor 3, and a computer program stored on the memory 2 and executable on the processor. When the processor 3 executes the computer program, it completes the steps in the method of introducing local weather features in the game.
[0040] As can be seen from the above description, provide an execution carrier for the above method. When executing the above method, obtain the daily weather information of the area where the user terminal is located through the location information, screen out the main weather conditions of the day and match them with the weather resources in the game resource library, generate a weather atmosphere that has no interaction relationship with the user based on the weather resources, and adjust the game attributes that have an interaction relationship with the user. Combine the game data with the local weather features to adjust the game presentation effect of the user terminal, deepen the user's immersion in the game process, and improve the game experience.
[0041] The method and terminal for introducing local weather features in the game of the present invention mainly generate corresponding features in the game by matching the weather conditions at the location of the user terminal. The following is a specific description in conjunction with embodiments:
[0042] Please refer to Figure 1 and Figure 2 , Embodiment 1 of the present invention is as follows:
[0043] A method for introducing local weather features in a game, comprising the steps of:
[0044] S1. Obtain the location information of the user terminal, and obtain the weather information of the corresponding area on the current day according to the location information of the user terminal;
[0045] S2. Screen out the main weather conditions on the current day and match them with the corresponding weather resources and configuration relationships in the game resource library;
[0046] S3. Use the weather resources to generate the corresponding weather atmosphere in the game scene of the user terminal and adjust the game attributes with interactive characteristics of the user terminal according to the configuration relationship.
[0047] That is, in this embodiment, the weather information of the area where the user terminal is located on the current day is obtained through the location information, and the main weather conditions on the current day are screened out and matched with the weather resources in the game resource library. Based on the weather resources, a weather atmosphere that has no interaction relationship with the user is generated, and the game attributes that have an interaction relationship with the user are adjusted. The game presentation effect of the user terminal is adjusted by combining game data and local weather features, deepening the immersion of the user during the game process and enhancing the game experience.
[0048] Specifically, the weather atmosphere includes at least one of the following: scene brightness, scene sound effects, scene type, and detail effects.
[0049] That is, in order to enhance the creation of the weather atmosphere in the game scene of the user terminal, the presentation method of the weather atmosphere is refined in this example, including scene brightness, scene type, and detail effects, which are specifically implemented through preset art resources. Examples are as follows:
[0050] 1) On a rainy day, there are corresponding art resources related to rain. It involves detail effects such as raindrops, water splashes, ripples, lightning, etc., as well as the effects of rain on the ground surface, buildings, and objects, such as wetness, water accumulation, and reflection, making the rainy day have different styles and atmospheres.
[0051] 2) On a snowy day, there are corresponding art resources related to snow. It involves detail effects such as the shape, size, density, speed, and direction of snowflakes, as well as the effects of snowflakes on light, shadow, transparency, etc. At the same time, it changes with the weather conditions (such as sleet, blizzard, snow stop, etc.), making the snow have different styles and atmospheres.
[0052] 3) In the hot summer, a light source with corresponding high brightness and saturation makes the scene look brighter and hotter.
[0053] Please refer to Figure 1 and Figure 2 , and the second embodiment of the present invention is as follows:
[0054] Based on the first embodiment, specifically adjusting the game attributes of the client according to the configuration relationship is as follows:
[0055] Adjusting the attributes of the game characters on the client according to the configuration relationship and generating corresponding descriptions;
[0056] That is, adjusting the attributes of the game characters based on the configuration relationship (matching the local main weather condition). For example, in an MMO game, adjusting the values of the attack, defense, vision, or movement speed of the game characters on the client, adjusting the task rewards in the game, and giving user prompts;
[0057] Generating triggerable events in the game scene of the client according to the configuration relationship.
[0058] That is, generating corresponding triggerable events based on the configuration relationship. Specifically, the triggerable events include at least one of the following: hidden tasks, hidden NPCs, and hidden items. For example, in an MMO game, special game items such as fungi will grow in some meadow areas in the rain environment;
[0059] Adjusting the game attributes with interaction relationships in the client game through the configuration relationship matching the local weather, increasing the user's immersion.
[0060] Please refer to Figure 1 and Figure 2 , and the third embodiment of the present invention is as follows:
[0061] Based on the first embodiment, after step S3, step S4 is further included:
[0062] Detecting the location information of different clients. If the location information between the clients is in the same area, a synchronized weather atmosphere is generated in the game scenes of the clients in the same area.
[0063] That is, in order to increase the correlation between different clients and improve the user experience, a synchronized weather atmosphere is generated in different clients in the same area; preferably, user authorization is required before introducing weather features into the game. For example, providing an option on the client whether to enable the LBS (Location-Based Service) function. If the user agrees to enable it, the corresponding resource package in the game resource library is downloaded. If the clients with the LBS function enabled are in the same area, a synchronized weather atmosphere is generated, avoiding the independent operation of the clients that meet the above conditions and increasing the operation cost.
[0064] Preferably, in order to protect user privacy, the user needs to grant authorization before enabling the LBS service, and the preset period is to access once a month.
[0065] Please refer to Figure 3 , the fourth embodiment of the present invention is:
[0066] A terminal 1 includes a memory 2, a processor 3, and a computer program stored on the memory 2 and executable on the processor 3. When the processor 3 executes the computer program, it completes the steps in the method of introducing local weather features in any one of the games in Embodiments 1 to 3.
[0067] In summary, the method of introducing local weather features in a game provided by the present invention obtains the daily weather information of the area where the user terminal is located through location information, screens out the main weather conditions of the day and matches them with the weather resources in the game resource library, generates a weather atmosphere that has no interaction relationship with the user based on the weather resources, and adjusts the game attributes that have an interaction relationship with the user. By combining game data with local weather features, the game presentation effect of the user terminal is adjusted to deepen the user's immersion in the game process and enhance the game experience.
[0068] The above are only the embodiments of the present invention, and thus do not limit the patent scope of the present invention. Any equivalent transformation made using the content of the specification and drawings of the present invention, or directly or indirectly applied in the related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A method for introducing local weather features into a game, characterized in that: Including the steps: S1. Obtain the location information of the user terminal, and obtain the weather information of the corresponding area on the same day according to the location information of the user terminal; S2. Screen out the main weather conditions on the same day and match them with the corresponding weather resources and configuration relationships in the game resource library; S3. Use the weather resources to generate the corresponding weather atmosphere in the game scene of the user terminal and adjust the game attributes with interactive characteristics of the user terminal according to the configuration relationship.
2. The method for introducing local weather features in a game according to claim 1, wherein: Adjusting the game attributes of the user terminal according to the configuration relationship specifically includes: Adjusting the attributes of the game characters of the user terminal according to the configuration relationship and generating corresponding descriptions; Generating triggerable events in the game scene of the user terminal according to the configuration relationship.
3. The method for introducing local weather features in a game according to claim 2, wherein: The triggerable events include at least one of the following: hidden tasks, hidden NPCs, and hidden items.
4. A method for introducing local weather features in a game according to claim 1, characterized in that: The weather atmosphere includes at least one of the following: scene brightness, scene sound effects, scene type, and detail effects.
5. A method for introducing local weather features in a game according to claim 1, characterized in that: After the step S3, there is also a step S4: Detect the location information of different user terminals. If the location information between the user terminals is in the same area, generate the synchronized weather atmosphere in the game scenes of the user terminals in the same area.
6. A terminal, characterized in that: Including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are completed: S1. Obtain the location information of the user terminal, and obtain the weather information of the corresponding area on the same day according to the location information of the user terminal; S2. Screen out the main weather conditions on the same day and match them with the corresponding weather resources and configuration relationships in the game resource library; S3. Use the weather resources to generate the corresponding weather atmosphere in the game scene of the user terminal and adjust the game attributes with interactive characteristics of the user terminal according to the configuration relationship.
7. The terminal according to claim 6, characterized in that: Adjusting the game attributes of the user terminal according to the configuration relationship specifically includes: Adjusting the attributes of the game characters of the user terminal according to the configuration relationship and generating corresponding descriptions; Generating triggerable events in the game scene of the user terminal according to the configuration relationship.
8. The terminal according to claim 7, wherein: The triggerable events include at least one of the following: hidden tasks, hidden NPCs, and hidden items.
9. The terminal according to claim 6, characterized in that: The weather atmosphere includes at least one of the following: scene brightness, scene type, and detail effects.
10. A terminal according to claim 6, characterized in that: After the step S3, there is also a step S4: Detect the location information of different user terminals. If the location information between the user terminals is in the same area, generate the synchronized weather atmosphere in the game scenes of the user terminals in the same area.