CN108568112A - A kind of generation method of scene of game, device and electronic equipment - Google Patents

A kind of generation method of scene of game, device and electronic equipment Download PDF

Info

Publication number
CN108568112A
CN108568112A CN201810362092.6A CN201810362092A CN108568112A CN 108568112 A CN108568112 A CN 108568112A CN 201810362092 A CN201810362092 A CN 201810362092A CN 108568112 A CN108568112 A CN 108568112A
Authority
CN
China
Prior art keywords
game
scene
instruction
interface
map
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
CN201810362092.6A
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810362092.6A priority Critical patent/CN108568112A/en
Publication of CN108568112A publication Critical patent/CN108568112A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/63Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by the player, e.g. authoring using a level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/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

Abstract

An embodiment of the present invention provides a kind of generation method of scene of game, device and electronic equipment, the method includes:Receive the first instruction for generating scene of game;For first instruction, display base map datum;The second instruction of selection scene of game is received, second instruction is generated according to the selection operation for acting on the basic map data received;For second instruction, target map data corresponding with the basic map data is obtained;The target map data is loaded in interface, generates the scene of game.The present embodiment passes through display base map datum first, and obtain target map data corresponding with above-mentioned basic map data by other applications, user is allow to generate different scene of game according to actual needs, obtain the game experiencing of a variety of styles, the interest for increasing game solves the problems, such as that the scene of game stored in game data packet in the prior art is less.

Description

