CN114712853A - Game map loading and displaying method, device, equipment and storage medium - Google Patents

Game map loading and displaying method, device, equipment and storage medium Download PDF

Info

Publication number
CN114712853A
CN114712853A CN202210339626.XA CN202210339626A CN114712853A CN 114712853 A CN114712853 A CN 114712853A CN 202210339626 A CN202210339626 A CN 202210339626A CN 114712853 A CN114712853 A CN 114712853A
Authority
CN
China
Prior art keywords
resource data
model resource
target
map
loading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210339626.XA
Other languages
Chinese (zh)
Inventor
徐波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGDONG LIWEI NETWORK TECHNOLOGY CO LTD
Duoyi Network Co ltd
Original Assignee
GUANGDONG LIWEI NETWORK TECHNOLOGY CO LTD
Duoyi Network Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGDONG LIWEI NETWORK TECHNOLOGY CO LTD, Duoyi Network Co ltd filed Critical GUANGDONG LIWEI NETWORK TECHNOLOGY CO LTD
Priority to CN202210339626.XA priority Critical patent/CN114712853A/en
Publication of CN114712853A publication Critical patent/CN114712853A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/69Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by enabling or updating specific game elements, e.g. unlocking hidden features, items, levels or versions
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the technical field of games, in particular to a method for loading and displaying a game map, which comprises the following steps: acquiring target game roles and target map data, wherein the map data comprises earth surface resource data and model resource data; rendering in a preset player display interface according to the earth surface resource data, acquiring a scene map corresponding to the target map data, and loading the target game role into the scene map; according to the priority of the preset target game role relative to the model resource data, the model resource data are input into a preset scene generation channel according to the priority, the model resource data are rendered, a scene model corresponding to the model resource data is obtained, and the scene model is loaded into a scene map. The ordered loading of the model resource data is realized, the loading speed is improved, and the player can operate the game role before the model resource data is loaded, so that the game experience of the player is improved.

Description

