CN109771950A - Setting method, equipment and the storage medium of node map - Google Patents

Setting method, equipment and the storage medium of node map Download PDF

Info

Publication number
CN109771950A
CN109771950A CN201910098535.XA CN201910098535A CN109771950A CN 109771950 A CN109771950 A CN 109771950A CN 201910098535 A CN201910098535 A CN 201910098535A CN 109771950 A CN109771950 A CN 109771950A
Authority
CN
China
Prior art keywords
node
map
track
setting
host node
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.)
Granted
Application number
CN201910098535.XA
Other languages
Chinese (zh)
Other versions
CN109771950B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910098535.XA priority Critical patent/CN109771950B/en
Publication of CN109771950A publication Critical patent/CN109771950A/en
Application granted granted Critical
Publication of CN109771950B publication Critical patent/CN109771950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of setting method of node map, equipment and storage mediums, are related to programming arts.This method comprises: display map set interface, including node setting option and adjustment point setting area;Receive the first operation acted on node setting option;It is operated according to first and determines host node;Receive the second operation acted in adjustment point setting area;The track between two neighboring host node is determined according to the second operation;Node map is generated according to host node and track.The adjustment point between the host node and two neighboring node in node map is configured by node setting option in map set interface and an adjustment point setting area, the track between the host node and two neighboring node in node map is configured to generate node map to realize, the generation of host node and track can be made in batches, avoid track manufacturing process caused by every track is fabricated separately cumbersome, the problem of inefficiency.

Description

