CN102663109B - Method and device for batch adding of point ranking function for Flash game - Google Patents

Method and device for batch adding of point ranking function for Flash game Download PDF

Info

Publication number
CN102663109B
CN102663109B CN201210111582.1A CN201210111582A CN102663109B CN 102663109 B CN102663109 B CN 102663109B CN 201210111582 A CN201210111582 A CN 201210111582A CN 102663109 B CN102663109 B CN 102663109B
Authority
CN
China
Prior art keywords
swf
game
file
load document
rename
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.)
Active
Application number
CN201210111582.1A
Other languages
Chinese (zh)
Other versions
CN102663109A (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.)
4399 Network Co., Ltd.
Original Assignee
XIAMEN YOUJIA NETWORK CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XIAMEN YOUJIA NETWORK CO Ltd filed Critical XIAMEN YOUJIA NETWORK CO Ltd
Priority to CN201210111582.1A priority Critical patent/CN102663109B/en
Publication of CN102663109A publication Critical patent/CN102663109A/en
Application granted granted Critical
Publication of CN102663109B publication Critical patent/CN102663109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a device for batch adding of a point ranking function for a Flash game. When a player visits a game server for playing the game, the highest score obtained by the player during the game can be uploaded into the server, and the ranking situation of all the players during the fixed time period can be displayed in a point ranking frame below the game, so that the enthusiasm of the players in playing the game can be improved. In addition, according to the method and the device, disclosed by the invention, the original game does not need to be modified, only the height of a stage, the width of the stage, a point variable and the number of bytes of the game of game over condition need to be read, then the game with the point function can be manufactured, the original game does not need to be modified, and the method and the device are convenient to use.

Description

