CN109697123A - The rendering method and device of game animation, storage medium, electronic device - Google Patents

The rendering method and device of game animation, storage medium, electronic device Download PDF

Info

Publication number
CN109697123A
CN109697123A CN201711001585.9A CN201711001585A CN109697123A CN 109697123 A CN109697123 A CN 109697123A CN 201711001585 A CN201711001585 A CN 201711001585A CN 109697123 A CN109697123 A CN 109697123A
Authority
CN
China
Prior art keywords
game
thread
client
mission objective
data
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
CN201711001585.9A
Other languages
Chinese (zh)
Other versions
CN109697123B (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 CN201711001585.9A priority Critical patent/CN109697123B/en
Publication of CN109697123A publication Critical patent/CN109697123A/en
Application granted granted Critical
Publication of CN109697123B publication Critical patent/CN109697123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of rendering methods of game animation and device, storage medium, electronic device.Wherein, this method comprises: obtaining the operational order to target game on the client, target game is the web game run in the client of supported web page environment;It obtains operational order and indicates the Mission Objective executed in target game;Mission Objective is based on by multiple threads to run parallel, renders game animation when executing Mission Objective in target game on the client, and multiple threads are the thread for operational objective game.The present invention solves the lower technical problem of frame per second of game picture in the related technology.

Description

The rendering method and device of game animation, storage medium, electronic device
Technical field
The present invention relates to internet areas, and the rendering method and device, storage in particular to a kind of game animation are situated between Matter, electronic device.
Background technique
Web game is also known as web game, belongs to network game for no reason, the trip of abbreviation page, is that online more people based on web browser are mutual Dynamic online game configures inadequate problem there is no machine without downloading client, it is most important that closes or switches extremely It is convenient.Web game is probably divided into two types: first is that being based on web browser, being built using interpretative codes such as PHP/ASP/Perl Virtual community;Second is that being based on web browser, the game made using Flash/JAVA technology.
With the development of internet, cell phone internet has gradually become the main direction of development of internet.Web game See prepared exclusively for the following cell phone internet epoch in this sense, many popular applications, game, all There is the application of web mobile phone, then cell phone internet is come into web game also can gradually popularize.
During current web mobile phone games operation, when user is when web client carries out game operation, by web Thread where client carries out game processing and picture rendering and utilizes game logic specifically first according to game operation Rendering data is calculated, then renders game frame picture using rendering data, during rendering, needs to wait wash with watercolours always Contaminating DSR just will do it rendering, so that the efficiency for causing game processing is lower, the frame per second of obtained game picture (the picture frame number i.e. in the unit time) is lower.
For the lower technical problem of the frame per second of game picture in the related technology, effective solution side is not yet proposed at present Case.
Summary of the invention
The embodiment of the invention provides a kind of rendering methods of game animation and device, storage medium, electronic device, so that The lower technical problem of few frame per second for solving game picture in the related technology.
According to an aspect of an embodiment of the present invention, a kind of rendering method of game animation is provided, this method comprises: The operational order to target game is obtained in client, target game is the webpage run in the client of supported web page environment Game;It obtains operational order and indicates the Mission Objective executed in target game;It is parallel that Mission Objective is based on by multiple threads Operation, renders game animation when executing Mission Objective in target game on the client, and multiple threads are for running The thread of target game.
According to another aspect of an embodiment of the present invention, a kind of rendering device of game animation is additionally provided, which includes: First acquisition unit, for obtaining the operational order to target game on the client, target game is in supported web page environment Client in the web game that runs;Second acquisition unit indicates execution for obtaining operational order in target game Mission Objective;Rendering unit runs parallel for being based on Mission Objective by multiple threads, is rendered on the client in target Game animation when Mission Objective is executed in game, multiple threads are the thread for operational objective game.
In embodiments of the present invention, it obtains on the client to target game (in the client of supported web page environment The web game of operation) operational order, obtain operational order indicated in target game execute Mission Objective;By multiple Thread is based on Mission Objective and runs parallel, and the game rendered when executing Mission Objective in target game on the client is dynamic It draws, since multiple threads are to run parallel, can solve the lower technical problem of the frame per second of game picture in the related technology, in turn Reach the technical effect for improving the frame per second of game picture.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of the rendering method of game animation according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the rendering method of optional game animation according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of optional game logic dismantling according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of optional thread function according to an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of optional thread function according to an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of optional game picture frame number according to an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of the rendering device of optional game animation according to an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of optional game picture according to an embodiment of the present invention;And
Fig. 9 is a kind of structural block diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Firstly, the part noun or term that occur during the embodiment of the present invention is described are suitable for as follows It explains:
Web:web (World Wide web) i.e. global wide area network, also referred to as WWW, it be it is a kind of based on hypertext and HTTP, global, dynamic interaction, cross-platform distributed graphic information system.One be built upon on Internet Kind network service, searches and browses on internet information for viewer and provide patterned, easily accessed intuitive boundary Information node on Internet is organized into an associated reticular structure each other by face, document therein and hyperlink.
According to embodiments of the present invention, a kind of embodiment of the method for the rendering method of game animation is provided.
Optionally, in the present embodiment, the rendering method of above-mentioned game animation can be applied to as shown in Figure 1 by servicing In the hardware environment that device 102 and terminal 104 are constituted.As shown in Figure 1, server 102 is connected by network with terminal 104 Connect, above-mentioned network includes but is not limited to: wide area network, Metropolitan Area Network (MAN) or local area network, terminal 104 are not limited to PC, mobile phone, plate electricity Brain etc..The rendering method of the game animation of the embodiment of the present invention can be executed by server 102, can also by terminal 104 It executes, can also be and executed jointly by server 102 and terminal 104.Wherein, terminal 104 executes the game of the embodiment of the present invention The rendering method of animation is also possible to be executed by client mounted thereto.
Fig. 2 is a kind of flow chart of the rendering method of optional game animation according to an embodiment of the present invention, such as Fig. 2 institute Show, this method may comprise steps of:
Step S202, obtains the operational order to target game on the client, and target game is in supported web page environment The web game (such as web game) run in the client of (such as web environment).
Above-mentioned client is the client of supported web page environment, including but not limited to: web browser supports web function The social application of energy, instant messaging application, Video Applications, music application, input method application.
The game that above-mentioned target game is run in the client, including but not limited to: single-play game, network are online Game, role playing game RPG (Role-playing Game), action game ACT (Action Game), venture game AVG (Adventure Game), first person shooting game FPS (First Personal Shooting Game), the third party Claim shooting game TPS (Third Personal Shooting Game), fighting games FTG (Fighting Game), more people Online tactics competitive game MOBA (Multiplayer online battle arena), card games CAG (Card Game), Real time strategy RTS (Real-Time Strategy Game).
Above-mentioned operational order is to be issued by participant in game for carrying out the finger of Mission Objective to target game role The instruction shown, such as in shooting game, the person of markinging fire carries out mobile move, the person of markinging fire is shot at shooting Instruction.
Step S204 obtains operational order and indicates the Mission Objective executed in target game.
In the game logic of game, it is pre-established with the corresponding relationship of operational order and Mission Objective, step S204 is to search corresponding Mission Objective according to the operational order being currently received, and such as in shooting game, searches and refers to movement The mobile task (ejaculator carries out mobile task) of order, searching fire mission corresponding with shooting instruction, (ejaculator penetrates Hitting for task).
Step S206 is based on Mission Objective by multiple threads and runs parallel, rendered on the client in target game Game animation when middle execution Mission Objective, multiple threads are the thread for operational objective game.
It in the related technology, is that the thread where having client is uniformly handled, including is gone here and there when receiving Mission Objective Row processing game logic and game rendering, it is however generally that, game logic is more complicated, and game logic needs disappear in circulation each time The time of consumption is long, and game rendering needs to wait the long period, for the processing of game logic, is circulated throughout each time It is also required to etc. just to carry out after completion to be rendered in journey, so that circulation needs to take a long time every time, game is caused to draw The frame per second in face is lower.
In above-mentioned steps S206, multiple threads are run to render on the client parallel based on Mission Objective and be swum in target In play execute Mission Objective when game animation when, game logic, the part thread of part thread process Mission Objective are swum The rendering of play animation continuously can execute game according to Mission Objective and patrol for handling the thread of game logic It collects and obtains data to be rendered (i.e. the first data), without waiting the game rendering in circulation each time to terminate, and for place For the thread for managing game rendering, the rendering of game animation can be continuously carried out according to obtained data to be rendered, And without waiting for the end of game logic processing.
For single thread, for handle game logic thread for, without waiting for game rendering end, The processing of game logic can be carried out always, so that the data to be rendered obtained in the unit time are more;For handling game For the thread of rendering, without waiting for the end of game logic processing, the processing of game rendering can be carried out always, so that unit Rendering frame out is more in time.
S202 to step S206 through the above steps is obtained on the client to target game (as supporting web environment The web game run in client) operational order, obtain operational order indicated in target game execute Mission Objective; Mission Objective is based on by multiple threads to run parallel, is rendered when executing Mission Objective in target game on the client Game animation can solve the lower technology of frame per second of game picture in the related technology since multiple threads are to run parallel Problem, and then reach the technical effect for improving the frame per second of game picture.
Embodiments herein is described in further detail below with reference to step shown in Fig. 2:
In the technical solution that step S202 is provided, the operational order to target game, target trip are obtained on the client Play can be the web game run in the client for supporting web environment.
When participant in game carries out game operation in the client, mobile terminal (installs the end of above-mentioned client End) can action event on real-time monitoring game input devices (such as handle, mouse, keyboard, touch screen, gesture identifying device), In the case where detecting action event on mobile terminals, operational order corresponding with action event is obtained on the client.
Such as in shooting game, when participant in game clicks " movable button " in the client, operational order be with " movable button " corresponding move, when participant in game clicks " button " in the client, operational order is Shooting instruction corresponding with " button ".
In the technical solution that step S204 is provided, obtains operational order and indicate that the game executed is appointed in target game Business.
Such as in shooting game, searches and (indicate that the role ejaculator in game moves with the mobile task of move Dynamic task), search and the corresponding fire mission of shooting instruction (indicate the role ejaculator in game task of being shot at).
In the technical solution that step S206 is provided, Mission Objective is based on by multiple threads and is run parallel, in client On render game animation when executing Mission Objective in target game, multiple threads are line for operational objective game Journey.
Above-mentioned being run parallel by multiple threads based on Mission Objective is primarily referred to as: executing trip by multiple thread parallels Play task and rendering task corresponding with Mission Objective, the data that rendering task is used to be obtained according to execution Mission Objective are in client Game animation when executing Mission Objective in target game is rendered on end.
The above-mentioned thread for executing Mission Objective is first thread, and the thread for executing rendering task is the second line Journey, the second thread can be the UI thread of client, and first thread is worker thread, carry out below with reference to following steps detailed It states:
Step S11 is obtained before executing Mission Objective and rendering task corresponding with Mission Objective by multiple thread parallels The identification information of client is taken, identification information is used to indicate whether client supports multithreading to run, specifically, identification information For for identifying whether the information of support worker thread.
For being browser such as client, worker thread is not generally supported compared with the browser of lowest version, and higher-version Then support worker thread, therefore identification information herein can be the version information of browser.
For another example client is the non-browsers types such as social application in application, relevant information (such as log, application of application Introduce etc.) in can illustrate whether support worker thread, then the relevant information of the application of identification information, that is, above-mentioned.web worker It is the JavaScript for operating in backstage, independently of other scripts, will not influence the performance of the page, done in client any other When thing (such as click, choose content), and web worker is not interfere with each other in running background at this time, will not influence web The performance of client.
Step S12, in the case where identification information instruction client supports multithreading operation, by executing for creating the The JAVASCRIPT code of one thread creates the first thread for executing Mission Objective.
Step S13 leads to when executing Mission Objective and rendering task corresponding with Mission Objective by multiple thread parallels It crosses first thread in multiple threads and executes game logic corresponding with Mission Objective, obtain the first data, one or more the One data are used to render the game picture frame in game animation in the client.
Optionally, above-mentioned first thread can be multiple, in the case where Mission Objective is multiple, pass through multiple first Thread parallel executes multiple Mission Objectives." multiple first threads execute multiple Mission Objectives parallel " herein includes following two Situation:
(1) each first thread handles a Mission Objective;
(2) multiple first threads handle a Mission Objective.
For above-mentioned second situation, can be accomplished in that
It is as shown in Figure 3:, can be the severe complex logic in game in view of the processing of game logic occupies the long period Fragmentation is carried out, dismantling is distributed to multiple animation frames and carrys out operation, every frame handles one at several more independent sub- logic modules Sub- logic avoids being blocked in a certain frame, draws UI by the first data that multiple first threads are handled for the second thread and provides Service.
It should be understood that 1) disassemble to severe logic, needing every sub- logic is more independent logical operation; 2) although several sub- logics that severe logic is disassembled out are more independent, but this several sub- logics may be presence It is associated, it is contemplated that there may be data dependence between sub- logic, settable additional state machine is maintained between sub- logic Connection, with reach dismantling before overall logic effect.
If dismantling severe is logically present following problems: 1) in some cases, the severe logic of script may be to rely on What some algorithm frame was built, if disassembled, the unavoidable modification for carrying out algorithm so just destroys calculation The globality of method, it is also particularly troublesome that maintenance, which is got up,;2) it is suitable for disassembling in not all situation, if the severe of script is patrolled Volume inherently strong tie close coupling, the difficulty disassembled in this case be it is very high, can not even disassemble.
It is convenient for safeguarding in order not to destroy the overall coherence of logic, then the first above-mentioned situation can be used, is not needed Logic dismantling is carried out, the processing of game logic is put on another thread, with the processing of main UI thread parallel, is equally also reached The effect for avoiding UI from blocking.
Step S14 executes rendering by the second thread in multiple threads and appoints while first thread executes task Business, to render the game picture in game animation frame by frame using the first data.
Step S15, when executing Mission Objective and rendering task corresponding with Mission Objective by multiple thread parallels, the One thread is communicated by the way of asynchronous communication with the second thread.
First thread is transmitted to message queue after obtaining the first data, by the first data by the way of asynchronous message It is saved, message queue is exclusively used in saving the first data to be processed for the second thread.
It whether there is the first data in second thread real-time detection message queue, there are the first data in message queue In the case of, it reads the first data and executes rendering task.
In the technical solution of the application, web worker technology is mainly used to carry out the fluency of web game Optimization is promoted game FPS (the game picture frame of output per second).It is being browsed since web game relies on javascript script It is run on device, there are apparent runnability drawback, still further aspect javascript for one side javascript language itself Language is single thread language, and game logical operation and UI rendering are in same thread, the game of severe complexity under traditional way Logical operation can block UI rendering and cause game Caton problem.Web worker provide it is a kind of creation worker thread it is simple Method, permission handle computation-intensive task without influencing main UI thread under worker thread.The present invention uses web worker Technology pulls out the logical operation of complicated severe to be put under worker thread and run and main UI thread is separated, then Interaction models are established between main UI thread and worker thread.The logical operation for solving severe complexity block main UI thread and Caused by game picture Caton problem, ensure that the stabilization of game rendering frame per second, to guarantee the whole smooth fortune of web game Row.
As a kind of optional embodiment, embodiments herein is described in detail below with reference to Fig. 4.
As shown in figure 4, newly having opened a worker line using web worker technology in the technical solution of the application Severe game logic operation is put into worker thread by journey, and with the processing of main UI thread parallel, main UI thread and worker thread are straight Message mechanism was connected to interact.There is input to operate every time, main UI thread sends message after being handled and (such as passes through Postmessage sends Mission Objective) corresponding logic is executed to worker thread, after sending message, main UI thread continues It executes down.Worker thread receives command messages and executes logical operation, generates animation data (the first data) in calculating process Main UI thread is sent to by message mode immediately, the main every frame of UI thread inquires animation data queue, and discovery has animation data, just It takes out and carries out game picture drafting.Since UI thread and worker thread are independent parallels, each logical operation all by Worker thread carries out asynchronous process, can't block the game cycle of main UI thread.So it can be transported to avoid logic Calculation causes card frame problem, to guarantee the stable high frame per second operation of game.
In order to allow scheme to have better compatibility, the application has done some improvement in Project, can from Fig. 5 It arrives, the scheme of improvement encapsulates one layer on the game logic of script, referred to herein as logical adaptation layer.In logical adaptation layer Face logic branch processing is made according to support situation of the running environment to web worker.The case where not supporting web worker Under, the running game logical operation directly on UI thread, and logic before split scheme and are consistent.Supporting web In the case where worker, asynchronous message is processed inside logical adaptation layer, is responsible for and worker thread is communicated.worker The animation data generated inside thread is also to first pass through asynchronous message to notify to give logical adaptation layer, and logical adaptation layer is again animation number According to being cached to animation data queue.
Scheme after improvement has several benefits:
(1) logical adaptation layer can be packaged into the interface as game logic module, can reduce original outer layer in this way The change of calling logic.Because introducing after web worker, the data of game logic output are obtained, it can only be by message side Formula is transmitted.It is that difference is very big that the mode of game logic module is called under this message transmission mode and non-worker mode 's.And introduce after logical adaptation layer, the interacting message logic under worker mode can be encapsulated, externally exposure at The same calling interface under non-worker mode, the calling logic of such script need not just modify or only need to carry out A small amount of modification.
(2) logical adaptation layer with the logic that worker is interacted after being encapsulated, when outer layer is called Just without being concerned about that being presently at worker mode also is non-worker mode.Because adaptation layer has been handled well, either Worker mode is also non-worker mode, is the same for outer layer.So, calling logic can be more simple Clearly, the complexity of outer layer calling can't be increased because of the introducing of worker.
(3) introducing of logical adaptation layer allows logic to be more clear, and is easy to the maintenance in later period.Logical adaptation layer is UI calling layer With logical layer is completely isolated comes, also facilitate so subsequent because some special places are done in some specific demands in adaptation layer Reason.Since the logic of specially treated is realized in logical adaptation layer, this will not influence the calling logic of outer layer.
(4) logical adaptation layer can suitably do some data buffer storages.Such as in eliminating class game, some shapes of logical layer State is just changeless after initializing, it is not necessary that is inquired every time by message communicating.This variation is fewer Data are sent to logical adaptation layer after can initializing, do some data buffer storages in logical adaptation layer.Due to patrolling for caching Collecting is also to be realized in adaptation layer, calls to outer layer and has not perceived, will not influence the calling logic of outer layer.
Related art scheme before comparison, the problem of can clearly seeing related art scheme, is in the technical program In be all not present.Because problem brought by prior art is all mostly caused by logical process is relatively slow, and this skill Art scheme is multi-threaded parallel operation, and need not be split to logic, so will not generate caused by prior art Problem.
Still further aspect, because logical operation and picture rendering are serial in related art scheme, even if being transported in logic Calculation process also do not complete when has just produced animation data, at this time can not playing animation, until logical operation it is complete Rendering animation could be executed at later.And the technical program is then different, in the technical program, logical operation and picture rendering are Parallel processing, it is non-interference, as long as logical operation has animation data to be sent to animation data queue, the work of animation rendering It can carry out at any time.Generally the broadcasting of animation can be felt from the experience of user much sooner, and the response of input can more Add in time, better user experience can be brought.
It is relatively applicable in the technical solution of this programme in the game products for having complicated independent logical, is such as applied to " like everyday Eliminate H5 editions ".The promotion that this programme can bring game flow freely to spend, most direct index are the promotions on FPS.As " liked everyday Eliminate H5 editions " using after the program, it is tested under low side Android machine environment, as shown in fig. 6, horizontal axis indicates the time, is indulged Axis indicates frame per second (number of pictures per second), and the average FPS of game running is increased to 38 frames (full frame is 60), Er Qieying from pervious 27 frame Very stable with frame per second after the program, effect of optimization is fairly obvious.Main mode of operation is that game logic is individually pulled out Independently to open a worker thread individually at a javascript file to handle this game logic." love is eliminated everyday H5 editions " using the framework separated with game logic is showed, it eliminates relevant logic and is completely independent, " love eliminates H5 editions everyday " Logical layer breaks into a javascript file, creates a worker thread for the javascript to receive the behaviour of player Make and handles elimination interrelated logic.
The promotion that this programme can bring game flow freely to spend, most direct index are the promotions of FPS." love eliminates H5 everyday Version " using after the program, it is tested under low side Android machine environment, the average FPS of game running is mentioned from pervious 27 frame Frame per second is very stable to 38 frames (full frame is 60), and after the application program for height, and effect of optimization is fairly obvious.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
According to embodiments of the present invention, it additionally provides a kind of for implementing the game animation of the rendering method of above-mentioned game animation Rendering device.Fig. 7 is a kind of schematic diagram of the rendering device of optional game animation according to an embodiment of the present invention, such as Fig. 7 It is shown, the apparatus may include: first acquisition unit 71, second acquisition unit 73 and rendering unit 75.
First acquisition unit 71, for obtaining the operational order to target game on the client, wherein target game is The web game run in the client of supported web page environment.
Above-mentioned client is the client of supported web page environment, including but not limited to: web browser supports web function The social application of energy, instant messaging application, Video Applications, music application, input method application.
The game that above-mentioned target game is run in the client, including but not limited to: single-play game, network are online Game, role playing game RPG (Role-playing Game), action game ACT (Action Game), venture game AVG (Adventure Game), first person shooting game FPS (First Personal Shooting Game), the third party Claim shooting game TPS (Third Personal Shooting Game), fighting games FTG (Fighting Game), more people Online tactics competitive game MOBA (Multiplayer online battle arena), card games CAG (Card Game), Real time strategy RTS (Real-Time Strategy Game).
Above-mentioned operational order is to be issued by participant in game for carrying out the finger of Mission Objective to target game role The instruction shown, such as in shooting game, the person of markinging fire carries out mobile move, the person of markinging fire is shot at shooting Instruction.
Second acquisition unit 73 indicates the Mission Objective executed for obtaining operational order in target game.
In the game logic of game, it is pre-established with the corresponding relationship of operational order and Mission Objective, second obtains It takes unit to search corresponding Mission Objective according to the operational order being currently received, such as in shooting game, searches and mobile The mobile task (ejaculator carries out mobile task) of instruction, searching fire mission corresponding with shooting instruction, (ejaculator carries out The task of shooting).As shown in figure 8, user can control dragging gun turret, and " the shooting pair that fired shells by " button " As ".
Rendering unit 75 runs parallel for being based on Mission Objective by multiple threads, is rendered on the client in mesh Mark game animation when executing Mission Objective in game, wherein multiple threads are the thread for operational objective game.
It in the related technology, is that the thread where having client is uniformly handled, including is gone here and there when receiving Mission Objective Row processing game logic and game rendering, it is however generally that, game logic is more complicated, and game logic needs disappear in circulation each time The time of consumption is long, and game rendering needs to wait the long period, for the processing of game logic, is circulated throughout each time It is also required to etc. just to carry out after completion to be rendered in journey, so that the frame number of game picture is lower.
In this application, multiple threads run to render on the client parallel and hold in target game based on Mission Objective When game animation when row Mission Objective, game logic, the part thread of part thread process Mission Objective carry out game animation Rendering, for handle game logic thread for, can continuously according to Mission Objective execute game logic obtain Data (i.e. the first data) to be rendered, without waiting the game rendering in circulation each time to terminate, and for handling game For the thread of rendering, the rendering of game animation continuously can be carried out according to obtained data to be rendered, and do not had to Wait the end of game logic processing.
For single thread, for handle game logic thread for, without waiting for game rendering end, The processing of game logic can be carried out always, so that the data to be rendered obtained in the unit time are more;For handling game For the thread of rendering, without waiting for the end of game logic processing, the processing of game rendering can be carried out always, so that unit Rendering frame out is more in time.
It should be noted that the first acquisition unit 71 in the embodiment can be used for executing the step in the embodiment of the present application Rapid S202, the second acquisition unit 73 in the embodiment can be used for executing the step S204 in the embodiment of the present application, the implementation Rendering unit 75 in example can be used for executing the step S206 in the embodiment of the present application.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization.
By above-mentioned module, obtained on the client to target game (to be run in the client of supported web page environment Web game) operational order, obtain operational order indicated in target game execute Mission Objective;Pass through multiple threads It is run parallel based on Mission Objective, renders game animation when executing Mission Objective in target game on the client, by It is to run parallel in multiple threads, can solve the lower technical problem of the frame per second of game picture in the related technology, and then reach Improve the technical effect of the frame per second of game picture.
In the technical solution of the application, web worker technology is mainly used to carry out the fluency of web game Optimization promotes game FPS.It is run on a web browser since web game relies on javascript script, on the one hand Javascript language itself is single thread language there are apparent runnability drawback, still further aspect javascript language It says, game logical operation and UI rendering are in same thread under traditional way, and the game logic operation of severe complexity can block UI rendering causes game Caton problem.Web worker provides a kind of straightforward procedure for creating worker thread, allows Computation-intensive task is handled under worker thread without influencing main UI thread.The present invention is using web worker technology complexity weight The logical operation of degree pulls out to be put under worker thread and run and main UI thread is separated, then in main UI thread and Interaction models are established between worker thread.The logical operation for solving severe complexity block main UI thread and caused by game draw Face Caton problem, ensure that the stabilization of game rendering frame per second, to guarantee the whole smooth operation of web game.Below with reference to Fig. 7 Shown in unit be described in detail:
Optionally, first acquisition unit 71 obtains on the client includes but is not limited to the operational order of target game Such as under type:
When participant in game carries out game operation in the client, mobile terminal (installs the end of above-mentioned client End) can action event on real-time monitoring game input devices (such as handle, mouse, keyboard, touch screen, gesture identifying device), In the case where detecting action event on mobile terminals, operational order corresponding with action event is obtained on the client.
Such as in shooting game, when participant in game clicks " movable button " in the client, operational order be with " movable button " corresponding move, when participant in game clicks " button " in the client, operational order is Shooting instruction corresponding with " button ".
The above-mentioned rendering unit of the application be also used to by multiple thread parallels execute Mission Objective and with Mission Objective pair The rendering task answered, rendering task are used to rendered on the client according to the data that execution Mission Objective obtains in target game Game animation when middle execution Mission Objective.
Optionally, rendering unit can include: first processing module, for executing trip by the first thread in multiple threads Play task obtains the first data, wherein the first data are used to render the game picture in game animation in the client;The Two processing modules, for executing rendering task by the second thread in multiple threads, to be rendered frame by frame using the first data Game picture in game animation.
Above-mentioned first processing module is also used in the case where Mission Objective is multiple, parallel by multiple first threads Execute multiple Mission Objectives.
Optionally, in order to realize the communication of first thread and the second thread, rendering unit further include: communication module is used for After obtaining the first data, message queue is transmitted in such a way that the first data are used asynchronous message by first thread and is carried out It saves, wherein message queue is used to save the first data to be processed for the second thread;Detection module, for passing through the second line Journey, which detects, whether there is the first data in message queue, wherein there are in the case where the first data in message queue, by the Two threads read the first data and execute rendering task.
Optionally, the device of the application may also include that third acquiring unit, for executing game by multiple thread parallels Before task and rendering task corresponding with Mission Objective, the identification information of client is obtained, wherein identification information is used to indicate Whether client supports multithreading to run;Creating unit, for supporting the feelings of multithreading operation in identification information instruction client Under condition, the first thread for executing Mission Objective is created.
In the technical solution of the application, have following feature:
(1) logical adaptation layer can be packaged into the interface as game logic module, can reduce original outer layer in this way The change of calling logic.Because introducing after web worker, the data of game logic output are obtained, it can only be by message side Formula is transmitted.It is that difference is very big that the mode of game logic module is called under this message transmission mode and non-worker mode 's.And introduce after logical adaptation layer, the interacting message logic under worker mode can be encapsulated, externally exposure at The same calling interface under non-worker mode, the calling logic of such script need not just modify or only need to carry out A small amount of modification.
(2) logical adaptation layer with the logic that worker is interacted after being encapsulated, when outer layer is called Just without being concerned about that being presently at worker mode also is non-worker mode.Because adaptation layer has been handled well, either Worker mode is also non-worker mode, is the same for outer layer.So, calling logic can be more simple Clearly, the complexity of outer layer calling can't be increased because of the introducing of worker.
(3) introducing of logical adaptation layer allows logic to be more clear, and is easy to the maintenance in later period.Logical adaptation layer is UI calling layer With logical layer is completely isolated comes, also facilitate so subsequent because some special places are done in some specific demands in adaptation layer Reason.Since the logic of specially treated is realized in logical adaptation layer, this will not influence the calling logic of outer layer.
(4) logical adaptation layer can suitably do some data buffer storages.Such as in eliminating class game, some shapes of logical layer State is just changeless after initializing, it is not necessary that is inquired every time by message communicating.This variation is fewer Data are sent to logical adaptation layer after can initializing, do some data buffer storages in logical adaptation layer.Due to patrolling for caching Collecting is also to be realized in adaptation layer, calls to outer layer and has not perceived, will not influence the calling logic of outer layer.
Related art scheme before comparison, the problem of can clearly seeing related art scheme, is in the technical program In be all not present.Because problem brought by prior art is all mostly caused by logical process is relatively slow, and this skill Art scheme is multi-threaded parallel operation, and need not be split to logic, so will not generate caused by prior art Problem.
Still further aspect, because logical operation and picture rendering are serial in related art scheme, even if being transported in logic Calculation process also do not complete when has just produced animation data, at this time can not playing animation, until logical operation it is complete Rendering animation could be executed at later.And the technical program is then different, in the technical program, logical operation and picture rendering are Parallel processing, it is non-interference, as long as logical operation has animation data to be sent to animation data queue, the work of animation rendering It can carry out at any time.Generally the broadcasting of animation can be felt from the experience of user much sooner, and the response of input can more Add in time, better user experience can be brought.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization, wherein hardware environment includes network Environment.
According to embodiments of the present invention, additionally provide a kind of server for implementing the rendering method of above-mentioned game animation or Terminal.
Fig. 9 is a kind of structural block diagram of terminal according to an embodiment of the present invention, as shown in figure 9, the terminal may include: one A or multiple (one is only shown in Fig. 9) processor 901, memory 903 and transmitting device 905 are (in such as above-described embodiment Sending device), as shown in figure 9, the terminal can also include input-output equipment 907.
Wherein, memory 903 can be used for storing software program and module, such as the game animation in the embodiment of the present invention Rendering method and the corresponding program instruction/module of device, the software journey that processor 901 is stored in memory 903 by operation Sequence and module realize the rendering method of above-mentioned game animation thereby executing various function application and data processing.It deposits Reservoir 903 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage fills It sets, flash memory or other non-volatile solid state memories.In some instances, memory 903 can further comprise relative to place The remotely located memory of device 901 is managed, these remote memories can pass through network connection to terminal.The example packet of above-mentioned network Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 905 is used to that data to be received or sent via network, can be also used for processor with Data transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example, Transmitting device 905 includes a network adapter (Network Interface Controller, NIC), can pass through cable It is connected with other network equipments with router so as to be communicated with internet or local area network.In an example, transmission dress 905 are set as radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 903 is for storing application program.
The application program that processor 901 can call memory 903 to store by transmitting device 905, to execute following steps It is rapid:
The operational order to target game is obtained on the client, wherein target game is the visitor in supported web page environment The web game run in the end of family;
It obtains operational order and indicates the Mission Objective executed in target game;
Mission Objective is based on by multiple threads to run parallel, renders execute game in target game on the client Game animation when task, wherein multiple threads are the thread for operational objective game.
Processor 901 is also used to execute following step:
After obtaining the first data, message is transmitted in such a way that the first data are used asynchronous message by first thread Queue is saved, wherein message queue is used to save the first data to be processed for the second thread;
Being detected by the second thread whether there is the first data in message queue, wherein there are first in message queue In the case where data, the first data are read by the second thread and execute rendering task.
Using the embodiment of the present invention, obtained on the client to target game (in the client of supported web page environment The web game of operation) operational order, obtain operational order indicated in target game execute Mission Objective;By multiple Thread is based on Mission Objective and runs parallel, and the game rendered when executing Mission Objective in target game on the client is dynamic It draws, since multiple threads are to run parallel, can solve the lower technical problem of the frame per second of game picture in the related technology, into And reach the technical effect for improving the frame per second of game picture.
Optionally, the specific example in the present embodiment can be with reference to example described in above-described embodiment, the present embodiment Details are not described herein.
It will appreciated by the skilled person that structure shown in Fig. 9 is only to illustrate, terminal can be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal devices such as PAD.Fig. 9 it does not cause to limit to the structure of above-mentioned electronic device.For example, terminal is also May include than shown in Fig. 9 more perhaps less component (such as network interface, display device) or have with shown in Fig. 9 Different configurations.
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 the relevant hardware of terminal device by program, which can store in a computer readable storage medium In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can With the program code of the rendering method for executing game animation.
Optionally, in the present embodiment, above-mentioned storage medium can be located at multiple in network shown in above-described embodiment On at least one network equipment in the network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S21 obtains the operational order to target game on the client, wherein target game is in supported web page environment Client in the web game that runs;
S22 obtains operational order and indicates the Mission Objective executed in target game;
S23 is based on Mission Objective by multiple threads and runs parallel, renders execute in target game on the client Game animation when Mission Objective, wherein multiple threads are the thread for operational objective game.
Optionally, storage medium is also configured to store the program code for executing following steps:
S31 is transmitted in such a way that the first data are used asynchronous message by first thread after obtaining the first data Message queue is saved, wherein message queue is used to save the first data to be processed for the second thread;
S32, being detected by the second thread whether there is the first data in message queue, wherein exist in message queue In the case where first data, the first data are read by the second thread and execute rendering task.
Optionally, the specific example in the present embodiment can be with reference to example described in above-described embodiment, the present embodiment Details are not described herein.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or The various media that can store program code such as CD.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (15)