A kind of generation method of scene of game, device and electronic equipment
Technical field
The present invention relates to game technical fields, more particularly to a kind of generation method of scene of game, a kind of scene of game Generating means and a kind of electronic equipment.
Background technology
The one kind of racing game as race games, have unique racing car equipment, high-quality match picture true to nature and The audio of emulation, the heat for receiving game players are held in both hands.
In order to promote the game experiencing of players, in existing racing game, mould of the scene of game to true environment It is quasi- also more and more true to nature.In general, game developer can store several typical racing tracks in gaming, to allow player can be More scenes and different road conditions environment are experienced in limited racing track.As shown in Figure 1, being a kind of racing track in the prior art The schematic diagram of figure selection interface can provide a plurality of racing track in the interface and be selected for player.Player, can be with before playing By selecting a racing track therein to play.For each racing track, game developer can also be different by increasing Road or road conditions environment, and true picture effect is simulated to improve the fidelity of game, promote the game experiencing of user.Such as It is a kind of schematic diagram with the racing track road conditions environment compared with high emulation in the prior art shown in Fig. 2.
Players need the game data packet for installing a certain size before being played.If data packet is excessive, will lead The operation of game station is caused to have some setbacks;If data packet is too small, and can influence the whole image quality of game.Therefore, it is limited to play The size of data packet is swum by storing several typical racing tracks in gaming and increasing the modes such as different road conditions environment to improve The fidelity of play still has certain limitation.For example, game developer can not storing excess in gaming racing track, player Can only play in limited racing track.With the increase of player's proficiency, the interest in game play to the racing track will be reduced. Moreover, although existing game racing track visually very close to true road, but still with the road environment in reality It falls far short, player can not experience road environment or road conditions in reality in the racing track of simulation.If unlimitedly simulated Road environment in reality can further increase the size of game data packet again in turn.When game data packet is more than certain big It is small, such as when more than 500M, not only the running and comparing of equipment is painstaking in game by player, but also the damage to equipment is also larger.
Invention content
In view of the above problems, it is proposed that the embodiment of the present invention overcoming the above problem or at least partly in order to provide one kind A kind of generation method of the scene of game to solve the above problems, a kind of generating means of scene of game and a kind of corresponding electronics are set It is standby.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of generation methods of scene of game, including:
Receive the first instruction for generating scene of game;
For first instruction, display base map datum;
The second instruction of selection scene of game is received, second instruction acts on the basic map according to what is received The selection operation of data and generate;
For second instruction, target map data corresponding with the basic map data is obtained;
The target map data is loaded in interface, generates the scene of game.
Optionally, described the step of receiving the first instruction for generating scene of game, includes:
Show preset scene of game selection interface, the scene of game selection interface includes self-defined scene selection control Part;
Receive the first instruction of the selected self-defined scene selection control.
Optionally, described to be instructed for described first, the step of display base map datum, includes:
For first instruction, the basic map data embedded in going game is obtained, and shown in interface The basic map data;Alternatively,
For first instruction, the api interface of invocation map class application program obtains basis by the api interface Map datum simultaneously shows the basic map data in interface.
Optionally, the described the step of basic map data is shown in interface, includes:
The map interface in preset range around current location is shown in interface.
Optionally, described to be instructed for described second, obtain target map number corresponding with the basic map data According to the step of include:
For second instruction, the location information of scene of game to be generated is determined in the map interface, it is described Location information includes start position and final position;
According to the start position and final position, target road is generated;
Obtain the road data of the target road.
Optionally, described according to the start position and final position, the step of generating target road, includes:
According to the start position and final position, a plurality of road to be selected is generated;
The selected target road from a plurality of road to be selected.
Optionally, the step of road data for obtaining the target road includes:
By the api interface of the map class application program, institute is obtained from the server of the map class application program State the road data of target road.
Optionally, described the step of loading the target map data in interface, generating the scene of game, wraps It includes:
The road data is imported and plays and is shown in interface;
Corresponding game item is loaded in the interface, generates scene of game.
Optionally, the map class application program includes multiple, described to be instructed for described first, invocation map class application The step of api interface of program includes:
Show the icon of multiple map class application programs respectively;
When receiving the instruction for the icon for clicking any map class application program, the corresponding map class of the icon is called The api interface of application program.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of generating means of scene of game, including:
First command reception module, for receiving the first instruction for generating scene of game;
Basic map data display module, for being instructed for described first, display base map datum;
Second command reception module, the second instruction for receiving selection scene of game, second instruction is according to reception To the selection operation for acting on the basic map data and generate;
Target map data acquisition module obtains opposite with the basic map data for being instructed for described second The target map data answered;
Scene of game generation module generates the sports ground for loading the target map data in interface Scape.
To solve the above-mentioned problems, it the embodiment of the invention discloses a kind of electronic equipment, including processor, memory and deposits Storage is on the memory and is configured the computer program run on the processor, and the computer program is by the place Manage the step of realizing the generation method such as above-mentioned scene of game when device executes.
Compared with the background art, the embodiment of the present invention includes following advantages:
The embodiment of the present invention, user can send out the first instruction of self-defined scene of game when playing to system, System, can be with display base map datum, to receive the of selection scene of game after receiving above-mentioned first instruction After two instructions, for the second instruction, target map data corresponding with basic map data is obtained, and right in interface Above-mentioned target map data is loaded, to generate customized scene of game.The present embodiment is by display base first Diagram data, and obtain target map data corresponding with above-mentioned basic map data by other applications so that user Different scene of game can be generated according to actual needs, obtains the game experiencing of a variety of styles, increase the interest of game, Solve the problems, such as that the scene of game stored in game data packet in the prior art is less.Secondly, it generates and makes by oneself in the present embodiment The game data of adopted scene of game is derived from other applications without being stored in advance in the game data packet of installation, Effectively reduce game data packet storage data volume, solve due to game data packet is excessive and caused by equipment performance It influences, improves operation smoothness when game.
Description of the drawings
Fig. 1 is a kind of schematic diagram of racing track map selection interface in the prior art;
Fig. 2 is a kind of schematic diagram of racing track road conditions environment in the prior art;
Fig. 3 is a kind of step flow diagram of the generation method of scene of game of one embodiment of the invention;
Fig. 4 is the step flow diagram of the generation method of another scene of game of one embodiment of the invention;
Fig. 5 is a kind of interface schematic diagram of the self-defined racing track of selection of one embodiment of the invention;
Fig. 6 is a kind of map class Application Program Interface display schematic diagram of one embodiment of the invention;
Fig. 7 is a kind of schematic diagram of target road of one embodiment of the invention;
Fig. 8 is a kind of effect diagram importing road data in gaming of one embodiment of the invention;
Fig. 9 is a kind of schematic diagram of scene of game ultimately generated of one embodiment of the invention;
Figure 10 is a kind of schematic block diagram of the generating means of scene of game of one embodiment of the invention.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is described in further detail.
With reference to Fig. 3, a kind of step flow signal of the generation method of scene of game of one embodiment of the invention is shown Figure, can specifically include following steps:
Step 301, the first instruction for generating scene of game is received;
It should be noted that this method can be applied in each class of electronic devices, such as mobile phone, tablet computer, desk-top calculating Machine etc..User can be by installing game data packet in above-mentioned each class of electronic devices, to run corresponding game.On The car race game that game can be racing class is stated, can also be the fighting games of role playing class or other kinds of game.This Embodiment is not construed as limiting the type of electronic equipment and the type of game.
In embodiments of the present invention, scene of game can refer to user when playing, and be showed in interface Scene or picture.Different types of game can have different scene of game, for example, the scene of game of car race game can be with It is the racing track that the racing car of user's drive simulating is travelled, the scene of game of fighting games can be that each role beats in game Residing environment etc. when bucket, the present embodiment is not construed as limiting this.
In order to improve the game experiencing of user, enhance the authenticity of scene of game, the present embodiment can voluntarily be set by user Set corresponding scene of game.For example, fighting in the racing track or fighting games that can be voluntarily arranged in car race game by user Position etc..
In the concrete realization, after user, which starts, to play, a prompt message can be shown in interface, informs user Can specific scene of game be voluntarily set by selecting customized mode.
Step 302, for first instruction, display base map datum;
In embodiments of the present invention, basic map data can be the map datum being embedded in going game, can also It is the map datum got by preset application program.Above-mentioned basic map data can be selected for user or player In the data for the map road or position for generating game racing track or game position etc..
For example, basic map data can be embedded in game data packet, after receiving the first instruction, can be directed to First instruction, obtains the basic map data embedded in going game, and shown in interface.Alternatively, pre- by calling The application program set, then by the api interface of the application program, (Application Programming Interface, are answered With Program Interfaces) it obtains basic map data and shows.
Preset application program can refer to a certain application program that user is already installed in current electronic equipment, lead to The data for obtaining the application program are crossed, corresponding scene of game can be loaded out in interface.For example, preset application journey Sequence can be map class application program, can be first after receiving user and sending out the first instruction of self-defined setting scene of game Above-mentioned map class application program is first called, and basic map data is obtained by the api interface of the application program.
It should be noted that the application program for being available for loading customized scene of game may include multiple, such as May include multiple and different map class application programs in the electronic device.It is quilt that some application program, which can be previously set, in user The default application of calling, to which after receiving the first instruction that user sends out, the default application journey can be directly invoked Sequence.If it is default application that user, which fails to be previously set some application program, refer in receive that user sends out first After order, can show all for the application program of calling by way of, selected from multiple application programs in real time by user One is selected, as called application program, the present embodiment is not construed as limiting this.
Step 303, the second instruction of selection scene of game is received, second instruction is according to acting on for receiving The selection operation of basic map data and generate;
In embodiments of the present invention, the second instruction can be the operation life in the basic map data of display according to user At.For example, user such as can click in the interface for showing basic map data, move at the operational motions, from And generate instruction corresponding with the action.
By taking the racing track of User Defined car race game as an example, after showing basic map data in interface, user It can be by selecting the beginning and end of self-defined racing track in above-mentioned basic map data, to generate the second instruction, currently Game can execute subsequent operation, to generate after receiving above-mentioned second instruction according to the place and terminal that user selectes With the starting point that above-mentioned selected starting point is self-defined racing track, certainly with one of the terminal that above-mentioned selected terminal is self-defined racing track Define racing track.
Step 304, for second instruction, target map data corresponding with the basic map data is obtained;
In embodiments of the present invention, target map data can refer to being selected in basic map data with user, can With what is obtained from preset application program, and it can be used in loading out the data of customized scene of game in gaming.Example Such as, the three-dimensional of the either high buildings and large mansions around the road condition data of road, street or road of the street in map class application program Data etc..
By taking road data as an example, three-dimensional laser scanning technique can be used, by scanning the environment on road periphery, is collected anti- The laser intelligence for penetrating will using computer according to laser from the far and near different body surface reflected time difference These laser intelligences are converted to 3d space model, draw out the actual environment of road and store and arrive database.
Three-dimensional laser scanning technique is otherwise known as outdoor scene reproduction technology, is a skill of the survey field after GPS technology Art revolution.It breaches traditional single-point measurement method, has high efficiency, high-precision unique advantage.3 D laser scanning skill Art is capable of providing the three dimensional point cloud of scanning body surface, therefore can be used for obtaining the digital terrain of high-accuracy high-resolution Model.
Equally by taking the self-defined racing track in car race game as an example, when user selectes in the basic map data of step 303 After a certain road, going game can connect the api interface of map class application program, and obtained and be chosen by the api interface The target map datas such as three-dimensional data, the traffic information of fixed road.
Step 305, the target map data is loaded in interface, generates the scene of game.
It in embodiments of the present invention, can be on game circle after getting target map data in other applications Above-mentioned target map data is loaded in face, to generate customized scene of game.
For example, if current game is Fighting Game (FTG), target map data is the image information of certain building roof, then The image that the buildings Chu Gai roof can be loaded in the interface of above-mentioned Fighting Game (FTG), can experience thereby using family The effect that some position in reality is grappled.
For another example, if current game is the car race game of racing class, target map data is the image information of certain road, The image that the road can be then loaded out in the interface of above-mentioned car race game, is experienced thereby using family in reality The effect of racing match is carried out on certain road.
Certainly, after being loaded the target map data obtained from other applications in interface, system Can also other processing be carried out to the scene after load and display according to the actual needs or game effect, such as add road game Tool carries out certain special effect processings etc. to scene of game, and the present embodiment is not construed as limiting this.
In embodiments of the present invention, user can send out the first of self-defined scene of game when playing to system Instruction, system, can be with display base map datums, to receive selection scene of game after receiving above-mentioned first instruction The second instruction after, for the second instruction, obtain corresponding with basic map data target map data, and in interface In above-mentioned target map data is loaded, to generate customized scene of game.The present embodiment by showing base first Plinth map datum, and obtain target map data corresponding with above-mentioned basic map data by other applications so that User can generate different scene of game according to actual needs, obtain the game experiencing of a variety of styles, increase the interest of game Taste solves the problems, such as that the scene of game stored in game data packet in the prior art is less.Secondly, it is generated in the present embodiment The game data of self-defined scene of game is derived from other application journey without being stored in advance in the game data packet of installation Sequence effectively reduces the data volume of game data packet storage, solves and made to equipment performance since game data packet is excessive At influence, improve operation smoothness when game.
With reference to Fig. 4, show that the step flow of the generation method of another scene of game of one embodiment of the invention is shown It is intended to, can specifically include following steps:
Step 401, show preset scene of game selection interface, the scene of game selection interface includes self-defined field Scape selects control;
It should be noted that this method can be applied in each class of electronic devices, such as mobile phone, tablet computer, desk-top calculating Machine etc..User can be by installing game data packet in above-mentioned each class of electronic devices, to run corresponding game.On The car race game that game can be racing class is stated, can also be the fighting games of role playing class or other kinds of game.This Embodiment is not construed as limiting the type of electronic equipment and the type of game.
In order to make it easy to understand, the present embodiment using electronic equipment as mobile phone, plays to carry out for the car race game of racing class Subsequent explanation.That is, user can be by the game data packet of the installation car race game in mobile phone, to carry out race racing ratio Match.
In embodiments of the present invention, scene of game can refer to user when carrying out above-mentioned car race game, in interface The scene or picture of the racing track showed.
In order to improve the game experiencing of user, enhance the authenticity of scene of game, the present embodiment can voluntarily be set by user Set corresponding scene of game.Racing track used in race racing match is carried out for example, voluntarily being determined by user.
In the concrete realization, a preset racing track can be showed to user in mobile phone screen after user starts game Selection interface may include the selection control of a self-defined racing track in above-mentioned racing track selection interface.
As shown in figure 5, being a kind of interface schematic diagram of the self-defined racing track of selection of the present invention, user can be schemed by clicking The virtual key of " self-defined racing track " in 5, triggers the setting procedure of self-defined scene of game.
Step 402, the first instruction of the selected self-defined scene selection control is received;
In embodiments of the present invention, after user selectes the button of " self-defined racing track " shown in Fig. 5, it is equivalent to user The instruction of used racing track when having issued voluntarily setting match to system.System can execute after receiving above-metioned instruction Step 403, the basic map data that may be used to provide and self-defined racing track is set is showed to user.
Step 403, for first instruction, the api interface of invocation map class application program passes through the api interface It obtains basic map data and shows the basic map data in interface;
In embodiments of the present invention, basic map data can be the map datum being embedded in game data packet.Therefore, After receiving the first instruction of the self-defined scene of game of setting, it can be directed to the first instruction, embedded in acquisition going game Basic map data, and above-mentioned basic map data is shown in interface.
In a kind of example of the present invention, for providing, the basic map data of self-defined racing track is arranged can also be from it It is obtained in his map class application program, such as various map APP.
In the concrete realization, after receiving the first instruction of setting self-defined scene of game, it can be directed to the first instruction, The api interface of invocation map class application program obtains basic map data by api interface and is shown in interface above-mentioned Basic map data.Basic map data is obtained by the api interfaces of other applications, it can be to avoid by basic map data It is embedded in game data packet, the size of game data packet can be efficiently reduced, avoid game data packet excessive and game is transported The influence that row is brought.
In general, user may be equipped with multiple map class application programs in mobile phone, triggers setting in user and make charity game by oneself After the flow in road, the icon of multiple map class application programs can be showed respectively, for example, system can be distinguished in mobile phone interface The icon for showing above-mentioned multiple map APP is selected for user, when the finger for receiving the icon for clicking any map class application program When enabling, the api interface of the corresponding map class application program of the icon is called.
In the concrete realization, user can select one from the multiple map APP showed, self-defined as being subsequently arranged Used application program when racing track.When the user clicks after the icon of some map APP, system can call map APP's Api interface, and basic map data is obtained by the api interface.
It should be noted that there are one possible of the map APP installed in mobile phone.When only there are one map APP when, system The api interface of map APP can be directly invoked.Certainly, if not installing map APP in mobile phone or being available for being arranged self-defined When the other applications of racing track, system can prompt user that can not currently carry out setting for self-defined racing track in interface It sets.
Step 404, the map interface in preset range around current location is shown in interface;
In embodiments of the present invention, after user selectes some map APP, system can call the API of map APP to connect Mouth obtains basic map data, and shows that user is presently in the map interface around position in interface.
In the concrete realization, the position that user is presently in can be determined first, then in display base map datum, Show the map interface in preset range around current location.That is, the place-centric being presently in user, shows a certain range Interior map interface.Above-mentioned preset range can determine that the present embodiment is not construed as limiting this according to actual needs.
As shown in fig. 6, being a kind of map class Application Program Interface display schematic diagram of the present invention.When user selectes the map After APP, map interface as shown in FIG. 6 can be showed in mobile phone interface, with the position for prompting user to be presently in.
Step 405, the second instruction of selection scene of game is received, second instruction is according to acting on for receiving The selection operation of basic map data and generate;
In embodiments of the present invention, the second instruction can be the operation life in the basic map data of display according to user At.For example, user such as can click in the interface for showing basic map data, move at the operational motions, from And generate instruction corresponding with the action.
For example, in the racing track of User Defined car race game, after showing basic map data in interface, use Family can be instructed by the beginning and end of the selected self-defined racing track in above-mentioned basic map data to generate second, when Preceding game can execute subsequent operation, to raw after receiving above-mentioned second instruction according to the place and terminal that user selectes At a self-defined racing track.
Step 406, for second instruction, the position letter of scene of game to be generated is determined in the map interface Breath, the location information includes start position and final position;
In embodiments of the present invention, self-defined racing track to be generated can pass through start position, final position, and connection Road between above-mentioned start position and final position determines.
Therefore, in the self-defined racing track of user setting, start position and the final position of racing track can be determined first.
In the concrete realization, user can manually be clicked in the map interface showed, so that it is determined that going out specific Start position and final position.
For example, when user clicks some position in the map interface showed for the first time, system can be in the click location One prompt message of place's pop-up, which may include two kinds of " being set as start position " and " being set as final position ", Yong Huke With one of selection, to which start position or final position will be used as at the click location.If the position that user will click for the first time It installs as start position, then when user clicks in above-mentioned map interface again, the click position that can will again tap on It sets as final position.
Certainly, the above operation is only a kind of example, and according to actual needs, user can also set out final position first, Then start position is reset out, the present embodiment is not construed as limiting this.
As a kind of example of the present invention, user can also be believed by inputting specific position in the map interface showed It ceases to determine that start position and the final position of self-defined racing track, the present embodiment are also not construed as limiting this.
Step 407, according to the start position and final position, target road is generated;
It in embodiments of the present invention, can be by connecting above-mentioned starting point after user, which has selected booking, to set with final position Position and final position, to form target road.Above-mentioned target road is the one of the self-defined racing track for being subsequently used for generating Road.
In general, the road between connection source position and final position may include a plurality of.Therefore, in the embodiment of the present invention In, a plurality of road to be selected can be firstly generated according to above-mentioned start position and final position, then a plurality of wait selecting from above-mentioned Selected target road in road.
As shown in fig. 7, being a kind of schematic diagram of target road of the present invention.In the figure 7, A points are start position, and B points are Final position, the road S between connection source position A points and final position B points are the target road that user selectes.
Step 408, the road data of the target road is obtained;
In embodiments of the present invention, after user's selected target road, system can obtain above-mentioned target from map APP The road data of road.Above-mentioned road data may include all kinds of image informations of target road.
In embodiments of the present invention, after determining target road, the API that system can connect map class application program connects Mouthful, by the api interface, the road data of above-mentioned target road is obtained from the server of map class application program.
In the concrete realization, system can provide a virtual control while user determines target road, and user can be with By clicking the virtual control, triggering system obtains the road data of above-mentioned target road.
For example, in the schematic diagram of target road that can be shown in Fig. 7 provide one " racing track pattern " virtual control, when with After family selected target road S, " racing track pattern " control can be somebody's turn to do by click, the map that triggering system accesses in map APP is complete Then S corresponding panorama road datas in section are called into game, and shown in gaming by scape database api interface.
Step 409, the road data is imported and plays and is shown in interface;
In embodiments of the present invention, can by the road data of target road import game in, and in interface into Row display, to generate the racing track made by oneself.As shown in figure 8, being a kind of effect importing road data in gaming of the present invention Schematic diagram.What is shown in the schematic diagram is road image corresponding with the start position A points in Fig. 7.
Step 410, corresponding game item is loaded in the interface, generates scene of game.
In embodiments of the present invention, after the road data of target road is shown in interface, system can also be Corresponding game item is loaded in the interface, and adds the other identifier information by special effect processing, such as trail guide, speedometer Disk accelerates the marks such as bottle, convenient for guiding user's operation game.It is, of course, also possible to other roads such as roadblock are added in the road, with Facilitate the irritation of user experience race games.As shown in figure 9, being a kind of signal of scene of game ultimately generated of the present invention Figure.
It should be noted that the game item of addition can determine that the present embodiment is not construed as limiting this according to actual needs.
In embodiments of the present invention, when racing track of the user by self-defined setting racing class car race game, pass through calling Above-mentioned data can be imported in game and be shown in interface, then added all kinds of by the road data of map APP Game item generates customized racing track so that user can generate different racing tracks according to actual needs, obtain a variety of styles , with reality in road have compared with high fidelity racing track, increase the interest of game.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
Referring to Fig.1 0, show a kind of schematic structure frame of the generating means of scene of game of one embodiment of the invention Figure, can specifically include following module:
First command reception module 1001, for receiving the first instruction for generating scene of game;
Basic map data display module 1002, for being instructed for described first, display base map datum;
Second command reception module 1003, the second instruction for receiving selection scene of game, the second instruction basis The selection operation for acting on the basic map data that receives and generate;
Target map data acquisition module 1004 obtains and the basic map data for being instructed for described second Corresponding target map data;
Scene of game generation module 1005 generates the trip for loading the target map data in interface Play scene.
In embodiments of the present invention, first command reception module 1001 can specifically include following submodule:
Scene of game selection interface shows submodule, for showing preset scene of game selection interface, the sports ground Scape selection interface includes self-defined scene selection control;
Receiving submodule selects the first instruction of control for receiving the selected self-defined scene.
In embodiments of the present invention, the basic map data display module 1002 can specifically include following submodule:
First foundation map datum display sub-module is embedded for being instructed for described first in acquisition going game Basic map data, and the basic map data is shown in interface;Alternatively,
Second basic map data display sub-module, for being instructed for described first, invocation map class application program Api interface obtains basic map data by the api interface and shows the basic map data in interface.
In embodiments of the present invention, the basic map data display module 1002 can also include following submodule:
Map interface display sub-module, for showing map circle around current location in preset range in interface Face.
In embodiments of the present invention, the target map data acquisition module 1004 can specifically include following submodule:
Location information determination sub-module, for being instructed for described second, determination is to be generated in the map interface The location information of scene of game, the location information may include start position and final position;
Target road generates submodule, for according to the start position and final position, generating target road;
Road data acquisition submodule, the road data for obtaining the target road.
In embodiments of the present invention, the target road generates submodule and can specifically include such as lower unit:
Road generation unit to be selected, for according to the start position and final position, generating a plurality of road to be selected;
Target road selectes unit, for the selected target road from a plurality of road to be selected.
In embodiments of the present invention, the road data acquisition submodule can specifically include such as lower unit:
Road data acquiring unit, for the api interface by the map class application program, from the map class application The road data of the target road is obtained in the server of program.
In embodiments of the present invention, the scene of game generation module 1005 can specifically include following submodule:
Road data imports display sub-module, plays and is shown in interface for importing the road data Show
Game item loads submodule, for loading corresponding game item in the interface, generates sports ground Scape.
In embodiments of the present invention, the map class application program may include multiple, second basic map data Display sub-module can specifically include such as lower unit:
Application icon shows unit, the icon for showing multiple map class application programs respectively;
Api interface call unit, for when receiving the instruction for the icon for clicking any map class application program, calling The api interface of the corresponding map class application program of the icon.
The embodiment of the invention also discloses a kind of electronic equipment, including processor, memory and it is stored in the memory The computer program run on the processor is gone up and is configured, the computer program can when being executed by the processor The step of realizing the generation method of the scene of game in above-described embodiment.
For device embodiment and apparatus embodiments, since it is basically similar to the method embodiment, so description Fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments In computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows And/or in one box of block diagram or multiple boxes specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also include other elements that are not explicitly listed, or further include for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device including the element.
Above to a kind of generation method of scene of game provided by the present invention, a kind of generating means and one of scene of game Kind of electronic equipment, is described in detail, and specific case used herein carries out the principle of the present invention and embodiment It illustrates, the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;Meanwhile for this field Those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up Described, the content of the present specification should not be construed as limiting the invention.