Flash game increases the method and apparatus of integration ranking function in batches
Technical field
The invention belongs to field of computer technology, being specifically related to a kind of Flash game increases the method and apparatus of integration ranking function in batches.
Background technology
Flash game is the new a kind of game form rising in recent years, due to its have game simple, easy to operate, green, gradually liked by numerous online friends without installation and the advantage such as file volume is little.
The integration ranking function of game refers to: in the time that game player finishes certain game, give certain integration according to player in the performance of game process, and show the integration ranking list in certain time period by integration rank sequencing below game.By this function, can improve the enthusiasm that game player plays games, the user who improves game player experiences.
But in technology, Flash game does not possess integration ranking function conventionally now, if need to make Flash game possess integration ranking function, need to revise former Flash game.The major defect that this method exists is: versatility is poor, need to one by one Flash be played and be modified, thereby increase staff's working strength; The content that former Flash game is revised is more, has also increased the complexity of revising.
Summary of the invention
The defect existing for prior art, the invention provides a kind of Flash game increases the method and apparatus of integration ranking function in batches, has advantages of that versatility is good; And the content that former Flash game is revised is less, has simplified the complexity of revising.
Technical scheme provided by the invention is as follows:
The invention provides a kind of Flash game increases the method for integration ranking function in batches, comprises the following steps:
S1, batch processing server creates integrating gear; Wherein, described integrating gear is swf load document, in described swf load document, includes script file;
S2, described batch processing server receives the source swf file of client upload, and by the filename RNTO filename identical with the filename of described swf load document of described source swf file; Wherein, described source swf file is corresponding with source Flash game;
S3, described batch processing server is inputted the game parameter that described source Flash plays in the script file of described swf load document, after compiling, obtains new swf load document;
S4, the described source swf file after described new swf load document and rename is jointly uploaded to game server by described batch processing server.
Preferably, described game parameter comprises: stage height, stage width, integration variable, game over condition and game byte number.
Preferably, S4 is specially:
Described batch processing server generates the described source swf file packing after described new swf load document and rename after compressed file, and this compressed file is uploaded to game server.
Preferably, after S4, also comprise: the described source swf file after the described game server described new swf load document of operation and rename.
Preferably, the described source swf file after the described game server described new swf load document of operation and rename is specially:
Described new swf load document loads the described source swf file after described rename.
The present invention also provides a kind of Flash game to increase in batches the device of integration ranking function, comprising:
Creation module, for creating integrating gear; Wherein, described integrating gear is swf load document, in described swf load document, includes script file;
Receiver module, for receiving the source swf file of client upload;
Rename module, the identical filename of filename of the described swf load document creating with described creation module for the described source swf file RNTO that described receiver module is received; Wherein, described source swf file is corresponding with source Flash game;
Collector, inputs for the script file of the described swf load document to described creation module establishment the game parameter that the described source Flash after the rename of described rename module plays, and after compiling, obtains new swf load document;
Upper transmission module, for jointly uploading to game server by the described source swf file after described collector compiles described new swf load document and the rename of described rename module obtaining.
Preferably, described game parameter comprises: stage height, stage width, integration variable, game over condition and game byte number.
Preferably, also comprise:
Compression module, for compression that the described source swf file after described collector compiles described new swf load document and the rename of described rename module obtaining is packed, is then uploaded to described upper transmission module.
Preferably, also comprise:
Operation module, for moving the described source swf file after described new swf load document and the rename that described upper transmission module uploads.
Preferably, described operation module also for: load the described source swf file after described rename by described new swf load document.
Beneficial effect of the present invention is as follows:
Flash game provided by the invention increases the method and apparatus of integration ranking function in batches, do not need former game to modify, only need to read stage height, stage width, integration variable, game over condition and the game byte number of former game and just can make the game with integrating function, and do not need to revise former game, have advantages of easy to use.
Accompanying drawing explanation
The Flash game that Fig. 1 provides for the embodiment of the present invention increases the schematic flow sheet of the method for integration ranking function in batches;
The Flash game that Fig. 2 provides for the embodiment of the present invention increases the structural representation of the device of integration ranking function in batches.
Embodiment
As shown in Figure 1, the invention provides a kind of Flash game increases the method for integration ranking function in batches, comprises the following steps:
S1, batch processing server creates integrating gear; Wherein, described integrating gear is swf load document, in described swf load document, includes script file;
It should be noted that, swf load document compiles generation by .fla file and .as script file by compilation tool, and script file has been created on swf load document the inside in the time recompilating, and therefore, script file is invisible.In subsequent step, revise script file, and compile and just can generate new swf load document.
S2, described batch processing server receives the source swf file of client upload, and by the filename RNTO filename identical with the filename of described swf load document of described source swf file; Wherein, described source swf file is corresponding with source Flash game;
Only have the filename RNTO filename identical with the filename of described swf load document of source swf file, swf load document could compile source swf file.
S3, described batch processing server is inputted the game parameter that described source Flash plays in the script file of described swf load document, after compiling, obtains new swf load document; Wherein, game parameter comprises: stage height, stage width, integration variable, game over condition and game byte number.
In this step, for improving security, also can be encrypted the new swf load document obtaining.
S4, the described source swf file after described new swf load document and rename is jointly uploaded to game server by described batch processing server.
In this step, upload for convenience, also can comprise the process of packing compression, concrete, batch processing server generates the described source swf file packing after described new swf load document and rename after compressed file, and this compressed file is uploaded to game server.
S5, the described source swf file after the game server described new swf load document of operation and rename.
The concrete method of operation is: load the described source swf file after described rename by described new swf load document.
As shown in Figure 2, the present invention also provides a kind of Flash game to increase in batches the device of integration ranking function, comprising:
Creation module 21, for creating integrating gear; Wherein, described integrating gear is swf load document, in described swf load document, includes script file;
Receiver module 22, for receiving the source swf file of client upload;
Rename module 23, the identical filename of filename of the described swf load document creating with creation module 21 for the described source swf file RNTO that receiver module 22 is received; Wherein, described source swf file is corresponding with source Flash game;
Collector 24, inputs the game parameter of the described source Flash game after 23 renames of rename module for the script file of the described swf load document that creates to creation module 21, after compiling, obtain new swf load document; Wherein, game parameter comprises: stage height, stage width, integration variable, game over condition and game byte number.
Upper transmission module 25, for jointly uploading to game server by the described source swf file compiling after described new swf load document and 23 renames of rename module that obtain through collector 24.
Certainly, upload for convenience, also can also comprise: compression module, for compression that the described source swf file after described collector compiles described new swf load document and the rename of described rename module obtaining is packed, is then uploaded to described upper transmission module.
Operation module 26, for moving the described source swf file after described new swf load document and the rename that upper transmission module 25 uploads.Described operation module also for: load the described source swf file after described rename by described new swf load document.
Therefore, pass through above-mentioned steps, in the time that players accesses game server is played, during the highest score that player can be obtained in game is uploaded onto the server, and each player's ranking in showing set time section in integration rank frame below game, thereby improve the enthusiasm that player plays.In addition, in the present invention, do not need former game to modify, only need to read stage height, stage width, integration variable, game over condition and the game byte number of former game and just can make the game with integrating function, and do not need to revise former game, have advantages of easy to use.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (4)