1. a kind of rendering method of game animation characterized by comprising
The operational order to target game is obtained on the client, wherein the target game is in the institute of supported web page environment State the web game run in client;
It obtains the operational order and indicates the Mission Objective executed in the target game;
The Mission Objective is based on by multiple threads to run parallel, is rendered in the target game in the client Execute the game animation when Mission Objective, wherein the multiple thread is the thread for running the target game.
2. being run parallel the method according to claim 1, wherein being based on the Mission Objective by multiple threads Include:
The Mission Objective and rendering task corresponding with the Mission Objective are executed by the multiple thread parallel, wherein The rendering task is used to be rendered in the client in the target according to the data that the execution Mission Objective obtains The game animation when Mission Objective is executed in game.
3. according to the method described in claim 2, it is characterized in that, executing the Mission Objective by the multiple thread parallel Include: with rendering task corresponding with the Mission Objective
The Mission Objective is executed by the first thread in the multiple thread, obtains the first data, wherein first number According to for rendering the game picture in the game animation in the client;
The rendering task is executed by the second thread in the multiple thread, to render frame by frame using first data Game picture in the game animation.
4. according to the method described in claim 3, it is characterized in that, executing the Mission Objective by the multiple thread parallel With rendering task corresponding with the Mission Objective further include:
After obtaining first data, passed in such a way that first data are used asynchronous message by the first thread It transports to message queue to be saved, wherein the message queue is used to save to be processed described first for second thread Data;
Being detected by second thread whether there is first data in the message queue, wherein in the message team There are in the case where first data, read first data by second thread and execute the rendering to appoint in column Business.
5. according to the method described in claim 3, it is characterized in that, by described in the first thread execution in the multiple thread Mission Objective includes:
In the case where the Mission Objective is multiple, multiple game are executed parallel by multiple first threads and are appointed Business.
6. according to the method described in claim 3, it is characterized in that, executing the Mission Objective by the multiple thread parallel Before rendering task corresponding with the Mission Objective, the method also includes:
Obtain the identification information of the client, wherein the identification information be used to indicate the client whether support it is multi-thread Cheng Yunhang;
In the case where the identification information indicates that the client supports multithreading operation, creation is appointed for executing the game The first thread of business.
7. the method according to claim 1, wherein obtaining the operational order packet to target game on the client It includes:
In the case where detecting action event on mobile terminals, obtained in the client corresponding with the action event The operational order, wherein the client installation is on the mobile terminal.
8. a kind of rendering device of game animation characterized by comprising
First acquisition unit, for obtaining the operational order to target game on the client, wherein the target game be The web game run in the client of supported web page environment;
Second acquisition unit indicates the Mission Objective executed for obtaining the operational order in the target game;
Rendering unit runs parallel for being based on the Mission Objective by multiple threads, renders in the client The game animation when Mission Objective is executed in the target game, wherein the multiple thread is for running the mesh Mark the thread of game.
9. device according to claim 8, which is characterized in that the rendering unit is also used to through the multiple thread simultaneously Row executes the Mission Objective and rendering task corresponding with the Mission Objective, wherein the rendering task is used for basis and holds The data that the row Mission Objective obtains render in the client executes the Mission Objective in the target game When game animation.
10. device according to claim 9, which is characterized in that the rendering unit includes:
First processing module obtains the first number for executing the Mission Objective by the first thread in the multiple thread According to, wherein first data are used to render the game picture in the game animation in the client;
Second processing module, for executing the rendering task by the second thread in the multiple thread, described in utilizing First data render the game picture in the game animation frame by frame.
11. device according to claim 10, which is characterized in that the rendering unit further include:
Communication module, for after obtaining first data, by the first thread by first data using different The mode of step message is transmitted to message queue and is saved, wherein the message queue be used to save for second thread to First data of processing;
Detection module whether there is first data for detecting by second thread in the message queue, wherein There are in the case where first data in the message queue, first data are read by second thread and are held The row rendering task.
12. device according to claim 10, which is characterized in that the first processing module is also used to appoint in the game In the case that business is multiple, multiple Mission Objectives are executed parallel by multiple first threads.
13. device according to claim 10, which is characterized in that described device further include:
Third acquiring unit, for executing the Mission Objective and corresponding with the Mission Objective by the multiple thread parallel Rendering task before, obtain the identification information of the client, wherein the identification information, which is used to indicate the client, is No support multithreading operation;
Creating unit, in the case where the identification information indicates that the client supports multithreading operation, creation to be used for Execute the first thread of the Mission Objective.
14. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run Execute method described in 1 to 7 any one of the claims.
15. a kind of electronic device, including memory, processor and it is stored on the memory and can transports on the processor Capable computer program, which is characterized in that the processor executes the claims 1 to 7 by the computer program Method described in one.
CN201711001585.9A 2017-10-24 2017-10-24 Rendering method and device of game animation, storage medium and electronic device Active CN109697123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711001585.9A CN109697123B (en) 2017-10-24 2017-10-24 Rendering method and device of game animation, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711001585.9A CN109697123B (en) 2017-10-24 2017-10-24 Rendering method and device of game animation, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109697123A true CN109697123A (en) 2019-04-30
CN109697123B CN109697123B (en) 2023-03-14