Game map loading and displaying method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of games, in particular to a method, a device, equipment and a storage medium for loading and displaying a game map.
Background
With the rapid development of computer technology, computers and the internet provide convenience for people's life, work and entertainment. The game enriches the daily life of people, and people pay attention to the game experience when playing games.
In the field of games, games usually include game maps, and in the running process of games, model resources are loaded into the game maps by game programs, and due to play setting or artistic picture consideration, the quality requirements of people on games are higher and higher, and the larger the game map is, the more abundant the resources are.
However, in the conventional game map loading technology, in the process of loading the model resource of the game map, a game program needs to read the corresponding model resource from the hard disk into the memory through the interface, and meanwhile, the loading of a large amount of model resources generates interface request contention, so that the conventional game map loading technology is used, and under the same hardware condition, the time for a player to load the map is longer and longer, and the game experience is influenced.
Disclosure of Invention
Based on this, an object of the present invention is to provide a method, an apparatus, a device, and a storage medium for loading and displaying a game map, in which earth surface resource data, game characters, and model resource data of the map are separately loaded, and according to a preset priority level associated with the model resource data and a preset target game character, the model resource data are sequentially loaded, so that a loading speed is increased, a map loading time is reduced, a player can perform a game character operation before the model resource data is loaded, man-machine interaction efficiency is increased, and game experience of the player is improved. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for loading and displaying a game map, including the following steps:
acquiring target game roles and target map data, wherein the target map data comprises earth surface resource data and model resource data;
rendering in a preset player display interface according to the earth surface resource data, acquiring a scene map corresponding to the target map data, and loading the target game role into the scene map;
according to the preset priority of the target game role associated with the model resource data, inputting the model resource data into a preset scene generation channel, rendering the model resource data, acquiring a scene model corresponding to the model resource data, and loading the scene model into the scene map.
In a second aspect, an embodiment of the present application provides a device for loading and displaying a game map, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring target game roles and target map data, and the target map data comprises earth surface resource data and model resource data;
the first loading module is used for rendering in a preset player display interface according to the earth surface resource data, acquiring a scene map corresponding to the target map data, and loading the target game role into the scene map;
and the second loading module is used for inputting the model resource data into a preset scene generation channel according to the preset priority of the target game role associated with the model resource data, rendering the model resource data, acquiring a scene model corresponding to the model resource data, and loading the scene model into the scene map.
In a third aspect, an embodiment of the present application provides a computer device, including: a processor, a memory, and a computer program stored on the memory and executable on the processor; the computer program, when executed by the processor, implements the steps of the method for loading and displaying a game map according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a storage medium, where the storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for loading and displaying a game map according to the first aspect.
In the embodiment, the earth surface resource data, the game role and the model resource data of the map are loaded separately, and according to the preset priority level associated with the target game role and the model resource data and the priority level, the model resource data are loaded orderly, so that the loading speed is increased, the map loading time is shortened, a player can operate the game role before the model resource data are loaded, the human-computer interaction efficiency is improved, and the game experience of the player is improved.
For a better understanding and practice, the invention is described in detail below with reference to the accompanying drawings.
Drawings
Fig. 1 is a schematic flowchart of a method for loading and displaying a game map according to an embodiment of the present application;
fig. 2 is a schematic flowchart of S3 in the method for loading and displaying a game map according to an embodiment of the present application;
fig. 3 is a schematic flowchart of S301 in a method for loading and displaying a game map according to an embodiment of the present application;
fig. 4 is a schematic flowchart of S303 in a method for loading and displaying a game map according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a method for loading and displaying a game map according to another embodiment of the present application;
FIG. 6 is a schematic structural diagram of a loading and displaying device of a game map according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if/if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for loading and displaying a game map according to an embodiment of the present application, where the method includes the following steps:
s1: and acquiring target game roles and target map data, wherein the target map data comprises earth surface resource data and model resource data.
The main execution body of the method for loading and displaying the game map is loading equipment (hereinafter referred to as loading equipment for short) based on the method for loading and displaying the game map, and in an optional embodiment, the loading equipment can be a computer entertainment machine, a personal computer or mobile terminal equipment; the personal computer comprises a desktop computer, a notebook computer and the like, and the mobile terminal equipment comprises a mobile phone, a tablet computer and the like.
The game may be any game, the game includes one or more game maps, the target map data may be map data pre-stored in the loading device, each game map corresponds to corresponding surface resource data and model resource data, and the surface resource data includes shape data, color data, texture data, and the like of the surface.
The model resource data includes symbolic model resource data, functional model resource data, and normative model resource data. The symbolic model resource data is a model specific to the map, is used for distinguishing features of the map from other maps, and corresponds to style features of the map, for example, the symbolic model resource data may include a building model, a tree model, and the like specific to the map.
The functional model resource data may be a model that can interact with the target game character, and may be a non-player-controlled character that is set for game progress, wherein the non-player-controlled character includes a base character and a non-base character, the base character is a non-player-controlled character having only a session function, and the non-base character is a non-player-controlled character having functions such as transaction, map transfer, and task hand-over.
The resource data of the conventional model are basic models for constructing the game maps and are models shared by a plurality of game maps, wherein the resource data of the conventional model comprise resource data of a plurality of different types of conventional models, such as building models, tree models, grass models and the like.
In this embodiment, the player may log in a game character, or may trigger generation of a game map loading instruction by performing an operation such as converting a game map, and the loading device acquires the target game character and the target map data in response to the game map loading instruction.
S2: and according to the earth surface resource data, rendering in a preset player display interface, acquiring a scene map corresponding to the target map data, and loading the target game role into the scene map.
In this embodiment, the loading device performs rendering processing in a preset player display interface according to the surface resource data corresponding to the target map data, acquires a scene map corresponding to the target map data, and loads the target game character into the scene map, so as to allow the player to enter the scene map in advance, thereby reducing waiting time of the player, allowing the player to perform game operation on the target game character, and improving game experience of the player.
S3: according to the preset priority of the target game role associated with the model resource data, inputting the model resource data into a preset scene generation channel, rendering the model resource data, acquiring a scene model corresponding to the model resource data, and loading the scene model into the scene map.
And the loading equipment establishes the priority of the target game role relative to the model resource data according to the target game role, wherein the priority comprises a first priority, a second priority and a third priority, and the priority degree is from high to low.
And integrating the model resource data corresponding to the first priority, the second priority and the third priority respectively according to the preset priorities of the target game role and the model resource data, and acquiring the integrated first priority model resource group, second priority model resource group and third priority model resource group.
In this embodiment, the loading device sorts, from large to small, each model resource data in the model resource groups according to the size of the priority flag value corresponding to each model resource data in the model resource groups, obtains the sorted first priority model resource group, second priority model resource group, and third priority model resource group, inputs the model resource groups into the scene model generation channel according to the priority order of the priorities and according to the priority flag value of each model resource data in the model resource groups, performs rendering processing on the model resource data with a high priority flag value in the model resource groups, obtains a scene model corresponding to the model resource data, and loads the scene model into the scene map. The resource elements in the visual field of the player can be gradually enriched, so that the game experience of the player is ensured.
Referring to fig. 2, fig. 2 is a schematic flow chart of S3 in the method for loading and displaying a game map according to an embodiment of the present application, which includes steps S301 to S303, and specifically includes the following steps:
s301: and setting the priority of the symbolic model resource data and the priority of the functional model resource data as a first priority.
In order to improve the recognition degree of the game map and enable a player to play during the loading process of the game map, in this embodiment, the loading device sets the priority of the symbolic model resource data and the priority of the functional model resource data to be a first priority, so as to preferentially load the symbolic model resource data and the functional model resource data, thereby improving the game experience of the player.
S302: and acquiring target conventional model resource data from the conventional model resource data according to the number of the conventional model resource data of each type and a preset second priority number, and setting the priority of the target conventional model resource data as a second priority.
Since the conventional model resource data includes a large amount of model resource data, in this embodiment, the loading device obtains the number of the conventional model resource data of each type, arranges the conventional model resource data of each type according to the number, and obtains a plurality of types of conventional model resource data with a large number from the conventional model resource data according to a preset second priority number, the number of the conventional model resource data does not exceed the second priority number, the conventional model resource data is used as target conventional model resource data, the priority of the target conventional model resource data is set as the second priority, the model resources of the scene map are quickly filled, and the visual experience of a player is improved.
S303: and acquiring non-target conventional model resource data in the conventional model resource data, and setting the priority of the non-target conventional model resource data as a third priority.
In this embodiment, the loading device obtains non-target conventional model resource data in the conventional model resource data, and sets the priority of the non-target conventional model resource data to be a third priority to complete loading of the game map.
In this embodiment, the loading device obtains the distance between each type of non-target conventional model resource and the target game role, arranges the non-target conventional model resource data of each type according to the distance, and sets the priority of the non-target conventional model resource data as the third priority.
Referring to fig. 3, fig. 3 is a schematic flow chart of S301 in a method for loading and displaying a game map according to an embodiment of the present application, including steps S3011 to S3012, which are as follows:
s3011: and acquiring symbolic model resource data corresponding to the target map and event attributes of the target game role.
The event attribute is a current game progress of the target game character, and specifically may be a current level and a current task progress of the target game character, and the task progress is a completed task and an ongoing task of the target game character.
In order to improve the immersion and the interest of the game, the content of the game map is modified according to the event attribute of the target game character, namely the current game progress of the game character operated by the player, and the content on the corresponding game map is different according to different game progresses.
In this embodiment, the loading device: and acquiring symbolic model resource data corresponding to the target map and event attributes of the target game role, and generating a scene model corresponding to the symbolic model resource data and the functional model resource data which are consistent with the event attributes of the target map and the target game role.
S3012: and respectively acquiring target symbolic model resource data and target functional model resource data from the symbolic model resource data and the functional model resource data according to the symbolic model resource data corresponding to the target map and the event attribute of the target game role, and setting the priority flag value of each target symbolic model resource data and target functional model resource data according to a preset priority flag value.
The game can change the model resource data of the map according to the current game progress of the game role of the user so as to improve the game immersion of the user and improve the game experience of the user.
In this embodiment, in order to quickly complete the loading of the map, the loading device analyzes the current game progress of the target game role according to the symbolic model resource data corresponding to the target map and the event attribute of the target game role, acquires the symbolic model resource data corresponding to the current game progress from the symbolic model resource data as the target symbolic model resource data, acquires the functional model resource data corresponding to the current game progress from the functional model resource data as the target functional model resource data, and sets the priority flag value of each of the target symbolic model resource data and the target functional model resource data according to the preset priority flag value to complete the setting of the priority of the symbolic model resource data and the functional model resource data, specifically, when the target map corresponding to the current game progress of the target game role conforms to a first map scene, that is, model resource data of the target map does not need to be replaced, the loading device acquires target symbolic model resource data and target functional model resource data according to symbolic model resource data corresponding to the first map scene of the target map;
and when the target map corresponding to the current game progress of the target game role conforms to the second map scene, namely the model resource data of the target map needs to be replaced, the loading equipment acquires the target symbolic model resource data and the target functional model resource data according to the symbolic model resource data corresponding to the second map scene of the target map.
Therefore, the symbolic model resource data which are consistent with the event attributes of the target game roles and the scene model corresponding to the functional model resource data can be directly generated, repeated processing on the model resource data is avoided, and the map loading efficiency is improved.
Referring to fig. 4, fig. 4 is a schematic flow chart of S303 in the method for loading and displaying a game map according to an embodiment of the present application, including steps S3031 to S3032, which are as follows:
s3031: and acquiring coordinate position data of the target game role in the scene map and coordinate position data of the preloading position of each non-target conventional model resource data in the scene map.
In this embodiment, the loading device obtains coordinate position data of the target game character in the scene map and coordinate position data of each non-target conventional model resource data in a pre-loading position of the scene map. Wherein the coordinate position data of the target game character in the scene map may be coordinate position data of the target game character when the target game character is loaded on the scene map, or may be real-time coordinate position data on the scene map when the player operates the target game character,
s3032: setting the priority flag value of each non-target conventional model resource data according to the coordinate position data of the target game role in the scene map and the coordinate position data of each non-target conventional model resource data in the preloading position of the scene map.
In this embodiment, the loading device calculates a distance between the target game character and each non-target conventional model resource data at the preloaded position of the scene map according to the coordinate position data of the target game character in the scene map and the coordinate position data of each non-target conventional model resource data at the preloaded position of the scene map, and sets the priority flag value of each non-target conventional model resource data according to a criterion that the distance is smaller and the priority flag value is larger, thereby completing setting the priority of the non-target conventional model resource data. In the loading process of the game map, the visual experience of the player in waiting is added, and the game experience of the player is improved as much as possible.
Referring to fig. 5, fig. 5 is a schematic flow chart of a method for loading and displaying a game map according to another embodiment of the present application, further including step S4, which is specifically as follows:
s4: and if the target game role is detected to exit the scene map, resetting the priority level associated with the model resource data, and deleting the model resource data in the scene generation channel.
In this embodiment, in the process of loading the game map, a player may control the target game character to perform map transmission, game character switching, and the like to exit the scene map, and if it is detected that the target game character exits the scene map, the loading device resets the priority associated with the model resource data, avoids generating a scene model that does not correspond to the target game character, deletes the model resource data in the scene generation channel, avoids occupying the scene generation channel, and improves the efficiency of loading the map.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a loading and displaying device of a game map according to an embodiment of the present application, where the loading and displaying device of the game map can be implemented by software, hardware or a combination of the two, and the device 6 includes:
an obtaining module 61, configured to obtain a target game role and target map data, where the target map data includes surface resource data and model resource data;
a first loading module 62, configured to perform rendering processing in a preset player display interface according to the surface resource data, obtain a scene map corresponding to the target map data, and load the target game character into the scene map;
and a second loading module 63, configured to input the model resource data into a preset scene generation channel according to a preset priority level associated with the model resource data and the target game role, perform rendering processing on the model resource data, obtain a scene model corresponding to the model resource data, and load the scene model into the scene map.
In the embodiment, a target game role and target map data are obtained through an obtaining module, wherein the target map data comprise surface resource data and model resource data; rendering in a preset player display interface according to the earth surface resource data through a first loading module to obtain a scene map corresponding to the target map data, and loading the target game role into the scene map; inputting the model resource data into a preset scene generation channel through a second loading module according to the preset priority of the target game role associated with the model resource data, rendering the model resource data, acquiring a scene model corresponding to the model resource data, and loading the scene model into the scene map. The earth surface resource data, the game roles and the model resource data of the map are loaded separately, and according to the preset priority of the target game role associated with the model resource data and the priority, the model resource data are loaded orderly, so that the loading speed is increased, the map loading time is shortened, the game roles can be operated by a player before the model resource data are loaded, the man-machine interaction efficiency is improved, and the game experience of the player is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application, where the computer device 7 includes: a processor 71, a memory 72, and a computer program 73 stored on the memory 72 and operable on the processor 71; the computer device may store a plurality of instructions, where the instructions are suitable for being loaded by the processor 71 and executing the method steps in the embodiments shown in fig. 1 to 5, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to 5, which are not described herein again.
Processor 71 may include one or more processing cores, among others. The processor 71 is connected to various parts in the server by various interfaces and lines, and executes or executes instructions, programs, code sets or instruction sets stored in the memory 72, and calls data in the memory 72, the loading of the game map, various functions of the display device 6 and Processing data, and optionally, the processor 71 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), Programmable Logic Array (PLA). The processor 71 may integrate one or a combination of a Central Processing Unit (CPU) 71, a Graphics Processing Unit (GPU) 71, a modem, and the like. The CPU mainly processes an operating system, a player interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the touch display screen; the modem is used to handle wireless communications. It is understood that the modem may be implemented by a single chip without being integrated into the processor 71.
The Memory 72 may include a Random Access Memory (RAM) 72 or a Read-Only Memory (Read-Only Memory) 72. Optionally, the memory 72 includes a non-transitory computer-readable medium. The memory 72 may be used to store instructions, programs, code sets, or instruction sets. The memory 72 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 72 may alternatively be at least one memory device located remotely from the processor 71.
An embodiment of the present application further provides a storage medium, where the storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 1 to 5, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to 5, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc.
The present invention is not limited to the above-described embodiments, and various modifications and variations of the present invention are intended to be included within the scope of the claims and the equivalent technology of the present invention if they do not depart from the spirit and scope of the present invention.