Claims (11)

1. a kind of generation method of scene of game, which is characterized in that including:
Receive the first instruction for generating scene of game;
For first instruction, display base map datum;
The second instruction of selection scene of game is received, second instruction acts on the basic map data according to what is received Selection operation and generate;
For second instruction, target map data corresponding with the basic map data is obtained;
The target map data is loaded in interface, generates the scene of game.
2. according to the method described in claim 1, it is characterized in that, described the step of receiving the first instruction for generating scene of game Including:
Show preset scene of game selection interface, the scene of game selection interface includes self-defined scene selection control;
Receive the first instruction of the selected self-defined scene selection control.
3. according to the method described in claim 1, it is characterized in that, described for first instruction, display base map number According to the step of include:
For first instruction, the basic map data embedded in going game is obtained, and in interface described in display Basic map data;Alternatively,
For first instruction, the api interface of invocation map class application program obtains basic map by the api interface Data simultaneously show the basic map data in interface.
4. according to the method described in claim 3, it is characterized in that, described show the basic map data in interface The step of include:
The map interface in preset range around current location is shown in interface.
5. according to the method described in claim 4, it is characterized in that, described for second instruction, acquisition and the basis The step of map datum corresponding target map data includes:
For second instruction, the location information of scene of game to be generated, the position are determined in the map interface Information includes start position and final position;
According to the start position and final position, target road is generated;
Obtain the road data of the target road.
6. according to the method described in claim 5, it is characterized in that, described according to the start position and final position, generation The step of target road includes:
According to the start position and final position, a plurality of road to be selected is generated;
The selected target road from a plurality of road to be selected.
7. according to the method described in claim 5, it is characterized in that, the step of the road data for obtaining the target road Including:
By the api interface of the map class application program, the mesh is obtained from the server of the map class application program Mark the road data of road.
8. according to any methods of claim 5-7, which is characterized in that it is described the target is loaded in interface Diagram data, the step of generating the scene of game include:
The road data is imported and plays and is shown in interface;
Corresponding game item is loaded in the interface, generates scene of game.
9. described to be directed to according to the method described in claim 3, it is characterized in that, the map class application program includes multiple First instruction, the step of api interface of invocation map class application program include:
Show the icon of multiple map class application programs respectively;
When receiving the instruction for the icon for clicking any map class application program, the corresponding map class application of the icon is called The api interface of program.
10. a kind of generating means of scene of game, which is characterized in that including:
First command reception module, for receiving the first instruction for generating scene of game;
Basic map data display module, for being instructed for described first, display base map datum;
Second command reception module, the second instruction for receiving selection scene of game, what the second instruction basis received It acts on the selection operation of the basic map data and generates;
Target map data acquisition module obtains corresponding with the basic map data for being instructed for described second Target map data;
Scene of game generation module generates the scene of game for loading the target map data in interface.
11. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and be configured The computer program run on the processor realizes such as claim when the computer program is executed by the processor The step of generation method of scene of game described in any one of 1 to 9.
CN201810362092.6A 2018-04-20 2018-04-20 A kind of generation method of scene of game, device and electronic equipment Pending CN108568112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810362092.6A CN108568112A (en) 2018-04-20 2018-04-20 A kind of generation method of scene of game, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810362092.6A CN108568112A (en) 2018-04-20 2018-04-20 A kind of generation method of scene of game, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108568112A true CN108568112A (en) 2018-09-25