Family

ID=66227862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711001585.9A Active CN109697123B (en) 2017-10-24 2017-10-24 Rendering method and device of game animation, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109697123B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442819A (en) * 2019-07-24 2019-11-12 腾讯科技(深圳)有限公司 Data processing method, device, storage medium and terminal
CN110681155A (en) * 2019-09-29 2020-01-14 Oppo广东移动通信有限公司 Game optimization method, game optimization device and mobile terminal
CN111552619A (en) * 2020-04-29 2020-08-18 深圳市道旅旅游科技股份有限公司 Log data display method and device, computer equipment and storage medium
CN111880944A (en) * 2020-06-15 2020-11-03 视联动力信息技术股份有限公司 Data processing method, data processing device, conference management scheduling system and computer medium
CN112306667A (en) * 2019-07-29 2021-02-02 腾讯科技(深圳)有限公司 Animation playing method and device, computer equipment and storage medium
CN112328452A (en) * 2020-11-06 2021-02-05 北京金山云网络技术有限公司 Peripheral message response method and device, storage medium and electronic equipment
CN112604284A (en) * 2020-12-29 2021-04-06 北京冰封互娱科技有限公司 Task execution method, device and equipment of game and computer readable storage medium
CN113694536A (en) * 2021-09-07 2021-11-26 北京蔚领时代科技有限公司 Scene management method, device, equipment and medium for cloud game
CN113730922A (en) * 2021-09-03 2021-12-03 网易(杭州)网络有限公司 Graph rendering method and device, electronic equipment and storage medium
CN113893532A (en) * 2021-09-30 2022-01-07 腾讯科技(深圳)有限公司 Skill screen display method and device, storage medium and electronic equipment
WO2022022140A1 (en) * 2020-07-31 2022-02-03 腾讯科技(深圳)有限公司 Data packet synchronization method and apparatus, device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968549A (en) * 2012-10-17 2013-03-13 北京大学 Multi-user on-line interaction method and system based on intelligent mobile terminal equipment
CN103647768A (en) * 2013-12-06 2014-03-19 北京奇虎科技有限公司 Game client and realization method thereof
CN105233498A (en) * 2015-09-23 2016-01-13 网易(杭州)网络有限公司 Game character staining method and device, user terminal and game system
CN105354872A (en) * 2015-11-04 2016-02-24 深圳墨麟科技股份有限公司 Rendering engine, implementation method and producing tools for 3D web game
CN105741227A (en) * 2016-01-26 2016-07-06 网易(杭州)网络有限公司 Rending method and apparatus
CN105749551A (en) * 2016-02-26 2016-07-13 网易(杭州)网络有限公司 Game hosting method and system and terminal
CN105787865A (en) * 2016-03-01 2016-07-20 西华大学 Fractal image generation and rendering method based on game engine and CPU parallel processing
CN106512402A (en) * 2016-11-29 2017-03-22 北京像素软件科技股份有限公司 Game role rendering method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968549A (en) * 2012-10-17 2013-03-13 北京大学 Multi-user on-line interaction method and system based on intelligent mobile terminal equipment
CN103647768A (en) * 2013-12-06 2014-03-19 北京奇虎科技有限公司 Game client and realization method thereof
CN105233498A (en) * 2015-09-23 2016-01-13 网易(杭州)网络有限公司 Game character staining method and device, user terminal and game system
CN105354872A (en) * 2015-11-04 2016-02-24 深圳墨麟科技股份有限公司 Rendering engine, implementation method and producing tools for 3D web game
CN105741227A (en) * 2016-01-26 2016-07-06 网易(杭州)网络有限公司 Rending method and apparatus
CN105749551A (en) * 2016-02-26 2016-07-13 网易(杭州)网络有限公司 Game hosting method and system and terminal
CN105787865A (en) * 2016-03-01 2016-07-20 西华大学 Fractal image generation and rendering method based on game engine and CPU parallel processing
CN106512402A (en) * 2016-11-29 2017-03-22 北京像素软件科技股份有限公司 Game role rendering method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
颜建华, 中国铁道出版社 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442819A (en) * 2019-07-24 2019-11-12 腾讯科技(深圳)有限公司 Data processing method, device, storage medium and terminal
CN112306667B (en) * 2019-07-29 2023-09-26 腾讯科技(深圳)有限公司 Animation playing method and device, computer equipment and storage medium
CN112306667A (en) * 2019-07-29 2021-02-02 腾讯科技(深圳)有限公司 Animation playing method and device, computer equipment and storage medium
CN110681155A (en) * 2019-09-29 2020-01-14 Oppo广东移动通信有限公司 Game optimization method, game optimization device and mobile terminal
CN111552619B (en) * 2020-04-29 2021-05-25 深圳市道旅旅游科技股份有限公司 Log data display method and device, computer equipment and storage medium
CN111552619A (en) * 2020-04-29 2020-08-18 深圳市道旅旅游科技股份有限公司 Log data display method and device, computer equipment and storage medium
CN111880944A (en) * 2020-06-15 2020-11-03 视联动力信息技术股份有限公司 Data processing method, data processing device, conference management scheduling system and computer medium
WO2022022140A1 (en) * 2020-07-31 2022-02-03 腾讯科技(深圳)有限公司 Data packet synchronization method and apparatus, device, and storage medium
CN112328452A (en) * 2020-11-06 2021-02-05 北京金山云网络技术有限公司 Peripheral message response method and device, storage medium and electronic equipment
CN112604284A (en) * 2020-12-29 2021-04-06 北京冰封互娱科技有限公司 Task execution method, device and equipment of game and computer readable storage medium
CN112604284B (en) * 2020-12-29 2024-04-16 北京冰封互娱科技有限公司 Game task execution method, device, equipment and computer readable storage medium
CN113730922A (en) * 2021-09-03 2021-12-03 网易(杭州)网络有限公司 Graph rendering method and device, electronic equipment and storage medium
CN113730922B (en) * 2021-09-03 2024-06-04 网易(杭州)网络有限公司 Graphics rendering method, graphics rendering device, electronic equipment and storage medium
CN113694536A (en) * 2021-09-07 2021-11-26 北京蔚领时代科技有限公司 Scene management method, device, equipment and medium for cloud game
CN113893532A (en) * 2021-09-30 2022-01-07 腾讯科技(深圳)有限公司 Skill screen display method and device, storage medium and electronic equipment
CN113893532B (en) * 2021-09-30 2024-08-13 腾讯科技(深圳)有限公司 Skill picture display method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109697123B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
CN109697123A (en) The rendering method and device of game animation, storage medium, electronic device
CN108619720B (en) Animation playing method and device, storage medium and electronic device
US20220355204A1 (en) Game data processing method and apparatus, computer, and readable storage medium
US20110313550A1 (en) Selection system for gaming
CN107398072B (en) The display methods and device of game picture
CN108037952B (en) Object operation processing method, object operation data generation method and device
US11361128B2 (en) Simulation method and system for real-time broadcasting
CN106060574B (en) Show the method and device of live video stream in gaming
CN109499059B (en) Object rendering method and device, storage medium and electronic device
CN112988400B (en) Video memory optimization method and device, electronic equipment and readable storage medium
CN109731330B (en) Method and device for displaying picture, storage medium and electronic device
CN109739505B (en) A kind for the treatment of method and apparatus of user interface
CN101335916A (en) General mobile phone role playing network game engine
CN108310771A (en) The execution method and apparatus of task, storage medium, electronic device
JP7313467B2 (en) Server load prediction and advanced performance measurement
CN110124307A (en) Method of controlling operation thereof and device, storage medium and electronic device
CN111841016B (en) Game AI system, information processing method, device and storage medium for game AI
CN110339571A (en) Event generation method and device, storage medium and electronic device
CN110327625A (en) Processing method, device, processor, terminal and the server of file
CN109725788A (en) Processing method, device, processor and the terminal of user interface interaction
Okamoto et al. Load distribution by using web workers for a real-time web application
CN105631921A (en) Method and device for processing image data
CN111359214B (en) Virtual item control method and device, storage medium and electronic device
CN104778085A (en) Method and device for processing game fight of hand-tour
US20230088206A1 (en) Method and apparatus for controlling virtual object, device, storage medium, and program product

Legal Events

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