1. Flash game increases a method for integration ranking function in batches, it is characterized in that, comprises the following steps:
S1, batch processing server creates integrating gear; Wherein, described integrating gear is swf load document, in described swf load document, includes script file;
S2, described batch processing server receives the source swf file of client upload, and by the filename RNTO filename identical with the filename of described swf load document of described source swf file; Wherein, described source swf file is corresponding with source Flash game;
S3, described batch processing server is inputted the game parameter that described source Flash plays in the script file of described swf load document, after compiling, obtains new swf load document; Wherein, described game parameter comprises: stage height, stage width, integration variable, game over condition and game byte number;
S4, the described source swf file after described new swf load document and rename is jointly uploaded to game server by described batch processing server;
After S4, also comprise: the described source swf file after the described game server described new swf load document of operation and rename; Described source swf file after the described game server described new swf load document of operation and rename is specially:
Described new swf load document loads the described source swf file after described rename.
2. Flash game according to claim 1 increases the method for integration ranking function in batches, it is characterized in that, S4 is specially:
Described batch processing server generates the described source swf file packing after described new swf load document and rename after compressed file, and this compressed file is uploaded to game server.
3. Flash game increases a device for integration ranking function in batches, it is characterized in that, comprising:
Creation module, for creating integrating gear; Wherein, described integrating gear is swf load document, in described swf load document, includes script file;
Receiver module, for receiving the source swf file of client upload;
Rename module, the identical filename of filename of the described swf load document creating with described creation module for the described source swf file RNTO that described receiver module is received; Wherein, described source swf file is corresponding with source Flash game;
Collector, inputs for the script file of the described swf load document to described creation module establishment the game parameter that the described source Flash after the rename of described rename module plays, and after compiling, obtains new swf load document; Described game parameter comprises: stage height, stage width, integration variable, game over condition and game byte number;
Upper transmission module, for jointly uploading to game server by the described source swf file after described collector compiles described new swf load document and the rename of described rename module obtaining;
Also comprise:
Operation module, for moving the described source swf file after described new swf load document and the rename that described upper transmission module uploads;
Described operation module also for: load the described source swf file after described rename by described new swf load document.
4. Flash game according to claim 3 increases the device of integration ranking function in batches, it is characterized in that, also comprises:
Compression module, for compression that the described source swf file after described collector compiles described new swf load document and the rename of described rename module obtaining is packed, is then uploaded to described upper transmission module.
CN201210111582.1A 2012-04-16 2012-04-16 Method and device for batch adding of point ranking function for Flash game Active CN102663109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210111582.1A CN102663109B (en) 2012-04-16 2012-04-16 Method and device for batch adding of point ranking function for Flash game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210111582.1A CN102663109B (en) 2012-04-16 2012-04-16 Method and device for batch adding of point ranking function for Flash game

Publications (2)

Publication Number Publication Date
CN102663109A CN102663109A (en) 2012-09-12
CN102663109B true CN102663109B (en) 2014-05-28

Family

ID=46772600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210111582.1A Active CN102663109B (en) 2012-04-16 2012-04-16 Method and device for batch adding of point ranking function for Flash game

Country Status (1)

Country Link
CN (1) CN102663109B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3246869A4 (en) * 2015-01-13 2018-06-13 Sony Corporation Information processing apparatus, information processing method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783097A (en) * 2004-11-30 2006-06-07 华为技术有限公司 Game service froming method
CN102135902A (en) * 2011-03-01 2011-07-27 深圳市快播科技有限公司 Method for controlling Flash game

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070087829A1 (en) * 2005-10-14 2007-04-19 Derek Liu Multi-player game architecture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783097A (en) * 2004-11-30 2006-06-07 华为技术有限公司 Game service froming method
CN102135902A (en) * 2011-03-01 2011-07-27 深圳市快播科技有限公司 Method for controlling Flash game

Also Published As

Publication number Publication date
CN102663109A (en) 2012-09-12

Similar Documents

Publication Publication Date Title
CN104980773B (en) streaming media processing method and device, terminal and server
CN203916017U (en) A kind of body-building system based on mobile terminal
WO2004086186A3 (en) Server consolidation data model
CN105118352A (en) Full-automatic musical instrument playing error correction method
WO2010141692A3 (en) Game apparatus and game control method for controlling and representing magical ability and power of a player character in an action power control program
CN102646161A (en) Method for integrating flash games in social network
CN103021023A (en) Three-dimensional scene construction method based on browser
US20140018135A1 (en) Fantasy event content selection system
JP2018110896A5 (en)
CN102663109B (en) Method and device for batch adding of point ranking function for Flash game
CN107039024A (en) Music data processing method and processing device
CN103166957A (en) Data interaction method between virtual game and true environment game
EP2668985A3 (en) Posted information sharing system, game application executing system, program, and information-processing method
CN103077191A (en) Self-adaptive Web platform audio playing method and device
WO2011108837A3 (en) Apparatus and method for producing user-defined golf course, server for producing user-defined golf course and virtual golf simulation method using the golf course
EP2181739A3 (en) Hybrid platform for video games
CN103729495B (en) power system simulation model recommendation method
CN103414720A (en) Interactive 3D voice service method
CN102883188A (en) Method and system of downloading and playing MP4 files in real time
CN202472297U (en) Device for data acquisition of dynamic seat
WO2011115412A3 (en) Apparatus and method for producing user-defined golf course, server for producing user-defined golf course and virtual golf simulation method using the golf course
WO2017185618A1 (en) Method and device for implementing civilian commentary
CN113244625B (en) Editing method and device for game topography data, storage medium and electronic device
CN202634619U (en) Intelligentized television set top box
CN202068514U (en) Video-on-demand server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: 4399 NETWORK CO., LTD.

Free format text: FORMER NAME: XIAMEN YOUJIA NETWORK CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 361008 Fujian city of Xiamen province Xiamen torch Software Park, hi tech Zone two expected Road No. 2 building 202 room

Patentee after: 4399 Network Co., Ltd.

Address before: 361008 Fujian city of Xiamen province Xiamen torch Software Park, hi tech Zone two expected Road No. 2 building 202 room

Patentee before: Xiamen Youjia Network Co., Ltd.