Setting method, equipment and the storage medium of node map
Technical field
The invention relates to programming arts, in particular to a kind of setting method of node map, equipment and deposit Storage media.
Background technique
Break-through game item would generally be set in game application, which is made of multiple outposts, corresponding The break-through game item shows outpost node map in game application, shows multiple pass in the outpost node map All or part of corresponding node in card e.g. shows the section at outpost 1, outpost 2 and outpost 3 in the node map of outpost Point, when the account number logged in the game application passes through outpost 1, display is from outpost 1 to pass in the outpost node map The track animation of card 2, to indicate that account number has passed through outpost 1 and can carry out game, and every track and other tracks to outpost 2 Route be usually different.
In the related technology, it in the program of outpost node map is realized, needs by art designing personnel to each outpost node Needs pair when after position is determined, being fabricated separately, and making to the track animation between the adjacent outpost node of every two After track between two outpost nodes is made, the track is combined to generate track animation animation effect, according to each pass Track animation producing model file between the position and outpost of card node, the model file be used for play two outposts it Between track animation when animation effect is played out according to the track between two outposts.
However, art designing personnel need between the node of every two outpost when in break-through game item including more outpost Track is fabricated separately respectively, and the manufacturing process of track needs to expend a large amount of manpower, and the producing efficiency of track is too low.
Summary of the invention
The embodiment of the present application provides the setting method, equipment and storage medium of a kind of node map, can solve track Manufacturing process need to expend a large amount of manpower, the too low problem of the producing efficiency of track.The technical solution is as follows:
On the one hand, a kind of setting method of node map is provided, which comprises
It shows map set interface, includes node setting option and adjustment point setting area in the map set interface;
The first operation acted on the node setting option is received, the node setting option is used for the node map In host node be configured;
The host node in the node map is determined according to first operation;
Receive act on it is described adjustment point setting area in second operation, the adjustment point setting area for pass through pair The adjustment of adjustment point between the two neighboring host node, is configured the track between the two neighboring host node, The two neighboring host node and adjustment point are passed through in the track between the two neighboring host node;
The track between the two neighboring host node is determined according to second operation;
The node is generated according to the track between the host node and the two neighboring host node in the node map Map.
On the other hand, a kind of setting device of node map is provided, described device includes:
Display module includes node setting option and adjustment in the map set interface for showing map set interface Point setting area;
Receiving module, for receiving the act on the node setting option first operation, the node setting option is used for Host node in the node map is configured;
Determining module, for determining the host node in the node map according to first operation;
The receiving module is also used to receive the second operation acted in adjustment point setting area, the adjustment Point setting area is used for by the adjustment to the adjustment point between the two neighboring host node, to the two neighboring host node Between track be configured, the track between the two neighboring host node by the two neighboring host node and The adjustment point;
The determining module is also used to determine the track between the two neighboring host node according to second operation;
Generation module, for according to the track between the host node and the two neighboring host node in the node map Generate the node map.
On the other hand, a kind of terminal is provided, the terminal includes processor and memory, is stored in the memory At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute Code set or instruction set is stated to be loaded by the processor and executed to realize such as the node provided in above-mentioned the embodiment of the present application The setting method of figure.
On the other hand, a kind of computer readable storage medium is provided, at least one finger is stored in the storage medium Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or Instruction set is loaded by the processor and is executed the setting side to realize the node map as provided in above-mentioned the embodiment of the present application Method.
On the other hand, a kind of computer program product is provided, when the computer program product is run on computers When, so that computer executes the setting method of the node map as provided in above-mentioned the embodiment of the present application.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
By node setting option in map set interface and adjustment point setting area in node map host node and Adjustment point between two neighboring node is configured, thus realize in node map host node and two neighboring node it Between track be configured to generate node map, the generation of host node and track can be made in batches, avoided pair The problem of track manufacturing process is cumbersome caused by every track is fabricated separately, inefficiency.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the interface schematic diagram for the node map that one exemplary embodiment of the application provides;
Fig. 2 is the setting method flow chart for the node map that one exemplary embodiment of the application provides;
Fig. 3 is that map setting panel and map are pre- in the setting for the node map that one exemplary embodiment of the application provides Look at the interface schematic diagram of picture;
Fig. 4 is map setting panel and map in the setting for the node map that another exemplary embodiment of the application provides The interface schematic diagram of preview screen;
Fig. 5 is map setting panel and map in the setting for the node map that another exemplary embodiment of the application provides The interface schematic diagram of preview screen;
Fig. 6 is map setting panel and map in the setting for the node map that another exemplary embodiment of the application provides The interface schematic diagram of preview screen;
Fig. 7 is map setting panel and map in the setting for the node map that another exemplary embodiment of the application provides The interface schematic diagram of preview screen;
Fig. 8 is map setting panel and map in the setting for the node map that another exemplary embodiment of the application provides The interface schematic diagram of preview screen;
Fig. 9 is the setting method flow chart for the node map that another exemplary embodiment of the application provides;
Figure 10 is the interface schematic diagram for the sampled point that one exemplary embodiment of the application provides;
Figure 11 is the interface schematic diagram for the animation effect model that one exemplary embodiment of the application provides;
Figure 12 is the interface schematic diagram for the animation effect that one exemplary embodiment of the application provides;
Figure 13 is the setting method flow chart for the node map that another exemplary embodiment of the application provides;
Figure 14 is the boundary of map setting panel in the setting for the node map that another exemplary embodiment of the application provides Face schematic diagram;
Figure 15 is the structural block diagram of the setting device for the node map that one exemplary embodiment of the application provides;
Figure 16 is the structural block diagram of the setting device for the node map that another exemplary embodiment of the application provides;
Figure 17 is the structural block diagram for the terminal that one exemplary embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Firstly, simply being introduced noun involved in the embodiment of the present application:
Node map: refer to the user interface that the development relationship of node is shown in the form of map.Optionally, each node A corresponding game level, and/or, the corresponding one section of plot of each node, and each node is orderly in node It is arranged on figure.Optionally, when the corresponding game level of each node in node map, then the node is according to game The order at outpost is arranged successively on node map;When the corresponding plot of node in node map, then the section Point is arranged successively on node map according to story developing direction.Optionally, i-th of node passes through with i+1 node Track between node is attached.It optionally, can also not only include the node of corresponding game level, but also packet in the node map Include the node of corresponding plot.Schematically, include outpost node 1 in node map, story node 2, outpost node 3, close Card node 4 and story node 5, wherein outpost node 1 is connected with story node 2 by track a, story node 2 and outpost section Point 3 is connected by track b, and outpost node 3 is connected with outpost node 4 by track c, and outpost node 4 and story node 5 pass through rail Mark d connection, and track a, track b, track c and track d can be different, after user passes through the outpost of outpost node 1, node The animation effect of track a is shown in figure, and prompts user that can check to the plot of story node 2.
Optionally, the track between above-mentioned two neighboring node can be connected by line segment, can also be connected by curved section It connects, can also be connected by the distributed point on line segment;Wherein, when being attached by the distributed point on line segment, above-mentioned trip Play outpost and/or the corresponding node of plot are host node, node supplemented by distributed point.
Optionally, the map nodes can be applied to game application, read class application program, music application, In at least one of financial class application program, instant messaging application program application program.
Schematically, Fig. 1 is the interface schematic diagram for the node map that one exemplary embodiment of the application provides, such as Fig. 1 It is shown, it include host node 110, host node 111, host node 112, host node 113 and host node in the node map interface 10 114, wherein connected between host node 110 and host node 111 by 4 auxiliary nodes 120, host node 111 and host node 112 it Between connected by 3 auxiliary nodes 121, connected between host node 112 and host node 113 by 3 auxiliary nodes 122, host node 113 It is connected between host node 114 by 2 auxiliary nodes 123.Optionally, host node 110, host node 111, host node 112, main section The node size of point 113 and host node 114 can be identical, be also possible to different, and the section of host node and auxiliary node Point size can be identical, be also possible to different.
Fig. 2 is the flow chart of the setting method for the node map that one exemplary embodiment of the application provides, and this method can To be applied in terminal, also can be applied in server, as shown in Fig. 2, this method comprises:
Step 201, it shows map set interface, includes node setting option and adjustment point setting area in the map set interface Domain.
Optionally, node setting option is for being configured the host node in node map.Optionally, the node setting option For the setting such as the host node in node map being increased, being deleted.It optionally, further include node in the map set interface Adjustment region, the node adjustment region is for being adjusted position of the host node in node map.
Optionally, which is used for through the adjustment to the adjustment point between two neighboring host node, right Track between two neighboring host node is configured, and the two neighboring main section is passed through in the track between the two neighboring host node Point and adjustment point.It optionally, include two adjustment points, optionally, the two neighboring main section between the two neighboring host node It can also include adjusting less or more a little between point.
It optionally, include map setting panel and map preview picture in the map set interface, wherein node setting option It is located in map setting panel with adjustment point setting area, or, node setting option is located in map setting panel, adjustment point setting Region is located in map preview picture, the map preview picture be used for the track between host node and two neighboring host node into Row preview.
Optionally, when adjustment point setting area is located in map setting panel, which includes adjustment Point coordinate setting option, by way of the coordinate of the Coordinate Adjusting operation adjustment adjustment point on adjustment point coordinate setting option, packet Include any one in following situation:
First, the coordinate values of adjustment point are shown in the adjustment point coordinate setting option, by adjustment coordinate values The position that integral point is exchanged in modification is adjusted;
Second, coordinates logo item is shown in the adjustment point setting option, by carrying out to the dragging point in coordinates logo item The position that integral point is exchanged in dragging is adjusted;
Third not only shows adjustment point coordinate in the adjustment point setting option but also shows coordinates logo item, by coordinate Dragging point in identification strip carries out the position progress biggish adjustment of amplitude that integral point is exchanged in dragging, by exchanging integral point coordinate values Modification exchange the position of integral point and accurately adjusted.
It optionally, include pre- in the adjustment point setting area when adjustment point setting area is located in map preview picture It lookes at and adjusts point, position of the integral point in node map can be exchanged by the drag operation to preview adjustment point and be configured.
Schematically, it exchanges integral point setting area and is located at map setting panel and the situation point in map preview picture It is not illustrated, please refers to Fig. 3 and Fig. 4.
As shown in figure 3, including map setting panel 31 and map preview picture 32 in map set interface 30, wherein It includes node setting option 311 and adjustment point setting area 312 that map, which is arranged in panel, shows node in map preview picture 32 Track 322 between the host node 321 being arranged in map and host node 321.It optionally, can be in the map preview picture 32 It shows the adjustment point between host node 321, the adjustment point between host node 321 can not also be shown, when map preview screen 32 In when showing adjustment point, can also be realized by exchanging the drag operation of integral point and exchange the setting of integral point position.
As shown in figure 4, including map setting panel 41 and map preview picture 42 in map set interface 40, wherein It includes node setting option 411 in panel that map, which is arranged, and preview adjustment point 421 is shown in the map preview picture 42.
Step 202, the first operation acted on node setting option is received.
Optionally, which includes that node increases option, knot removal option, node switching option, node are put Contracting option, node type option, node location adjustment at least one of item, optionally, first operation be act on it is above-mentioned Node increases option, knot removal option, number of nodes option, node switching option, node scaling option, node type choosing The operation at least one option in item, node location adjustment item.
Wherein, it is illustrated respectively in conjunction with each option:
First, increase the selection operation on option in node when receiving, and n main sections are shown in map preview picture When point, (n+1)th host node is shown in map preview picture, that is, on the basis of original host node quantity, increase a master Node;Optionally, which can be predeterminated position, be also possible to Any random site;Optionally, it is illustrated in the present embodiment by being increased for option increases a host node according to node, it is real In the operation of border, the increase number of host node can be one, can be predetermined number, be also possible to the quantity inputted according to user Carry out batch increase;
Second, when receiving the selection operation on knot removal option, and be selected in current map preview screen When for m-th of host node, m-th of host node is deleted in map preview picture;
Third is handed in map preview screen with the node when receiving the selection operation on node switching option The position for changing corresponding two host nodes of option swaps.It optionally, include node selection region in the node switching option, The node selection region is used to need the host node exchanged to select to two, or, when receiving on node switching option Selection operation when, can in currently selected in map preview screen host node be located at the host node it is next or on One host node swaps;
4th, when receiving the setting operation on node scaling option, it is currently selected in map preview screen in Host node according to setting operation zoom in or out;
5th, when receiving the selection operation on node type option, drawn according to the selection operation in map preview Increase host node corresponding with node type option in face, which can be the type being set by the user, be also possible to The type provided is provided in node type option;
6th, when receiving the setting operation on node location adjustment item, drawn according to setting operation in map preview The position of the host node in currently selected is adjusted in face, optionally, node location adjustment item can be implemented as map Adjustment identification strip in panel is set, by the position to the dragging adjustment host node of dragging point in adjustment identification strip, or, the section Point adjustment adjusts the position of the host node by the modification to coordinate value to the coordinate value that can be implemented as in map setting panel It sets.Optionally, node location adjustment item is also implemented as being used for the host node of preview in map preview picture, by master The drag operation of node is adjusted position of the host node in map preview picture namely node map.
Step 203, the host node determined in node map is operated according to first.
Optionally, quantity, order and each host node of host node in the node map are determined according to first operation Position.Optionally, coordinate representation of the position of the host node with the host node in node map.
Optionally, the connection order of host node according to the order of addition of host node determine, or, the order of host node according to The setting operation at family determines.
Optionally, the track after operating the host node determined in node map according to first, between two neighboring host node The connecting line segment being defaulted as between two host nodes.As shown in figure 5, showing the main section being arranged in map preview picture 50 Point 51, host node 52, host node 53 and host node 54, wherein the track between host node 51 and host node 52 is defaulted as line Section 55, the track between host node 52 and host node 53 is defaulted as line segment 56, and the track between host node 53 and host node 54 is silent Think line segment 57.
Step 204, the second operation acted in adjustment point setting area is received.
Optionally, after operating the host node determined in node map according to first, life is defaulted between two neighboring host node At adjustment point.Optionally, it is illustrated for including two adjustment points between two neighboring host node in the present embodiment, according to Line segment length is divided into three sections by two adjustment points that default generates, is somebody's turn to do by the length of line segment between two host nodes Two adjustment points between two host nodes.
Optionally, which can be in map setting panel, be also possible to be located at map preview In picture.Wherein, exchange that integral point setting area is located at map setting panel and positioned at map preview picture the case where carries out respectively Illustrate:
First, it include adjusting in the adjustment point setting area when the adjustment point setting area is located in map setting panel Integral point coordinate setting option receives the Coordinate Adjusting operation on the adjustment point coordinate setting option as second operation, the coordinate Adjustment operation is adjusted for exchanging coordinate of the integral point in node map;The adjustment point coordinate setting option can be implemented as adjusting The coordinates logo item of the coordinate values of integral point and/or adjustment point;
When optionally, due to showing adjustment point coordinate setting option in map setting panel, need to click through different adjustment Row is distinguished, then exchanging the mode that integral point distinguishes includes such as at least one of under type: 1, integral point mark mark is exchanged, and For the corresponding mark setting adjustment point coordinate setting option of each adjustment point in map setting panel;2, in map setting panel also Including track options, which then receives in the options of track for selecting track to be adjusted The corresponding track of selection operation is determined as the track where the adjustment point of Coordinate Adjusting operation adjustment by selection operation;3, map Include the track between two neighboring host node in preview screen, receives the selection operation to track, and true according to selection operation Adjustment point on the fixed track selected is adjustment point to be adjusted, wherein the mark of track according to the mark of host node according to Secondary mark, such as: the track between host node 1 and host node 2 is track 1, and the track between host node 2 and host node 3 is track 2, and so on.
Schematically, Fig. 6 to Fig. 8 is please referred to, as shown in fig. 6, it is corresponding to show track 1 in 60 in map setting panel Adjust point a and adjust the coordinate setting option 61 of point b, the corresponding coordinate setting option 62 for adjusting point c and adjustment point d in track 2 and The corresponding adjustment point e in track 3 and the coordinate setting option 63 for adjusting point f;As shown in fig. 7, further including rail in map setting panel 70 A coordinate setting option 72 is put in mark options 71 and adjustment, shows that the track in currently selected is track 6 in the track options 71, then Corresponding adjustment point a and adjustment point b is track 6 (i.e. between host node 6 and host node 7 in the adjustment point coordinate setting option 72 Track) on adjustment point;As shown in figure 8, showing adjustment point coordinate setting option 811 in map setting panel 810, map is pre- It lookes in picture 820 and shows track 821 (track between host node 1 and host node 2), track 822 (host node 2 and host node 3 Between track), track 823 (track between host node 3 and host node 4), receive to the selection operation of track 822 after, The adjustment point a and adjustment point b that are adjusted in adjustment point coordinate setting option 811 are the adjustment point on the track 822.
Second, it include pre- when the adjustment point setting area is located in map preview picture, in the adjustment point setting area It lookes at and adjusts point, receive the drag operation in preview adjustment point as the second operation, the drag operation is for adjusting point to preview Position in map preview picture is adjusted, and using position of the preview adjustment point in map preview picture as adjustment point Position in node map.
Step 205, the track between two neighboring host node is determined according to the second operation.
Optionally, determine the adjustment point between (i-1)-th host node and i-th of host node in node according to second operation Coordinate in map, and the coordinate of the coordinate of (i-1)-th host node, adjustment point is substituted into curvilinear function, it is corresponding to obtain track Lopcus function.
Optionally, two masters can first be determined to step 205 for above-mentioned steps 202 to step 203 and step 204 After node, after being configured to the track between two host nodes, continues to add third host node and track is set Set, can also host node after setting completed, track is set gradually, i.e., above-mentioned steps 202 to step 203 can execute Before step 204 to step 205, after step 202 and step 203 can also being executed, interts and execute step 202 to step 203 With step 204 to step 205.
Step 206, node map is generated according to the track between the host node and two neighboring host node in node map.
It optionally, further include the also corresponding animation effect of background picture and every track in the node map.
In conclusion by the node setting option in map set interface and adjusting point setting area in node map Adjustment point between host node and two neighboring node is configured, to realize to the host node and adjacent two in node map Track between a node is configured to generate node map, can be made in batches to the generation of host node and track The problem of work, avoids track manufacturing process caused by every track is fabricated separately cumbersome, inefficiency.
In an alternative embodiment, the track animation model of each track is also corresponding in above-mentioned node map, on Stating in map setting panel further includes animation effect setting option, which is used between two neighboring host node The animation effect of track be configured.Fig. 9 is the setting side for the node map that another exemplary embodiment of the application provides The flow chart of method, as shown in figure 9, this method comprises:
Step 901, it shows map set interface, includes node setting option and adjustment point setting area in the map set interface Domain.
Optionally, node setting option is for being configured the host node in node map.Optionally, the node setting option For the setting such as the host node in node map being increased, being deleted.It optionally, further include node in the map set interface Adjustment region, the node adjustment region is for being adjusted position of the host node in node map.
Optionally, which is used for through the adjustment to the adjustment point between two neighboring host node, right Track between two neighboring host node is configured, and the two neighboring main section is passed through in the track between the two neighboring host node Point and adjustment point.It optionally, include two adjustment points, optionally, the two neighboring main section between the two neighboring host node It can also include adjusting less or more a little between point.
It optionally, include map setting panel and map preview picture in the map set interface, wherein node setting option It is located in map setting panel with adjustment point setting area, or, node setting option is located in map setting panel, adjustment point setting Region is located in map preview picture, the map preview picture be used for the track between host node and two neighboring host node into Row preview.
Step 902, the first operation acted on node setting option is received.
Optionally, the specific implementation procedure of first operation has been carried out detailed description in above-mentioned steps 202, herein not It repeats again.
Step 903, the host node determined in node map is operated according to first.
Step 904, the second operation in adjustment point setting area is received.
Optionally, the specific implementation procedure of second operation has been carried out detailed description in above-mentioned steps 204, herein not It repeats again.
Step 905, the track between two neighboring host node is determined according to the second operation.
Step 906, the setting operation on animation effect setting option is received.
Optionally, setting operation for track sampling number, height of sampling, at least one of animation effect into Row setting.It optionally, include sampling number setting option, height of sampling setting option and animation effect in the animation effect setting option At least one of setting option, wherein sampling number setting option is correspondingly arranged the sampling number of track, height of sampling setting option pair The height of sampling of track should be set, and animation effect setting option is correspondingly arranged the animation effect of track.
Optionally, which, which refers to, carries out first host node to the whole track between a last host node Total sampling number of sampling;Height of sampling refers to the distance between two sample tracks that sampling obtains;Animation effect refers to most The animation effect pattern being presented on track afterwards.
Step 907, it is sampled, is obtained in track according to track side of the setting operation between two neighboring host node The first sample track and the second sample track of two sides.
Optionally, further include sampling control in map setting panel, grasped when receiving the selection on the sampling control When making, sampled according to track side of the above-mentioned setting operation between two neighboring host node.
Optionally, in the sampling process, the sampling number for determining track is operated according to setting first, for (i-1)-th master (i-1)-th track between node and i-th of host node determines that (i-1)-th track accounts for the ratio of whole track, by sampled point Number is multiplied with the ratio, obtains the corresponding sub-sampling points in (i-1)-th track, and correspond to son in (i-1)-th track two sides and adopt Number of samples carries out average sample respectively.
Optionally, during determining that (i-1)-th track accounts for whole track ratio, the is determined according to the first operation first Coordinate of the i-1 host node in node map, and operated according to second and determine (i-1)-th host node and i-th of host node Between adjustment point coordinate, by the coordinate of (i-1)-th host node, adjustment point coordinate substitute into curvilinear function, obtain (i-1)-th The corresponding lopcus function in track.Schematically, the coordinate of (i-1)-th host node is P0, the coordinate of adjustment point 1 is P1, adjustment point 2 Coordinate be P2, the curvilinear function is as follows:
B (t)=(1-t)2P0+2t(1-t)P1+t2P2,t∈[0,1]
By the coordinate P of (i-1)-th host node0, the coordinate P of adjustment point 11And the coordinate P of adjustment point 22Substitute into above-mentioned curve Function obtains lopcus function, and wherein t is the unknown number in lopcus function, and the value from 0 to 1 of t carries out t in conjunction with lopcus function A default value is uniformly taken, a default point on the track is obtained, such as: 40 values fifty-fifty being taken to the interval t, and by 40 values It substitutes into lopcus function and obtains the coordinate points on 40 tracks, after calculating the distance between two neighboring coordinate points, obtain The total length of every section of track, and obtain the total length of whole track, then the corresponding sub-sampling points in (i-1)-th section of track are (i-1)-th The ratio of section track and whole total trajectory length is multiplied by total sampling number.
Optionally, when being shown in a manner of auxiliary node to track in node map, by above-mentioned lopcus function It carries out the obtained coordinate points of value and auxiliary node is set on track, between each auxiliary node and between auxiliary node and host node It is equidistant, optionally, the quantity of the auxiliary node between two neighboring host node can be equal, be also possible to according to every section What the length determination of track obtained, e.g., 2 auxiliary nodes are arranged in path length within 0 to 10, and path length is within 10 to 20 4 auxiliary nodes are set, and so on.
Optionally, the coordinate that the corresponding sampled point in the (i-1)-th end track can be obtained by the above-mentioned value in lopcus function Row interpolation distribution is clicked through, to obtain the position of each sampled point.
Schematically, referring to FIG. 10, shown in map preview picture 1010 host node 1011, host node 1012 and Host node 1013 shows track 1021, host node 1012 and host node 1013 between host node 1011 and host node 1012 Between show track 1022, total sampling number is 30, and the ratio that track 1021 accounts for whole track is 20%, and track 1022 accounts for whole The ratio of body track is 80%, then the sub-sampling points of the corresponding every sample track in track 1021 are 6, such as the first sample track Shown in 6 sub- sampled points shown in 6 sub- sampled points in 1031 and in the second sample track 1032, track 1022 is corresponding Every sample track sub-sampling points be 24, as shown in the first sample track 1041, the second sample track 1042.It is optional Ground, which can be more or less, and the embodiment of the present application is not limited this.Optionally, the first sampling The distance between track 1031 and the second sample track 1032 and the first sample track 1041 and the second sample track 1042 it Between distance be height of sampling.
Step 908, pass through k-th of sampled point in the first sample track ,+1 sampled point of kth and the second sample track In k-th of sampled point construct tri patch, form the animation effect model of track.
Optionally, which is realized by grid (English: mesh), and optionally, which is for carrying out to animation The triangular mesh of drafting.
Schematically, Figure 11 is please referred to, Figure 11 is according in the sampled point and the second sample track in the first sample track The obtained tri patch 111 of sampling point-rendering, and the animation effect model 110 formed.
Step 909, node map is generated according to the track between the host node and two neighboring host node in node map.
Optionally, the track between the two neighboring host node is corresponding with animation effect.Optionally, in map setting panel It further include cartoon setting item, which realizes the uv on the track for configuring to the uv value of animation effect Animation.Optionally, the uv initial value of the animation effect is 0, and stop value 1, according to the uv value, which can on track To realize progressive effect.
Schematically, Figure 12 is please referred to, Figure 12 is the animation effect schematic diagram played out according to animation effect model, In, the animation band 122 in the map preview picture 121 gradually extends forward along track 123, or, the animation band 122 can also edge Track 123 travels forward, and optionally, the track 123 is practical not to be shown in node map.
In conclusion the setting method of node map provided in this embodiment, is set by the node in map set interface It sets item and adjustment point setting area is configured the adjustment point between the host node and two neighboring node in node map, from And realize and the track between the host node and two neighboring node in node map is configured to generate node map, to master The generation of node and track can be made in batches, and track caused by every track is fabricated separately is avoided to make The problem of process is cumbersome, inefficiency.
Method provided in this embodiment is configured the animation effect on track by being arranged in panel in map, keeps away It is cumbersome to exempt from track manufacturing process caused by the animation effect of each track is fabricated separately, and producing efficiency is lower Problem.
In an alternative embodiment, above-mentioned adjustment point setting area is located in map setting panel, and the map is set Setting in panel further includes node setting option, animation effect setting option, track options etc., and Figure 13 is that another is exemplary by the application The flow chart of the setting method for the node map that embodiment provides, as shown in figure 13, this method comprises:
Step 1301, it shows map set interface, includes node setting option and adjustment point setting in the map set interface Region.
Optionally, node setting option is for being configured the host node in node map.Optionally, the node setting option For the setting such as the host node in node map being increased, being deleted.It optionally, further include node in the map set interface Adjustment region, the node adjustment region is for being adjusted position of the host node in node map.
Optionally, which is used for through the adjustment to the adjustment point between two neighboring host node, right Track between two neighboring host node is configured, and the two neighboring main section is passed through in the track between the two neighboring host node Point and adjustment point.It optionally, include two adjustment points, optionally, the two neighboring main section between the two neighboring host node It can also include adjusting less or more a little between point.
It optionally, include map setting panel and map preview picture in the map set interface, wherein node setting option It is located in map setting panel with adjustment point setting area, or, node setting option is located in map setting panel, adjustment point setting Region is located in map preview picture, the map preview picture be used for the track between host node and two neighboring host node into Row preview.
Step 1302, the selection operation in the options of track is received.
Optionally, the corresponding track of the selection operation is the track being selected in current map preview screen, optionally, should The host node of selected track one end is the host node being selected in current map preview screen, optionally, the track one end Host node be track front end host node.Schematically, the track being selected in the options of track is track 6, which is Track between host node 6 and host node 7, then it is currently selected in host node be host node 6.
Step 1303, the first operation acted on node setting option is received.
Optionally, the specific implementation procedure of first operation has been carried out detailed description in above-mentioned steps 202, herein not It repeats again.
Step 1304, the host node determined in node map is operated according to first.
Step 1305, the Coordinate Adjusting operation on adjustment point coordinate setting option is received.
Optionally, the specific implementation procedure of Coordinate Adjusting operation has been carried out detailed description in above-mentioned steps 204, this Place repeats no more.
It is worth noting that, the Coordinate Adjusting operates corresponding regulating object as selected by selection operation in above-mentioned steps 1302 In track on adjustment point.
Step 1306, the track between two neighboring host node is determined according to Coordinate Adjusting operation.
Optionally, the adjustment point coordinate determined between (i-1)-th host node and i-th of host node is operated according to Coordinate Adjusting Afterwards, the coordinate of the coordinate of (i-1)-th host node and adjustment point is substituted into curvilinear function, obtains the corresponding rail in (i-1)-th track Trace function.
Optionally it is determined that behind track between two neighboring host node, it can also be in map preview picture to (i-1)-th Track between host node and i-th of host node carries out preview.
Step 1307, the setting operation on animation effect setting option is received.
Optionally, setting operation for track sampling number, height of sampling, at least one of animation effect into Row setting.
Optionally, which, which refers to, carries out first host node to the whole track between a last host node Total sampling number of sampling;Height of sampling refers to the distance between two sample tracks that sampling obtains;Animation effect refers to most The animation effect pattern being presented on track afterwards.
Step 1308, it is sampled, is obtained in-orbit according to track side of the setting operation between two neighboring host node The first sample track and the second sample track of mark two sides.
Optionally, further include sampling control in map setting panel, grasped when receiving the selection on the sampling control When making, sampled according to track side of the above-mentioned setting operation between two neighboring host node.
Optionally, in the sampling process, the sampling number for determining track is operated according to setting first, for (i-1)-th master (i-1)-th track between node and i-th of host node determines that (i-1)-th track accounts for the ratio of whole track, by sampled point Number is multiplied with the ratio, obtains the corresponding sub-sampling points in (i-1)-th track, and correspond to son in (i-1)-th track two sides and adopt Number of samples carries out average sample respectively.
Step 1309, pass through k-th of sampled point in the first sample track ,+1 sampled point of kth and the second sampling rail K-th of sampled point in mark constructs tri patch, forms the animation effect model of track.
Optionally, which is realized by grid (English: mesh), and optionally, which is for carrying out to animation The triangular mesh of drafting.
Schematically, Figure 11 is please referred to, Figure 11 is according in the sampled point and the second sample track in the first sample track The obtained tri patch of sampling point-rendering, and the animation effect model formed.
Step 1310, with generating node according to the track between the host node and two neighboring host node in node map Figure.
Optionally, the track between the two neighboring host node is corresponding with animation effect.Optionally, in map setting panel It further include cartoon setting item, which realizes the uv on the track for configuring to the uv value of animation effect Animation.Optionally, the uv initial value of the animation effect is 0, and stop value 1, according to the uv value, which can on track To realize progressive effect.
Optionally, above-mentioned animation effect is also implemented as: being carried out by coloring process (English: shader) to host node Coloring is to show animation.
In conclusion the setting method of node map provided in this embodiment, is set by the node in map set interface It sets item and adjustment point setting area is configured the adjustment point between the host node and two neighboring node in node map, from And realize and the track between the host node and two neighboring node in node map is configured to generate node map, to master The generation of node and track can be made in batches, and track caused by every track is fabricated separately is avoided to make The problem of process is cumbersome, inefficiency.
Method provided in this embodiment is configured the animation effect on track by being arranged in panel in map, keeps away It is cumbersome to exempt from track manufacturing process caused by the animation effect of each track is fabricated separately, and producing efficiency is lower Problem.
Schematically, Figure 14 is the schematic diagram for the map setting panel that one exemplary embodiment of the application provides, the ground It include host node quantity display field 141, tracking quantity display field 142, animation feature resource name display field in figure setting panel 140 143, track options 144, adjustment point setting area 145, node increase option 146, knot removal option 147, precious case node Increase option 148, precious case knot removal option 149, filename and imports and exports display field 150, node scaling option 151, sampling Points setting option 152, animation effect setting option 154, starting uv value display field 155, terminates uv value at sample types setting option 153 Display field 156, sampling control 158, imports track data control 159, export track data control at height of sampling setting option 157 160 and delete Curve Controls 161.
Wherein, the quantity for the host node that the corresponding display of host node quantity display field 141 has currently created;Tracking quantity is shown The quantity for the corresponding track of host node that the corresponding display in column 142 has currently created;Animation feature resource name display field 143 is corresponding aobvious Show the resource name of animation effect corresponding to track in node map;Track options 144 is used for the track chosen to needs Selected and shown the track currently chosen;Adjustment point setting area 145 is used for the adjustment on the track currently chosen The coordinate of point is adjusted;Node increases option 146 for increasing host node;Knot removal option 147 is for deleting currently quilt The host node chosen;Precious case node increases option 148 for increasing the host node for having precious case effect, the treasured case node with commonly Host node is two distinct types of host node;Precious case knot removal option 149 is for deleting the precious case node currently chosen;Text Part name imports and exports file name when display field 150 is imported and/or exported for showing the node map, optionally, one Game chapters and/or a story chapters correspond to a file, include the corresponding model file of animation effect in this document;Node Scaling option 151 is for being adjusted the node size for the host node currently chosen;Sampling number setting option 152 is used for whole Total sampling number of body track is configured;Sample types setting option 153 is for being configured sample types, such as: mesh pairs The sample types answered are the sample types sampled in track two sides;Animation effect setting option 154 is for moving uv animation It draws effect to be configured, such as: long animation or short animation;It originates uv value display field 155 and originates uv value for showing, usually 0;Eventually Only uv value display field 156 terminates uv value for showing, and usually 1;Height of sampling setting option 157 is for setting height of sampling It sets, i.e., the distance between the first sample track and the second sample track is configured, schematically, which is set as 40, then the distance between the first sample track and track are 20, and the distance between the second sample track and track are also 20, first The distance between sample track and the second sample track are 40;Control 158 is sampled for triggering sampling, and in map preview picture In sampled result is shown;It imports track data control 159 to be used to import track data, including geometric locus number Accordingly and track animation data;Export track data control 160 is used to export track data, including geometric locus data And track animation data;Delete Curve Controls 161 be used for in present node map node and track uniformly deleted It removes.
Schematically, after track data export, the track data of chapter 1 is stored as Route_JYRoute_01, chapter 2 Track data be stored as Route_JYRoute_02, and so on.
Figure 15 is the structural block diagram of the setting device for the node map that one exemplary embodiment of the application provides, with the dress It sets and is applied to be illustrated in terminal, which includes: display module 1510, receiving module 1520, determining module 1530 And generation module 1540;
Display module 1510, include for showing map set interface, in the map set interface node setting option and Adjustment point setting area;
Receiving module 1520, for receiving the act on the node setting option first operation, the node setting option For being configured to the host node in the node map;
Determining module 1530, for determining the host node in the node map according to first operation;
The receiving module 1520 is also used to receive the second operation acted in adjustment point setting area, described Adjustment point setting area is used for by the adjustment to the adjustment point between the two neighboring host node, to the two neighboring master Track between node is configured, and the two neighboring host node is passed through in the track between the two neighboring host node And the adjustment point;
The determining module 1530 is also used to determine the rail between the two neighboring host node according to second operation Mark;
Generation module 1540, for according between the host node and the two neighboring host node in the node map Track generates the node map.
It in an alternative embodiment, include that map setting panel and map preview are drawn in the map set interface Face, the node setting option and the adjustment point setting area are located in map setting panel, the map preview picture For carrying out preview to the track between the host node and the two neighboring host node.
Or,
It include map setting panel and the map preview picture, the node setting in the map set interface Item is located in map setting panel, and the adjustment point setting area is located in the map preview picture.
In an alternative embodiment, when the adjustment point setting area is located in map setting panel, institute Stating includes adjustment point coordinate setting option in adjustment point setting area;
The receiving module 1520 is also used to receive the Coordinate Adjusting on the adjustment point coordinate setting option and operates conduct Second operation, the Coordinate Adjusting operation is for being adjusted coordinate of the adjustment point in the node map.
It in an alternative embodiment, further include track options in the map setting panel, the track selection Item is for selecting track to be adjusted;
The receiving module 1520 is also used to receive the selection operation in the track options, and the selection is grasped Make the track that corresponding track is determined as where the adjustment point of the Coordinate Adjusting operation adjustment.
In an alternative embodiment, when the adjustment point setting area is located in the map preview picture, institute Stating in adjustment point setting area includes that preview adjusts point;
The receiving module 1520 is also used to receive to the drag operation of preview adjustment point as second behaviour Make, the drag operation is used to be adjusted position of the preview adjustment point in the map preview picture;
The determining module 1530, be also used to using the preview adjust position of the point in the map preview picture as Position of the adjustment point in the node map.
It in an alternative embodiment, as shown in figure 16, further include animation effect setting in the map setting panel , the animation effect setting option is for being configured the animation effect of the track between the two neighboring host node;
The receiving module 1520 is also used to receive the setting operation on the animation effect setting option, the setting It operates and is configured for the sampling number to the track, height of sampling, at least one of animation effect;
Described device further includes sampling module 1550, for being operated according to the setting in the two neighboring host node Between track side sampled, obtain the first sample track and the second sample track in the track two sides;
The determining module 1530 is also used to adopt by k-th of sampled point in first sample track, kth+1 K-th of sampled point in sampling point and second sample track constructs tri patch, forms the animation effect mould of the track Type, k are positive integer.
In an alternative embodiment, the sampling module 1550 is also used to according to setting operation determination The sampling number of track;For (i-1)-th track between (i-1)-th host node and i-th of host node, institute is determined State the ratio that (i-1)-th track accounts for whole track;The sampling number and the ratio are multiplied, (i-1)-th rail is obtained The corresponding sub-sampling points of mark;The sub-sampling points, which are corresponded to, in (i-1)-th track two sides carries out average sample, i respectively > 1.
In an alternative embodiment, the determining module 1530 is also used to be determined according to the second setting operation The coordinate of adjustment point between (i-1)-th host node and i-th of host node;By (i-1)-th host node Coordinate and the coordinate of the adjustment point substitute into curvilinear function, obtain the corresponding lopcus function in (i-1)-th track.
In an alternative embodiment, the display module 1510 is also used in the map preview picture to Track between the i-1 host nodes and i-th of host node carries out preview.
In an alternative embodiment, the node setting option includes that node increases option;
The display module 1510 is also used to work as the selection operation received on node increase option, and current When showing the n host nodes in map preview picture, (n+1)th main section is shown in the map preview picture Point, n > 2.
In an alternative embodiment, the node setting option includes knot removal option;
The display module 1510 is also used to receive the selection operation on the knot removal option, and current It is selected when being m-th of host node in map preview picture, m-th of master is deleted in the map preview picture Node, m are positive integer.
It should be understood that the setting device of node map provided by the above embodiment, only with above-mentioned each functional module It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution, The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition, The embodiment of the method for the display methods of the display device and line style technical ability of line style technical ability provided by the above embodiment belongs to same structure Think, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Figure 17 shows the structural block diagrams for the terminal 1700 that an illustrative embodiment of the invention provides.The terminal 1700 can To be: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 1700 is also Other titles such as user equipment, portable terminal, laptop terminal, terminal console may be referred to as.
In general, terminal 1700 includes: processor 1701 and memory 1702.
Processor 1701 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 1701 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1701 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 1701 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1701 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 1702 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1702 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1702 can Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1701 for realizing this Shen Please in embodiment of the method provide node map setting method.
In some embodiments, terminal 1700 is also optional includes: peripheral device interface 1703 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 1701, memory 1702 and peripheral device interface 1703.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1703.Specifically, peripheral equipment includes: In radio circuit 1704, touch display screen 1705, camera 1706, voicefrequency circuit 1707, positioning component 1708 and power supply 1709 At least one.
Peripheral device interface 1703 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 1701 and memory 1702.In some embodiments, processor 1701, memory 1702 and periphery Equipment interface 1703 is integrated on same chip or circuit board;In some other embodiments, processor 1701, memory 1702 and peripheral device interface 1703 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1704 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1704 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1704 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1704 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 1704 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations In example, radio circuit 1704 can also include that NFC (Near Field Communication, wireless near field communication) is related Circuit, the application are not limited this.
Display screen 1705 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.When display screen 1705 is touch display screen, display screen 1705 also there is acquisition to exist The ability of the touch signal on the surface or surface of display screen 1705.The touch signal can be used as control signal and be input to place Reason device 1701 is handled.At this point, display screen 1705 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1705 can be one, and the front panel of terminal 1700 is arranged;Another In a little embodiments, display screen 1705 can be at least two, be separately positioned on the different surfaces of terminal 1700 or in foldover design; In still other embodiments, display screen 1705 can be flexible display screen, is arranged on the curved surface of terminal 1700 or folds On face.Even, display screen 1705 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1705 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1706 is for acquiring image or video.Optionally, CCD camera assembly 1706 includes front camera And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.? In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle Shooting function.In some embodiments, CCD camera assembly 1706 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for Light compensation under different-colour.
Voicefrequency circuit 1707 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 1701 and handled, or be input to radio circuit 1704 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 1700 to be multiple. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1701 or radio frequency will to be come from The electric signal of circuit 1704 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1707 may be used also To include earphone jack.
Positioning component 1708 is used for the current geographic position of positioning terminal 1700, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1708 can be the GPS (Global based on the U.S. Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group Part.
Power supply 1709 is used to be powered for the various components in terminal 1700.Power supply 1709 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1709 includes rechargeable battery, which can be line charge Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1700 further includes having one or more sensors 1710.One or more sensing Device 1710 includes but is not limited to: acceleration transducer 1711, gyro sensor 1712, pressure sensor 1713, fingerprint sensing Device 1714, optical sensor 1715 and proximity sensor 1716.
Acceleration transducer 1711 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1700 Size.For example, acceleration transducer 1711 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1701 acceleration of gravity signals that can be acquired according to acceleration transducer 1711, control touch display screen 1705 with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 1711 can be also used for game or the exercise data of user Acquisition.
Gyro sensor 1712 can detecte body direction and the rotational angle of terminal 1700, gyro sensor 1712 Acquisition user can be cooperateed with to act the 3D of terminal 1700 with acceleration transducer 1711.Processor 1701 is according to gyro sensors The data that device 1712 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1705 in terminal 1700 can be set in pressure sensor 1713.When When the side frame of terminal 1700 is arranged in pressure sensor 1713, user can detecte to the gripping signal of terminal 1700, by Reason device 1701 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1713 acquires.Work as pressure sensor 1713 when being arranged in the lower layer of touch display screen 1705, is grasped by processor 1701 according to pressure of the user to touch display screen 1705 Make, realization controls the operability control on the interface UI.Operability control include button control, scroll bar control, At least one of icon control, menu control.
Fingerprint sensor 1714 is used to acquire the fingerprint of user, is collected by processor 1701 according to fingerprint sensor 1714 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1714 according to the identity of collected fingerprint recognition user.Knowing Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1701, which grasps Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1714 can be set Set the front, the back side or side of terminal 1700.When being provided with physical button or manufacturer Logo in terminal 1700, fingerprint sensor 1714 can integrate with physical button or manufacturer Logo.
Optical sensor 1715 is for acquiring ambient light intensity.In one embodiment, processor 1701 can be according to light The ambient light intensity that sensor 1715 acquires is learned, the display brightness of touch display screen 1705 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 1705 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1705 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1701 can also be acquired according to optical sensor 1715, is moved The acquisition parameters of state adjustment CCD camera assembly 1706.
Proximity sensor 1716, also referred to as range sensor are generally arranged at the front panel of terminal 1700.Proximity sensor 1716 for acquiring the distance between the front of user Yu terminal 1700.In one embodiment, when proximity sensor 1716 is examined When measuring the distance between the front of user and terminal 1700 and gradually becoming smaller, by processor 1701 control touch display screen 1705 from Bright screen state is switched to breath screen state;When proximity sensor 1716 detect the distance between front of user and terminal 1700 by When gradual change is big, touch display screen 1705 is controlled by processor 1701 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1700 of structure shown in Figure 17 Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, the meter Calculation machine readable storage medium storing program for executing can be computer readable storage medium included in the memory in above-described embodiment;It can also be with It is individualism, without the computer readable storage medium in supplying terminal.Be stored in the computer readable storage medium to Few an instruction, at least a Duan Chengxu, code set or instruction set, it is at least one instruction, an at least Duan Chengxu, described Code set or instruction set are loaded by the processor and are executed to realize the node map as described in Fig. 2, Fig. 9 and Figure 13 are any Setting method.
Optionally, the computer readable storage medium may include: read-only memory (ROM, Read Only Memory), Random access memory (RAM, Random Access Memory), solid state hard disk (SSD, Solid State Drives) or light Disk etc..Wherein, random access memory may include resistive random access memory body (ReRAM, Resistance Random Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).Above-mentioned Apply for that embodiment sequence number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (15)

1. a kind of setting method of node map, which is characterized in that the described method includes:
It shows map set interface, includes node setting option and adjustment point setting area in the map set interface;
The first operation acted on the node setting option is received, the node setting option is used for in the node map Host node is configured;
The host node in the node map is determined according to first operation;
The second operation acted in adjustment point setting area is received, the adjustment point setting area is used for by adjacent The adjustment of adjustment point between two host nodes, is configured the track between the two neighboring host node, described The two neighboring host node and adjustment point are passed through in the track between two neighboring host node;
The track between the two neighboring host node is determined according to second operation;
The node map is generated according to the track between the host node and the two neighboring host node in the node map.
2. the method according to claim 1, wherein
It include map setting panel and map preview picture, the node setting option and the adjustment in the map set interface Point setting area is located in map setting panel, and the map preview picture is used for the host node and described adjacent two Track between a host node carries out preview;
And/or
It include map setting panel and the map preview picture, node setting option position in the map set interface In map setting panel, the adjustment point setting area is located in the map preview picture.
3. according to the method described in claim 2, it is characterized in that, when the adjustment point setting area is located at map setting It include adjustment point coordinate setting option when in panel, in the adjustment point setting area, the reception acts on the adjustment point and sets Set the second operation in region, comprising:
The Coordinate Adjusting operation on the adjustment point coordinate setting option is received as second operation, the Coordinate Adjusting behaviour It acts on and coordinate of the adjustment point in the node map is adjusted.
4. according to the method described in claim 3, it is characterized in that, the map setting panel in further include track options, The track options is for selecting track to be adjusted, the seat received on the adjustment point coordinate setting option Before mark adjustment operation, further includes:
The selection operation in the track options is received, the corresponding track of the selection operation is determined as the coordinate tune Track where the adjustment point of whole operation adjustment.
5. according to the method described in claim 2, it is characterized in that, when the adjustment point setting area is located at the map preview It include that preview adjusts point when in picture, in the adjustment point setting area, the reception acts on the adjustment point setting area In second operation, comprising:
It receives to the drag operation of preview adjustment point as second operation, the drag operation is used for the preview Position of the adjustment point in the map preview picture is adjusted;
Using position of the preview adjustment point in the map preview picture as the adjustment point in the node map Position.
6. according to any method of claim 2 to 5, which is characterized in that further include animation in the map setting panel Effect setting option, the animation effect setting option are used to carry out the animation effect of the track between the two neighboring host node Setting;
Track between the host node and the two neighboring host node according in the node map generates the node Before map, further includes:
The setting operation on the animation effect setting option is received, the setting operation is for the sampled point to the track At least one of number, height of sampling, animation effect are configured;
It is sampled, is obtained in the track according to track side of the setting operation between the two neighboring host node The first sample track and the second sample track of two sides;
By in k-th of sampled point ,+1 sampled point of kth and second sample track in first sample track K-th of sampled point constructs tri patch, forms the animation effect model of the track, k is positive integer.
7. according to the method described in claim 6, it is characterized in that, described operate according to the setting in the two neighboring master Track side between node is sampled, comprising:
The sampling number of the track is determined according to the setting operation;
For (i-1)-th track between (i-1)-th host node and i-th of host node, (i-1)-th rail is determined Mark accounts for the ratio of whole track;
The sampling number and the ratio are multiplied, the corresponding sub-sampling points in (i-1)-th track are obtained;
The sub-sampling points, which are corresponded to, in (i-1)-th track two sides carries out average sample, i > 1 respectively.
8. method according to any one of claims 1 to 5, which is characterized in that described according to the second operation determination Track between two neighboring host node, comprising:
It is operated according to second setting and determines the point of the adjustment between (i-1)-th host node and i-th of host node Coordinate;
The coordinate of the coordinate of (i-1)-th host node and adjustment point is substituted into curvilinear function, obtains (i-1)-th institute State the corresponding lopcus function in track.
9. according to any method of claim 2 to 5, which is characterized in that described according to the second operation determination After track between two neighboring host node, further includes:
The track between (i-1)-th host node and i-th of host node is being carried out in advance in the map preview picture It lookes at.
10. method according to any one of claims 1 to 5, which is characterized in that the node setting option includes that node increases choosing , the reception acts on the first operation on the node setting option, comprising:
Increase the selection operation on option in the node when receiving, and is shown in current map preview screen described in n When host node, (n+1)th host node, n > 2 are shown in the map preview picture.
11. method according to any one of claims 1 to 5, which is characterized in that the node setting option includes knot removal choosing , the reception acts on the first operation on the node setting option, comprising:
When receiving the selection operation on the knot removal option, and being selected in current map preview screen is m When a host node, m-th of host node is deleted in the map preview picture, m is positive integer.
12. a kind of setting device of node map, which is characterized in that described device includes:
Display module includes that node setting option and adjustment point are set for showing map set interface, in the map set interface Set region;
Receiving module, for receiving the act on the node setting option first operation, the node setting option is used for institute The host node stated in node map is configured;
Determining module, for determining the host node in the node map according to first operation;
The receiving module, is also used to receive the second operation acted in adjustment point setting area, and the adjustment point is set Region is set to be used for by the adjustment to the adjustment point between the two neighboring host node, between the two neighboring host node Track be configured, the track between the two neighboring host node is by the two neighboring host node and described Adjustment point;
The determining module is also used to determine the track between the two neighboring host node according to second operation;
Generation module, for being generated according to the track between the host node and the two neighboring host node in the node map The node map.
13. device according to claim 12, which is characterized in that
It include map setting panel and map preview picture, the node setting option and the adjustment in the map set interface Point setting area is located in map setting panel, and the map preview picture is used for the host node and described adjacent two Track between a host node carries out preview;
Or,
It include map setting panel and the map preview picture, node setting option position in the map set interface In map setting panel, the adjustment point setting area is located in the map preview picture.
14. a kind of terminal, which is characterized in that the terminal includes processor and memory, is stored at least in the memory One instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the generation Code collection or instruction set are loaded by the processor and are executed to realize setting for the node map as described in claim 1 to 11 is any Set method.
15. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction Collection is loaded by the processor and is executed the setting method to realize the node map as described in claim 1 to 11 is any.
CN201910098535.XA 2019-01-31 2019-01-31 Node map setting method, device and storage medium Active CN109771950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910098535.XA CN109771950B (en) 2019-01-31 2019-01-31 Node map setting method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910098535.XA CN109771950B (en) 2019-01-31 2019-01-31 Node map setting method, device and storage medium

Publications (2)

Publication Number Publication Date
CN109771950A true CN109771950A (en) 2019-05-21
CN109771950B CN109771950B (en) 2021-08-10

Family

ID=66502991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910098535.XA Active CN109771950B (en) 2019-01-31 2019-01-31 Node map setting method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109771950B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113332720A (en) * 2021-05-27 2021-09-03 网易(杭州)网络有限公司 Game map display method and device, computer equipment and storage medium
CN113350793A (en) * 2021-06-16 2021-09-07 网易(杭州)网络有限公司 Interface element setting method and device, electronic equipment and storage medium
CN114063844A (en) * 2021-11-23 2022-02-18 维沃移动通信有限公司 Setting method, setting device, electronic equipment and readable storage medium
CN113350793B (en) * 2021-06-16 2024-04-30 网易(杭州)网络有限公司 Interface element setting method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885296A (en) * 2006-07-11 2006-12-27 北京金山软件有限公司 Method for drawing map in game
CN101419076A (en) * 2007-10-22 2009-04-29 索尼株式会社 Display route creation method, display route creation apparatus, and display route creation program
CN104374395A (en) * 2014-03-31 2015-02-25 南京邮电大学 Graph-based vision SLAM (simultaneous localization and mapping) method
CN104484513A (en) * 2014-12-02 2015-04-01 厦门飞游信息科技有限公司 Map generation method and computing device
CN105865442A (en) * 2016-03-31 2016-08-17 国网北京市电力公司 Visualization tracking method and apparatus
CN106075907A (en) * 2016-06-02 2016-11-09 苏州乐米信息科技有限公司 A kind of edit methods of map
US20170312632A1 (en) * 2016-04-29 2017-11-02 Activision Publishing, Inc. System and method for identifying spawn locations in a video game
US9889380B1 (en) * 2013-04-03 2018-02-13 Kabam, Inc. Adjusting individualized content made available to users of an online game based on user gameplay information

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885296A (en) * 2006-07-11 2006-12-27 北京金山软件有限公司 Method for drawing map in game
CN101419076A (en) * 2007-10-22 2009-04-29 索尼株式会社 Display route creation method, display route creation apparatus, and display route creation program
US9889380B1 (en) * 2013-04-03 2018-02-13 Kabam, Inc. Adjusting individualized content made available to users of an online game based on user gameplay information
CN104374395A (en) * 2014-03-31 2015-02-25 南京邮电大学 Graph-based vision SLAM (simultaneous localization and mapping) method
CN104484513A (en) * 2014-12-02 2015-04-01 厦门飞游信息科技有限公司 Map generation method and computing device
CN105865442A (en) * 2016-03-31 2016-08-17 国网北京市电力公司 Visualization tracking method and apparatus
US20170312632A1 (en) * 2016-04-29 2017-11-02 Activision Publishing, Inc. System and method for identifying spawn locations in a video game
CN106075907A (en) * 2016-06-02 2016-11-09 苏州乐米信息科技有限公司 A kind of edit methods of map

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
互联网: "你应该了解的所有Saga地图规格", 《HTTPS://WWW.GAMERES.COM/695617.HTML》 *
刘庆文: "Godot3游戏引擎入门之一:熟悉编辑器界面", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/43724079》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113332720A (en) * 2021-05-27 2021-09-03 网易(杭州)网络有限公司 Game map display method and device, computer equipment and storage medium
CN113350793A (en) * 2021-06-16 2021-09-07 网易(杭州)网络有限公司 Interface element setting method and device, electronic equipment and storage medium
CN113350793B (en) * 2021-06-16 2024-04-30 网易(杭州)网络有限公司 Interface element setting method and device, electronic equipment and storage medium
CN114063844A (en) * 2021-11-23 2022-02-18 维沃移动通信有限公司 Setting method, setting device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN109771950B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN108268187A (en) The display methods and device of intelligent terminal
CN108415705A (en) Webpage generating method, device, storage medium and equipment
CN110233976A (en) The method and device of Video Composition
CN110062269A (en) Extra objects display methods, device and computer equipment
CN109302538A (en) Method for playing music, device, terminal and storage medium
CN107888968A (en) Player method, device and the computer-readable storage medium of live video
CN109729297A (en) The method and apparatus of special efficacy are added in video
CN109346111B (en) Data processing method, device, terminal and storage medium
CN109618212A (en) Information display method, device, terminal and storage medium
CN110309243A (en) Obtain method, apparatus, equipment and the storage medium of outdoor scene electronic map
CN107978321A (en) Audio-frequency processing method and device
CN108965922A (en) Video cover generation method, device and storage medium
CN108039184A (en) Lyrics adding method and device
CN108831424B (en) Audio splicing method and device and storage medium
CN109931934A (en) The method and device for planning of unmanned plane job task
CN109302385A (en) Multimedia resource sharing method, device and storage medium
CN109192218A (en) The method and apparatus of audio processing
CN110225390A (en) Method, apparatus, terminal and the computer readable storage medium of video preview
CN110059686A (en) Character identifying method, device, equipment and readable storage medium storing program for executing
CN109547843A (en) The method and apparatus that audio-video is handled
CN110288689A (en) The method and apparatus that electronic map is rendered
CN110121094A (en) Video is in step with display methods, device, equipment and the storage medium of template
CN109218751A (en) The method, apparatus and system of recommendation of audio
CN109102811A (en) Generation method, device and the storage medium of audio-frequency fingerprint
CN109771950A (en) Setting method, equipment and the storage medium of node map

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
GR01 Patent grant
GR01 Patent grant