Claims (9)

1. A game map loading and displaying method is characterized by comprising the following steps:
acquiring target game roles and target map data, wherein the target map data comprises earth surface resource data and model resource data;
rendering in a preset player display interface according to the earth surface resource data, acquiring a scene map corresponding to the target map data, and loading the target game role into the scene map;
inputting the model resource data into a preset scene generation channel according to the preset priority of the target game role associated with the model resource data, rendering the model resource data, acquiring a scene model corresponding to the model resource data, and loading the scene model into the scene map.
2. The method for loading and displaying the game map according to claim 1, wherein: the model resource data comprises symbolic model resource data, functional model resource data and normative model resource data, wherein the normative model resource data comprises a plurality of different types of normative model resource data.
3. The method for loading and displaying the game map according to claim 2, wherein the step of inputting the model resource data into a preset scene generation channel according to the preset priority of the target game character associated with the model resource data comprises the steps of:
setting the priority of the symbolic model resource data and the priority of the functional model resource data as a first priority;
acquiring target conventional model resource data from the conventional model resource data according to the number of the conventional model resource data of each type and a preset second priority number, and setting the priority of the target conventional model resource data as a second priority;
and acquiring non-target conventional model resource data in the conventional model resource data, and setting the priority of the non-target conventional model resource data as a third priority.
4. The method for loading and displaying game map according to claim 3, wherein the setting of the priority of the symbolic model resource data and the functional model resource data to a first priority comprises the steps of:
acquiring corresponding symbolic model resource data of the target map and event attributes of a target game role, wherein the event attributes are the current game progress of the target game role;
and respectively acquiring target symbolic model resource data and target functional model resource data from the symbolic model resource data and the functional model resource data according to the corresponding symbolic model resource data of the target map and the event attribute of the target game role, and setting the priority flag value of each target symbolic model resource data and target functional model resource data according to a preset priority flag value.
5. The method for loading and displaying the game map according to claim 3, wherein the step of setting the priority of the non-target conventional model resource data to a third priority comprises the steps of:
acquiring coordinate position data of the target game role in the scene map and coordinate position data of the preloading position of each non-target conventional model resource data in the scene map;
setting the priority flag value of each non-target conventional model resource data according to the coordinate position data of the target game role in the scene map and the coordinate position data of each non-target conventional model resource data in the preloading position of the scene map.
6. The method for loading and displaying the game map according to claim 1, further comprising the steps of:
and if the target game role is detected to exit the scene map, resetting the priority level associated with the model resource data, and deleting the model resource data in the scene generation channel.
7. A loading and displaying device for game maps is characterized by comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring target game roles and target map data, and the target map data comprises earth surface resource data and model resource data;
the first loading module is used for rendering in a preset player display interface according to the earth surface resource data, acquiring a scene map corresponding to the target map data, and loading the target game role into the scene map;
and the second loading module is used for inputting the model resource data into a preset scene generation channel according to the preset priority of the target game role associated with the model resource data, rendering the model resource data, acquiring a scene model corresponding to the model resource data, and loading the scene model into the scene map.
8. A computer device, comprising: a processor, a memory, and a computer program stored on the memory and executable on the processor; the computer program, when executed by the processor, implements the steps of a method of loading, displaying a game map as claimed in any one of claims 1 to 6.
9. A storage medium, characterized by: the storage medium stores a computer program which, when executed by a processor, implements the steps of the method of loading, displaying a game map according to any one of claims 1 to 6.
CN202210339626.XA 2022-04-01 2022-04-01 Game map loading and displaying method, device, equipment and storage medium Pending CN114712853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210339626.XA CN114712853A (en) 2022-04-01 2022-04-01 Game map loading and displaying method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210339626.XA CN114712853A (en) 2022-04-01 2022-04-01 Game map loading and displaying method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114712853A true CN114712853A (en) 2022-07-08