Family

ID=63575035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810362092.6A Pending CN108568112A (en) 2018-04-20 2018-04-20 A kind of generation method of scene of game, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108568112A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109771951A (en) * 2019-02-13 2019-05-21 网易(杭州)网络有限公司 Method, apparatus, storage medium and the electronic equipment that map generates
CN110478901A (en) * 2019-08-19 2019-11-22 Oppo广东移动通信有限公司 Exchange method and system based on augmented reality equipment
CN111803952A (en) * 2019-11-21 2020-10-23 厦门雅基软件有限公司 Topographic map editing method and device, electronic equipment and computer readable medium
CN112023399A (en) * 2020-08-21 2020-12-04 上海完美时空软件有限公司 Game scene data processing method and device, storage medium and computer equipment
CN112245916A (en) * 2020-11-20 2021-01-22 北京冰封互娱科技有限公司 Method, device, equipment and storage medium for generating mirror image island map in game
WO2021043110A1 (en) * 2019-09-05 2021-03-11 腾讯科技(深圳)有限公司 Moving control method and device for virtual object, and terminal and storage medium
CN112619153A (en) * 2020-12-25 2021-04-09 北京冰封互娱科技有限公司 Game copy creating method and device, storage medium and computing equipment
CN112817682A (en) * 2021-02-20 2021-05-18 Oppo广东移动通信有限公司 Interface display method, electronic device and non-volatile computer readable storage medium
CN112884883A (en) * 2021-01-25 2021-06-01 深圳市其乐游戏科技有限公司 Automatic generation method of game track, terminal and storage medium
TWI815108B (en) * 2020-04-30 2023-09-11 大陸商珠海網易達電子科技發展有限公司 Methods, devices, electronic devices and computer storage media for producing maps

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1574237A1 (en) * 2004-03-11 2005-09-14 Navteq North America, LLC Computer game development factory system and method
CN102609985A (en) * 2012-02-29 2012-07-25 北京恒泰实达科技发展有限公司 Three-dimensional power station graphic platform
CN106215420A (en) * 2016-07-11 2016-12-14 北京英雄互娱科技股份有限公司 For the method and apparatus creating scene of game

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1574237A1 (en) * 2004-03-11 2005-09-14 Navteq North America, LLC Computer game development factory system and method
CN102609985A (en) * 2012-02-29 2012-07-25 北京恒泰实达科技发展有限公司 Three-dimensional power station graphic platform
CN106215420A (en) * 2016-07-11 2016-12-14 北京英雄互娱科技股份有限公司 For the method and apparatus creating scene of game

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GOOGLE DEVELOPERS: "Build real-world games with Google Maps APIs - Geocasts", 《HTTPS://YOUTU.BE/QC51FEF0JEY》 *
赛道狂飙中国驿站: "赛道狂飙2:体育场地图制作", 《HTTPS://VIDEO.TUDOU.COM/V/XMJC0NJC0MJQW.HTML?F=50513641》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109771951A (en) * 2019-02-13 2019-05-21 网易(杭州)网络有限公司 Method, apparatus, storage medium and the electronic equipment that map generates
CN110478901A (en) * 2019-08-19 2019-11-22 Oppo广东移动通信有限公司 Exchange method and system based on augmented reality equipment
CN110478901B (en) * 2019-08-19 2023-09-22 Oppo广东移动通信有限公司 Interaction method and system based on augmented reality equipment
US11839816B2 (en) 2019-09-05 2023-12-12 Tencent Technology (Shenzhen) Company Limited Method and apparatus for controlling movement of virtual object, terminal, and storage medium
WO2021043110A1 (en) * 2019-09-05 2021-03-11 腾讯科技(深圳)有限公司 Moving control method and device for virtual object, and terminal and storage medium
CN111803952A (en) * 2019-11-21 2020-10-23 厦门雅基软件有限公司 Topographic map editing method and device, electronic equipment and computer readable medium
TWI815108B (en) * 2020-04-30 2023-09-11 大陸商珠海網易達電子科技發展有限公司 Methods, devices, electronic devices and computer storage media for producing maps
CN112023399A (en) * 2020-08-21 2020-12-04 上海完美时空软件有限公司 Game scene data processing method and device, storage medium and computer equipment
CN112245916A (en) * 2020-11-20 2021-01-22 北京冰封互娱科技有限公司 Method, device, equipment and storage medium for generating mirror image island map in game
CN112245916B (en) * 2020-11-20 2024-03-22 北京冰封互娱科技有限公司 Method, device, equipment and storage medium for generating mirror image island map in game
CN112619153A (en) * 2020-12-25 2021-04-09 北京冰封互娱科技有限公司 Game copy creating method and device, storage medium and computing equipment
CN112884883A (en) * 2021-01-25 2021-06-01 深圳市其乐游戏科技有限公司 Automatic generation method of game track, terminal and storage medium
CN112817682A (en) * 2021-02-20 2021-05-18 Oppo广东移动通信有限公司 Interface display method, electronic device and non-volatile computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108568112A (en) A kind of generation method of scene of game, device and electronic equipment
CN109618183B (en) A kind of special video effect adding method, device, terminal device and storage medium
US10188949B2 (en) Game object control system and program
CN109462776B (en) Video special effect adding method and device, terminal equipment and storage medium
US10230779B2 (en) Content provision system, information processing apparatus and content reproduction method
KR101962394B1 (en) Prominence-based generation and rendering of map features
CN112862935B (en) Game role movement processing method and device, storage medium and computer equipment
JP2018200519A (en) Augmented reality display system, program and method
JP6279135B1 (en) Position game interface system, program, and control method
US10272340B2 (en) Media system and method
CN107229706A (en) A kind of information acquisition method and its device based on augmented reality
CN109474850A (en) Move pixel special video effect adding method, device, terminal device and storage medium
CN108144294A (en) Interactive operation implementation method, device and client device
CN109115221A (en) Indoor positioning, air navigation aid and device, computer-readable medium and electronic equipment
CN109348277A (en) Move pixel special video effect adding method, device, terminal device and storage medium
CN107036609A (en) Virtual reality air navigation aid, server, terminal and system based on BIM
CN107084740A (en) A kind of air navigation aid and device
KR102225175B1 (en) Method and system for navigation using video call
CN109540122A (en) A kind of method and device constructing cartographic model
CN108198099A (en) The guidance method and system of augmented reality, device, server and computer readable storage medium
KR20180043866A (en) Method and system to consume content using wearable device
JP2019033877A (en) Object control system in position game, program, and method
KR102136855B1 (en) Method and apparatus for providing street view, and computer program for executing the method
KR102224182B1 (en) User terminal and golf information system including the same
Wang et al. AR precision navigation system based on Baidu map API

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180925