CN103365633A - Brower game editing method and device - Google Patents

Brower game editing method and device Download PDF

Info

Publication number
CN103365633A
CN103365633A CN201210083618XA CN201210083618A CN103365633A CN 103365633 A CN103365633 A CN 103365633A CN 201210083618X A CN201210083618X A CN 201210083618XA CN 201210083618 A CN201210083618 A CN 201210083618A CN 103365633 A CN103365633 A CN 103365633A
Authority
CN
China
Prior art keywords
data model
web game
model
game
web
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210083618XA
Other languages
Chinese (zh)
Inventor
徐高骞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201210083618XA priority Critical patent/CN103365633A/en
Publication of CN103365633A publication Critical patent/CN103365633A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

An embodiment of the invention provides browser game editing method and device. The method includes: establishing an attribute model and a logic model for a browser game; assigning values on a browser game etching page to the attribute model and the logic model; and presenting the value-assigned attribute model and the value-assigned logic model on a browser game display interface. The method has the advantages game development efficiency is higher, the WYSIWYG preview format based on web style and function is provided, game development is easier, and game development cost is lower.

Description

A kind of web game edit methods and device
Technical field
Embodiment of the present invention relates to the network application technical field, more specifically, relates to a kind of web game edit methods and device.
Background technology
Along with the develop rapidly of computer technology and network technology, the effect that internet (Internet) brings into play in daily life, study and work is also increasing.Hypermedia document on the internet is referred to as webpage (web page).Generally include the pointer (hyperlink) that points to other related pages or other nodes in the webpage.The organic set that logically will look as a whole a series of webpages is called website (Website or Site).
Web game (WebGame) claim again for no reason network game, and Chinese also is called for short the page or leaf trip, is a kind of game that can directly move in webpage, it is simple to operate, and the time that the user consumes in the above is short, and the development of games cycle is little, cost of development is also very low, and is most take single-play game as main.Present most web game all is based on the flash exploitation.Web game need not download client usually, and the user opens webpage and only just can play with browser, especially is fit to working people.Current web page game main flow type has: action role playing (ARPG), policy class (SLG), simulation operation (SIM) etc.
In present development of games flow process, the main logic of game be by the programmer by to the writing of programmed logic, finish the judgement of the variety of events such as loading, demonstration and user's input to fine arts resource, internet message, timer.Along with the degree of modularity of development of games is more and more higher, the appearance of various game engines, so that the logic on most of basis is all by packed good, be the standard configuration of a lot of game engines such as the playing up of input, internet message, graph image, physical engine etc.The programmer only need to write than the code of former much less just can finish basic game logic.Remaining most of logic is that direct editing is realized in the middle of the editing machine of engine.
Yet this game engine technology of the prior art has the not high shortcoming of development of games efficient, and its study and the ABC of cost are also higher.In this prior art, the logic of a game is bound programmer's participation still.For the project staff of game, change any one logic, all need and please the programmer help, so development of games efficient is not high.
And the most exploitations that are used for big game of this game engine technology are for the web game developer of lightweight, the skilled relatively difficulty of grasping, and learning cost is higher, and this makes its exploitation that is only applicable to big game, and is not suitable for the exploitation of web game.
Summary of the invention
Embodiment of the present invention proposes a kind of web game edit methods, to improve the efficient of development of games.
Embodiment of the present invention proposes a kind of web game editing device, to improve the efficient of development of games.
The technical scheme of embodiment of the present invention is as follows:
A kind of web game edit methods, the method comprises:
Set up attribute model and the logical model of web game;
On the web game edit page, distinguish assignment for described attribute model and logical model;
On web game displaying interface, the attribute model after the assignment and logical model are showed.
A kind of web game editing device comprises web game modeling unit, model assignment unit and web game performance unit; Wherein:
The web game modeling unit is for attribute model and the logical model of setting up web game;
Model assignment unit is used on the web game edit page for described attribute model and logical model difference assignment;
Web game performance unit is used on web game displaying interface the attribute model after the assignment and logical model being showed.
Can find out from technique scheme, in embodiment of the present invention, the attribute model of model web game and logical model; Then on the web game edit page, distinguish assignment for described attribute model and logical model; Show on the interface at web game again the attribute model after the assignment and logical model are showed.This shows, use after the embodiment of the present invention, by game logic being sorted out modeling and assignment, realized the structure of game logic, therefore can guarantee to write any code by Rational Classification, thereby improve development efficiency.
And, embodiment of the present invention can be presented to the developer with the development of games process by the form of web page editing, and preview mode based on the What You See Is What You Get of web page style and function is provided, thus development of games efficient also greatly improved, and simplified the development of games difficulty.
In addition, the data model interface of embodiment of the present invention can be increased income, can be by users' particular content of data model of enriching constantly, thus improved the practicality of game.
Description of drawings
Fig. 1 is the web game edit methods schematic flow sheet according to embodiment of the present invention;
Fig. 2 is according to the web game editor of embodiment of the present invention and issuing process schematic diagram;
Fig. 3 is the web game editing device structural representation according to embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
In embodiment of the present invention, a kind of web game edit methods has been proposed, by game logic is sorted out, become logic submodule one by one, then finish the structure of game logic by the polymerization of submodule.Particularly, set up attribute model and the logical model of web game by encapsulation, the developer only need to be attribute model and the logical model difference assignment of web game, the exploitation creation and the editor that namely edit various parameters, provide fine arts material just can finish game, do not need to learn any programming language, thereby improve the efficient of development of games.
Fig. 1 is the web game edit methods schematic flow sheet according to embodiment of the present invention.
As shown in Figure 1, the method comprises:
Step 101: attribute model and the logical model of setting up web game.
Here, the game developer at first generates game logic, layout, fine arts resource etc., and game logic, layout, fine arts resource etc. are abstracted into data model, and this process is referred to as modeling.Modeling comprises attribute model and the logical model of setting up web game.
Wherein: the attribute model of web game determines the various displaying elements in the middle of the game, is the data model of its outward appearance; The logical model of web game is to determine how to carry out mutual data model between game and the operator.
Preferably, in modeling process, many game logics constantly can be sorted out division, make game logic can be abstracted into many submodules, and then remove edit methods and the rendering intent of realizing that they are different for these submodules.Like this, the editing process of a game just is equivalent to select different logic submodules to make up, and different submodules is selected suitable parameter, just can realize diversified game logic.By this design, the technology that relates to the web game editor focuses on the design in submodule, and the design key of submodule, how just to be game logic miscellaneous, all abstractly is classified into limited stator module.That is to say, by setting up limited, suitable data model, describe game logic.
Embodiment of the present invention proposes following several data models, by to the combination of following several data models and the selection of parameter, just can finish the establishment of the existing game logic of the overwhelming majority.And, can also finish in the future unpredictalbe new game logic by expanding more data model.
Preferably, the attribute model of setting up web game comprises: the data model of setting up the web game element, and the data model of setting up the web game element specifically can comprise: set up animation data model, particle data model, background data model, lteral data model, and/or the control data model, etc.
Various animations in the web game element refers to play, background etc. just can be referred to as an element such as the airplane inside the air battle game; A bullet also can be referred to as an element.
Table 1 is the data model example table of web game element.
As shown in table 1, the data model of web game element includes but not limited to:
Table 1
Figure BDA0000147289530000041
Figure BDA0000147289530000051
Although the above instantiation that exemplarily lists web game component data model it will be appreciated by those of skill in the art that embodiment of the present invention is not limited to this.
Preferably, the logical model of setting up web game comprises: set up behavior representation of data model, decision condition data model, the trigger action data model of web game, and/or the variable data model, etc.
Behavior is the behavior performance of control element, and behavior also is a kind of attribute of element, but different from the attribute of element self.Its difference is: the attribute of element is the correlation parameter of himself playing up, and behavior then is the attribute of its game of control and interaction logic, can think the association attributes of the dynamic motion of element.
Preferably, the behavior representation of data model of setting up web game comprises: the physical effect data model of setting up web game; Set up the control behavioral data model of web game; Set up the bullet exercise data model of web game; And/or set up the deformation data model of web game, etc.
Exemplarily, table 2 is the behavior representation of data model example table of web game element.
As shown in table 2, the data model of behavior performance includes but not limited to:
Table 2
Figure BDA0000147289530000052
Figure BDA0000147289530000061
Similarly, although the above instantiation that exemplarily lists behavior representation of data model it will be appreciated by those of skill in the art that embodiment of the present invention is not limited to this.
Judgement is one important in the game logic, and whether the attribute that whether arrives certain state or certain element such as certain element of judgement satisfies certain condition.If result of determination is true, can also trigger a series of subsequent action.
In one embodiment, decision condition can be triggered by system event, does not just need to compare computing this time.At this moment, setting up decision condition includes but not limited to: set up the decision condition data model and comprise: set up the data model that the element angle of inclination is judged; Set up the element animation and play the data model of judging; Set up the data model that effect is judged that shows of element; Set up the data model that element collision is judged; And/or set up the data model that component attributes value scope is judged, etc.
In another embodiment, when judgement or system event satisfy condition, the action of meeting triggering following, these actions are for element.At this moment, setting up decision condition includes but not limited to: sheet expired and triggered the data model of judging Time Created; Set up the data model that KeyEvent is judged; Set up the data model that touchscreen events is judged; And/or set up the data model that mouse event is judged, etc.
Exemplarily, table 3 is decision condition data model example table.
As shown in table 3, the decision condition data model includes, but are not limited to:
Table 3
Figure BDA0000147289530000062
Figure BDA0000147289530000071
Similarly, although the above instantiation that exemplarily lists behavior decision condition data model it will be appreciated by those of skill in the art that embodiment of the present invention is not limited to this.
When judgement or system event satisfy condition, the action of meeting triggering following, these actions are for element.
Preferably, setting up the trigger action data model comprises: the data model of setting up Angulation changes; Set up the data model that animation is play; Set up the data model that the element outward appearance changes; Set up the data model of creating component; Set up the data model of destroying element; Set up the data model that the element physical attribute changes; And/or set up the data model that the element variable changes, etc.
Exemplarily, table 4 is trigger action data model example table.
By as seen from Table 4, the trigger action data model includes, but are not limited to:
Table 4
Figure BDA0000147289530000081
Variable is outside some intrinsic default property values of element self, for the diversity that strengthens game and the variation of element, a specific character that sets, variable can be with the element binding, variate-value just becomes a property value of element like this, variable also can with overall situation binding, become global variable.Variable can be made amendment when trigger action.
Similarly, although the above instantiation that exemplarily lists the trigger action data model it will be appreciated by those of skill in the art that embodiment of the present invention is not limited to this.
More than describe some the basic data models that to set up in detail, by to the combination of the game logic module of these data model representatives and the selection of parameter, just can finish the foundation of most of existing game logic.And, based on upper type, can finish in the future unpredictalbe new game logic by expanding more data model.
In fact, along with the change of technology, new game features and game logic still can constantly can increase newly into.Some sometimes can occur and can't by existing logic module is made up the situation that obtains desired logic, at this time just need newly-increased data model.Whenever newly-increased a kind of data type, the logic that just needs corresponding increase that this data type is made amendment, and this data type is drawn and mutual logic increasing.For this reason, need to define interactive interface, these interfaces all are to operate for data model.
Step 102: on the web game edit page, distinguish assignment for described attribute model and logical model.
According to concrete application scenarios, on the web game edit page, attribute model and logical model are carried out respectively concrete assignment here.
Such as, for the animation attributes of web game element, can fill in parameter value to resource name, coordinate, transparency, big or small philosophy; For the particle property of web game element, can fill in concrete parameter value to resource name, injection rate, each axial random rates, speed random rates philosophy; For the background attribute of web game element, can be to resource name, coordinate, size, whether tile/the stretching philosophy fills in concrete parameter value; For the word attribute of web game element, can fill in concrete parameter value to word content, font, coordinate philosophy; For the control property of web game element, can the various attributes of class windows control be defined accordingly.
In one embodiment, for the physical effect attribute of behavior, can to whether collide, friction force, elastic force, density philosophy fills in parameter value; For the control behavior property of behavior, can to whether from all directions to motion, whether follow the mouse philosophy and fill in parameter value; For the bullet movement properties of behavior, can to bullet velocity, acceleration, acceleration of gravity, whether participate in the collision, whether have angle bisecting not fill in parameter value; For the distortion attribute of behavior, can fill in parameter value to the philosophy that whether disappears after mode of texturing, the parameter that distorts, duration, the distortion.
Similarly, in one embodiment, for the angle of inclination attribute of the element in the decision condition, can be respectively to range of tilt angles, whether clockwise, the parameter value of filling in such as counterclockwise whether; Play attribute for the element animation in the decision condition, can be respectively to being positioned at frame number, whether playing, whether suspend, whether be in frame switching etc. and fill in parameter value; For the element bandwagon effect attribute in the decision condition, can be respectively to transparency scope, the parameter value of filling in such as visible whether; For the collision bandwagon effect attribute in the decision condition, can respectively to whether covering another object, whether having collision etc. to fill in parameter value with another object; For the value range attribute of each attribute of element in the decision condition, can be respectively to the position of components scope, whether on screen, magnitude range etc. fills in parameter value; For each the timeslice attribute in the decision condition, can be respectively to computer time the sheet timer expire to trigger to wait and fill in parameter value; For the KeyEvent attribute in the decision condition, can be respectively whether whether certain button be pressed, unclamp etc. and fill in parameter value; For the mouse event attribute in the decision condition, can be respectively to certain right and left key whether press, whether unclamp, mouse moves etc. fills in parameter value; For the touchscreen events attribute in the decision condition, can be respectively fill in parameter value to whether pressing, whether unclamp, whether drag etc.; The Angulation changes attribute of trigger action after satisfying for condition can be respectively filled in parameter value to turning clockwise, be rotated counterclockwise, forward to special angle etc.; Satisfy the animation of rear trigger action for condition and play attribute, can play beginning, stopping respectively, play particular frame, mirror image broadcast etc. and fill in parameter value; The element outward appearance of trigger action changes attribute after satisfying for condition, can be respectively whether transparency is changed, shows etc. to fill in parameter value; Satisfy the creating component attribute of rear trigger action for condition, can fill in parameter value to concrete creating component; Satisfy the destruction component attributes of rear trigger action for condition, can fill in parameter value to concrete destruction element; The element physical attribute that satisfies rear trigger action for condition changes attribute, can fill in parameter value to changing friction force, change elastic force etc. respectively; Satisfy the change of the element variable of rear trigger action for condition, can fill in parameter value for concrete change variate-value.
Wherein, concrete assign operation can carry out at the web game edit page.Web game edit page webization can usually realize by the HTML5 unit of various editing interface Application standards.Javascript that specifically can Application standard realizes operational mutual, and compatible most of browser, and corresponding assign operation is put in the middle of developer's feature list of game website, so that the developer of this game website can directly play the website editor.
Preferably, editor's game model data can be able to be deposited in the database of game website, need the developer constantly to upload the process of the own works of playing thereby solved general game website.
Step 103: on web game displaying interface, the attribute model after the assignment and logical model are showed.
Here, show on the interface at web game, the game of the modeling that data model the inside is deposited shows, comprises management and the response of the operation of displaying, game logic of fine arts resource and various user input, event etc. according to its data of giving, etc.
Wherein, game website can provide game preview and the issuing function based on this website, the game developer uses and deposits game model (comprising attribute model and the logical model) data of setting up the site databases of game in, when the game developer clicks preview button, the website can be read the model data of game from database, and by the game render engine draw at the page of this game website, so that the preview of game is consistent with the environment high of final game issue, guarantee the What You See Is What You Get of web game, also guaranteed login, pull and close the function that these and the game website such as tethers combine closely and when preview, just can testedly arrive.
In one embodiment, the developer judges whether the web game performance on the web page display interface meets the issue standard of setting up in advance, if it is directly at this web game of web page display interface issue; If not then again on the web page editing page, distinguishing assignment for described attribute model and logical model.
The web game issuing function is the same with preview function basically, can guarantee that so the final experience of preview and issue is consistent.Different places are, the game of issue can be used by all users of website, and the game of preview can only be seen by the developer.In addition, the game data model of preview is to leave in the middle of the database, in preview, go to the backstage to pull by game engine, be convenient to like this developer and constantly update game model, and its data model of game of issue has taken out from database, and be distributed to each node of CDN, be convenient to like this game content that gets access to that the final user can be very fast.
In one embodiment, the game website announcement of the interface of data model module externally can being increased income so that third party developer can expand for the interface of data module, proposes new data model, and the data model new according to Interface realization.
Based on above-mentioned labor, Fig. 2 is according to the web game editor of embodiment of the present invention and issuing process schematic diagram.
As shown in Figure 2, the method comprises:
Step 201: open the game website developer page, and enter the game editing interface of Webization.
Step 202: set up the game engineering by the game editing interface of Webization.
Step 203: in engineering, set up the attribute model of various game elements, and set up the element of game based on the assignment of attribute model;
Step 204: set up logical model based on attribute model, be specially game elements and give various attributes and behavior.
Step 205: be the logical model assignment, be specially the performance after game elements is selected suitable event and decision condition and triggering.
Step 206: after finishing assignment, direct data after this assignment of webpage operation, and on webpage direct preview game effect.
Step 207: after game preview effect meets the issue standard, directly externally issue on this webpage.
In above-mentioned flow process, do not adopt special client-side editing device, and can guarantee to write any code by Rational Classification.In addition, directly preview web game on game website has been realized What You See Is What You Get, thereby has overcome the defective that preview can only be seen in this locality in the prior art; And do not need specially to upload again web game, can directly delivery network game on webpage.
Based on above-mentioned labor, embodiment of the present invention has also proposed a kind of web game editing device.
Fig. 3 is the web game editing device structural representation according to embodiment of the present invention.
As shown in Figure 3, this device comprises: web game modeling unit 301, model assignment unit 302 and web game performance unit 303.Wherein:
Web game modeling unit 301 is for attribute model and the logical model of setting up web game;
Model assignment unit 302 is used on the web game edit page for described attribute model and logical model difference assignment;
Web game performance unit 303 is used on web game displaying interface the attribute model after the assignment and logical model being showed.
In one embodiment, web game modeling unit 301 is for the data model of setting up the web game element.Wherein: specifically can be used for setting up animation data model, particle data model, background data model, lteral data model, and/or the control data model, etc.
In one embodiment, web game modeling unit 301, for behavior representation of data model, decision condition data model, the trigger action data model of setting up web game, and/or the variable data model.Set up the physical effect data model of web game;
Particularly, web game modeling unit 301 can be set up the control behavioral data model of web game; Set up the bullet exercise data model of web game; And/or set up the deformation data model of web game.
Web game modeling unit 301 can also be used for: set up the data model that the element angle of inclination is judged; Set up the element animation and play the data model of judging; Set up the data model that effect is judged that shows of element; Set up the data model that element collision is judged; And/or set up the data model that component attributes value scope is judged.
Web game modeling unit 301 can also be used for: sheet expired and triggered the data model of judging Time Created; Set up the data model that KeyEvent is judged; Set up the data model that touchscreen events is judged; And/or set up the data model that mouse event is judged.
Web game modeling unit 301 can also be used for: the data model of setting up Angulation changes; Set up the data model that animation is play; Set up the data model that the element outward appearance changes; Set up the data model of creating component; Set up the data model of destroying element; Set up the data model that the element physical attribute changes; And/or set up the data model that the element variable changes.
Particularly, parameter value for the animation attributes of web game element, can be filled in to resource name, coordinate, transparency, big or small philosophy in model assignment unit 302; For the particle property of web game element, can fill in concrete parameter value to resource name, injection rate, each axial random rates, speed random rates philosophy; For the background attribute of web game element, can be to resource name, coordinate, size, whether tile/the stretching philosophy fills in concrete parameter value; For the word attribute of web game element, can fill in concrete parameter value to word content, font, coordinate philosophy; For the control property of web game element, can the various attributes of class windows control be defined accordingly.
In one embodiment, model assignment unit 302, for the physical effect attribute of behavior, can to whether collide, friction force, elastic force, density philosophy fills in parameter value; For the control behavior property of behavior, can to whether from all directions to motion, whether follow the mouse philosophy and fill in parameter value; For the bullet movement properties of behavior, can to bullet velocity, acceleration, acceleration of gravity, whether participate in the collision, whether have angle bisecting not fill in parameter value; For the distortion attribute of behavior, can fill in parameter value to the philosophy that whether disappears after mode of texturing, the parameter that distorts, duration, the distortion.
In one embodiment, model assignment unit 302, for the angle of inclination attribute of the element in the decision condition, can be respectively to range of tilt angles, whether clockwise, the parameter value of filling in such as counterclockwise whether; Play attribute for the element animation in the decision condition, can be respectively to being positioned at frame number, whether playing, whether suspend, whether be in frame switching etc. and fill in parameter value; For the element bandwagon effect attribute in the decision condition, can be respectively to transparency scope, the parameter value of filling in such as visible whether; For the collision bandwagon effect attribute in the decision condition, can respectively to whether covering another object, whether having collision etc. to fill in parameter value with another object; For the value range attribute of each attribute of element in the decision condition, can be respectively to the position of components scope, whether on screen, magnitude range etc. fills in parameter value; For each the timeslice attribute in the decision condition, can be respectively to computer time the sheet timer expire to trigger to wait and fill in parameter value; For the KeyEvent attribute in the decision condition, can be respectively whether whether certain button be pressed, unclamp etc. and fill in parameter value; For the mouse event attribute in the decision condition, can be respectively to certain right and left key whether press, whether unclamp, mouse moves etc. fills in parameter value; For the touchscreen events attribute in the decision condition, can be respectively fill in parameter value to whether pressing, whether unclamp, whether drag etc.; The Angulation changes attribute of trigger action after satisfying for condition can be respectively filled in parameter value to turning clockwise, be rotated counterclockwise, forward to special angle etc.; Satisfy the animation of rear trigger action for condition and play attribute, can play beginning, stopping respectively, play particular frame, mirror image broadcast etc. and fill in parameter value; The element outward appearance of trigger action changes attribute after satisfying for condition, can be respectively whether transparency is changed, shows etc. to fill in parameter value; Satisfy the creating component attribute of rear trigger action for condition, can fill in parameter value to concrete creating component; Satisfy the destruction component attributes of rear trigger action for condition, can fill in parameter value to concrete destruction element; The element physical attribute that satisfies rear trigger action for condition changes attribute, can fill in parameter value to changing friction force, change elastic force etc. respectively; Satisfy the change of the element variable of rear trigger action for condition, can fill in parameter value for concrete change variate-value.
Preferably, further comprise online game release unit 304;
Online game release unit 304 is used for judging whether the performance on the described web page display interface meets the issue standard of setting up in advance, if it is directly at this web game of web page display interface issue; If not model assignment unit then again on the web page editing page for described attribute model and logical model assignment respectively.
Along with the change of technology, new game features and game logic still can constantly can increase newly into.Some sometimes can occur can't be by making up the situation that obtains desired logic to existing logic module, at this time just need newly-increased data model, whenever increase a kind of data type newly, just need the corresponding logic that increase is made amendment to this data type in editor module, and in increase this data type is drawn and mutual logic.For this reason, need to define the interactive interface of data model module, these interfaces all operate for data model.
Table 5 is the exemplary interface table of embodiment of the present invention.
As shown in table 5, interface includes, but are not limited to:
Table 5
Figure BDA0000147289530000151
All data models all should be finished the logic of game and play up performance by the interface of realizing this two aspect.After, if need to newly increase a class data model, all only need to finish by the interface of realizing this two aspect getting final product, can make things convenient for to a great extent the expansion of editing machine.
In sum, in embodiment of the present invention, the attribute model of model web game and logical model; Then on the web game edit page, distinguish assignment for described attribute model and logical model; Show on the interface at web game again the attribute model after the assignment and logical model are showed.This shows, use after the embodiment of the present invention, by game logic being sorted out modeling and assignment, realized the structure of game logic, and greatly improved development of games efficient.
And, embodiment of the present invention can be presented to the developer with the development of games process with the form of web page editing, and preview mode based on the What You See Is What You Get of web page style and function is provided, thus development of games efficient also greatly improved, and simplified the development of games difficulty.
In addition, the data model interface of embodiment of the present invention can be increased income, thereby can be by everybody particular content of data model of enriching constantly, thereby has improved the practicality of game, and has reduced the development of games cost.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a web game edit methods is characterized in that, the method comprises:
Set up attribute model and the logical model of web game;
On the web game edit page, distinguish assignment for described attribute model and logical model;
On web game displaying interface, the attribute model after the assignment and logical model are showed.
2. web game edit methods according to claim 1 is characterized in that, the described attribute model of setting up web game comprises: the data model of setting up the web game element.
3. web game edit methods according to claim 2, it is characterized in that, the described data model of setting up the web game element comprises: set up animation data model, particle data model, background data model, lteral data model, and/or the control data model.
4. web game edit methods according to claim 1, it is characterized in that, the described logical model of setting up web game comprises: set up behavior representation of data model, decision condition data model, the trigger action data model of web game, and/or the variable data model.
5. web game edit methods according to claim 4 is characterized in that, the described behavior representation of data model of setting up web game comprises:
Set up the physical effect data model of web game;
Set up the control behavioral data model of web game;
Set up the bullet exercise data model of web game; And/or
Set up the deformation data model of web game.
6. web game edit methods according to claim 4 is characterized in that, the described decision condition data model of setting up comprises:
Set up the data model that the element angle of inclination is judged;
Set up the element animation and play the data model of judging;
Set up the data model that effect is judged that shows of element;
Set up the data model that element collision is judged; And/or
Set up the data model that component attributes value scope is judged.
7. web game edit methods according to claim 4 is characterized in that, the described decision condition data model of setting up comprises:
Sheet expired and triggered the data model of judging Time Created;
Set up the data model that KeyEvent is judged;
Set up the data model that touchscreen events is judged; And/or
Set up the data model that mouse event is judged.
8. web game edit methods according to claim 4 is characterized in that, the described trigger action data model of setting up comprises:
Set up the data model of Angulation changes;
Set up the data model that animation is play;
Set up the data model that the element outward appearance changes;
Set up the data model of creating component;
Set up the data model of destroying element;
Set up the data model that the element physical attribute changes; And/or
Set up the data model that the element variable changes.
9. web game edit methods according to claim 1, it is characterized in that, the method further comprises: judge whether the performance on the described web page display interface meets the issue standard of setting up in advance, if it is directly at this web game of web page display interface issue; If not then again on the web page editing page, distinguishing assignment for described attribute model and logical model.
10. a web game editing device is characterized in that, comprises web game modeling unit, model assignment unit and web game performance unit; Wherein:
The web game modeling unit is for attribute model and the logical model of setting up web game;
Model assignment unit is used on the web game edit page for described attribute model and logical model difference assignment;
Web game performance unit is used on web game displaying interface the attribute model after the assignment and logical model being showed.
11. web game editing device according to claim 10 is characterized in that,
Described web game modeling unit is for the data model of setting up the web game element.
12. web game editing device according to claim 11 is characterized in that,
Described web game modeling unit is used for setting up animation data model, particle data model, background data model, lteral data model, and/or the control data model.
13. web game editing device according to claim 10 is characterized in that,
Described web game modeling unit, for behavior representation of data model, decision condition data model, the trigger action data model of setting up web game, and/or the variable data model.
14. web game editing device according to claim 13 is characterized in that, the web game modeling unit is used for:
Set up the physical effect data model of web game;
Set up the control behavioral data model of web game;
Set up the bullet exercise data model of web game; And/or
Set up the deformation data model of web game.
15. web game editing device according to claim 13 is characterized in that, the web game modeling unit is used for:
Set up the data model that the element angle of inclination is judged;
Set up the element animation and play the data model of judging;
Set up the data model that effect is judged that shows of element;
Set up the data model that element collision is judged; And/or
Set up the data model that component attributes value scope is judged.
16. web game editing device according to claim 13 is characterized in that, the web game modeling unit is used for:
Sheet expired and triggered the data model of judging Time Created;
Set up the data model that KeyEvent is judged;
Set up the data model that touchscreen events is judged; And/or
Set up the data model that mouse event is judged.
17. web game editing device according to claim 13 is characterized in that, the web game modeling unit is used for:
Set up the data model of Angulation changes;
Set up the data model that animation is play;
Set up the data model that the element outward appearance changes;
Set up the data model of creating component;
Set up the data model of destroying element;
Set up the data model that the element physical attribute changes; And/or
Set up the data model that the element variable changes.
18. web game editing device according to claim 13 is characterized in that, further comprises the online game release unit;
The online game release unit is used for judging whether the performance on the described web page display interface meets the issue standard of setting up in advance, if it is directly at this web game of web page display interface issue; If not model assignment unit then again on the web page editing page for described attribute model and logical model assignment respectively.
CN201210083618XA 2012-03-27 2012-03-27 Brower game editing method and device Pending CN103365633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210083618XA CN103365633A (en) 2012-03-27 2012-03-27 Brower game editing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210083618XA CN103365633A (en) 2012-03-27 2012-03-27 Brower game editing method and device

Publications (1)

Publication Number Publication Date
CN103365633A true CN103365633A (en) 2013-10-23

Family

ID=49367076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210083618XA Pending CN103365633A (en) 2012-03-27 2012-03-27 Brower game editing method and device

Country Status (1)

Country Link
CN (1) CN103365633A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528166A (en) * 2014-09-28 2016-04-27 联想(北京)有限公司 Control method and control apparatus
CN106293084A (en) * 2016-08-06 2017-01-04 深圳市爱康伟业智能科技有限公司 A kind of mobile client somatic sensation television game generates method
CN107368409A (en) * 2017-06-02 2017-11-21 珠海金山网络游戏科技有限公司 A kind of Mission Objective system debug method and apparatus based on form
CN107766106A (en) * 2017-12-05 2018-03-06 北京百度网讯科技有限公司 The method and apparatus for generating configuration file
CN108553901A (en) * 2018-03-28 2018-09-21 沈宝亮 A method of being established based on UE engines has the warehouse of search and collection function
CN109364489A (en) * 2018-12-12 2019-02-22 北京像素软件科技股份有限公司 The dance movement processing method and processing device of based role game for play
CN109646958A (en) * 2018-12-29 2019-04-19 南京交通职业技术学院 A kind of development approach of the 3D web game based on WebGL
CN109718541A (en) * 2018-11-07 2019-05-07 苏州蜗牛数字科技股份有限公司 A kind of model interaction implementation method
CN113509730A (en) * 2021-05-19 2021-10-19 腾讯科技(上海)有限公司 Information preview method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1896985A (en) * 2005-07-15 2007-01-17 英业达股份有限公司 Computer program development system and method
CN101004679A (en) * 2006-11-28 2007-07-25 北京龙阁创意数码科技有限公司 Development system and development method for multiple unit animated cartoon products based on mass data
CN101699452A (en) * 2009-03-11 2010-04-28 深圳市伯仲通信技术有限公司 Game engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1896985A (en) * 2005-07-15 2007-01-17 英业达股份有限公司 Computer program development system and method
CN101004679A (en) * 2006-11-28 2007-07-25 北京龙阁创意数码科技有限公司 Development system and development method for multiple unit animated cartoon products based on mass data
CN101699452A (en) * 2009-03-11 2010-04-28 深圳市伯仲通信技术有限公司 Game engine

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528166A (en) * 2014-09-28 2016-04-27 联想(北京)有限公司 Control method and control apparatus
CN106293084A (en) * 2016-08-06 2017-01-04 深圳市爱康伟业智能科技有限公司 A kind of mobile client somatic sensation television game generates method
CN107368409B (en) * 2017-06-02 2020-10-16 珠海金山网络游戏科技有限公司 Table-based game task system debugging method and device
CN107368409A (en) * 2017-06-02 2017-11-21 珠海金山网络游戏科技有限公司 A kind of Mission Objective system debug method and apparatus based on form
CN107766106A (en) * 2017-12-05 2018-03-06 北京百度网讯科技有限公司 The method and apparatus for generating configuration file
CN107766106B (en) * 2017-12-05 2019-07-09 北京百度网讯科技有限公司 The method and apparatus for generating configuration file
CN108553901A (en) * 2018-03-28 2018-09-21 沈宝亮 A method of being established based on UE engines has the warehouse of search and collection function
CN109718541A (en) * 2018-11-07 2019-05-07 苏州蜗牛数字科技股份有限公司 A kind of model interaction implementation method
CN109718541B (en) * 2018-11-07 2022-07-15 苏州蜗牛数字科技股份有限公司 Model interaction realization method
CN109364489A (en) * 2018-12-12 2019-02-22 北京像素软件科技股份有限公司 The dance movement processing method and processing device of based role game for play
CN109364489B (en) * 2018-12-12 2022-05-27 北京像素软件科技股份有限公司 Dance action processing method and device based on role playing game
CN109646958A (en) * 2018-12-29 2019-04-19 南京交通职业技术学院 A kind of development approach of the 3D web game based on WebGL
CN113509730A (en) * 2021-05-19 2021-10-19 腾讯科技(上海)有限公司 Information preview method, device, equipment and storage medium
CN113509730B (en) * 2021-05-19 2023-09-22 腾讯科技(上海)有限公司 Information preview method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103365633A (en) Brower game editing method and device
Shanken Art in the information age: Technology and conceptual art
CN111684495A (en) Method and system for managing and displaying virtual content in a mixed reality system
Carrozzino et al. Lowering the development time of multimodal interactive application: the real-life experience of the XVR project
CN105096368B (en) Three dimensional object processing method and relevant apparatus
WO2013173949A1 (en) Method and device for loading and unloading object hierarchically in three-dimensional virtual reality scene
CN102254049A (en) Web page design system and method for building same
US20130007604A1 (en) System and method for a particle system based user interface
CN105740309A (en) Portal platform-based website content management system
US8566359B1 (en) Unfolding sparse data sets
CN108108430B (en) Forest virtual reality system implementation method based on Unity3D knowledge
CN104679283B (en) The method interacted using input unit
CN107277633A (en) A kind of method and device for showing direct broadcasting room present effect
CN103544263B (en) Rendering method and rendering device for mobile terminal
CN112261487A (en) Video barrage processing method and device, electronic equipment and storage medium
CN115705375A (en) Tree component rendering method and device
Rebelo et al. Using computer vision techniques for moving poster design
Lu et al. Design of immersive and interactive application based on augmented reality and machine learning
Zhang Implementation of common interaction modes based on UE4
Fu Parallax Scrolling Interface research based on Fitts' law
Zhou et al. IslayTouch: an educational visual programming environment based on state-transition diagrams that runs on android devices
Sloan et al. Feeling the ambiance: using smart ambiance to increase contextual awareness in game agents
Jiajun et al. Application of ray detection technology in landmark visual interaction
Jankowski et al. 2lipgarden: 3d hypermedia for everyone
Pagella Making Isometric Social Real-Time Games with HTML5, CSS3, and JavaScript

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131023