Family

ID=82242086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210339626.XA Pending CN114712853A (en) 2022-04-01 2022-04-01 Game map loading and displaying method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114712853A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116271830A (en) * 2023-02-09 2023-06-23 广州延利网络科技有限公司 Behavior control method, device, equipment and storage medium for virtual game object

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116271830A (en) * 2023-02-09 2023-06-23 广州延利网络科技有限公司 Behavior control method, device, equipment and storage medium for virtual game object
CN116271830B (en) * 2023-02-09 2023-12-05 广州延利网络科技有限公司 Behavior control method, device, equipment and storage medium for virtual game object

Similar Documents

Publication Publication Date Title
CN112102437B (en) Canvas-based radar map generation method and device, storage medium and terminal
CN110750664B (en) Picture display method and device
CN113952720A (en) Game scene rendering method and device, electronic equipment and storage medium
US20230405452A1 (en) Method for controlling game display, non-transitory computer-readable storage medium and electronic device
CN109102560A (en) Threedimensional model rendering method and device
CN105144243A (en) Data visualization
US20060139358A1 (en) 3D graphic engine and method of providing graphics in mobile communication terminal
CN113268303A (en) Interface element configuration method and device, storage medium and electronic equipment
CN111135579A (en) Game software interaction method and device, terminal equipment and storage medium
CN110738720A (en) Special effect rendering method and device, terminal and storage medium
CN115063518A (en) Track rendering method and device, electronic equipment and storage medium
CN114187405A (en) Method, apparatus, device, medium and product for determining an avatar
CN114712853A (en) Game map loading and displaying method, device, equipment and storage medium
JP5899364B1 (en) PROGRAM, ELECTRONIC DEVICE, SYSTEM, AND METHOD FOR DETERMINING RESOURCE ALLOCATION FOR PREDICTING AND Rendering Player Intent
US20240091643A1 (en) Method and apparatus for controlling virtual objects in game, and electronic device and storage medium
CN113938513A (en) Interaction method, device and equipment based on virtual game object
CN114742970A (en) Processing method of virtual three-dimensional model, nonvolatile storage medium and electronic device
CN100435096C (en) Image processing method based on C language micro operation system
CN113144606A (en) Skill triggering method of virtual object and related equipment
CN113952726A (en) Behavior control method, device, equipment and storage medium of virtual game object
CN107050851B (en) Sound enhancement method and system for game content effect
CN106331834B (en) Multimedia data processing method and equipment thereof
CN116271830B (en) Behavior control method, device, equipment and storage medium for virtual game object
CN114816629B (en) Method and device for drawing display object, storage medium and electronic device
WO2023226569A1 (en) Message processing method and apparatus in virtual scenario, and electronic device, computer-readable storage medium and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination