CN111198682B - Video game application software development engine and implementation method - Google Patents
Video game application software development engine and implementation method Download PDFInfo
- Publication number
- CN111198682B CN111198682B CN201811380272.3A CN201811380272A CN111198682B CN 111198682 B CN111198682 B CN 111198682B CN 201811380272 A CN201811380272 A CN 201811380272A CN 111198682 B CN111198682 B CN 111198682B
- Authority
- CN
- China
- Prior art keywords
- game
- module
- music
- data
- control module
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4781—Games
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a TV game application software development engine and an implementation method, and belongs to the field of application software development engines. The method solves the problems that in the prior art, the development of the television game application software has no complete technical framework, and each functional module and each interface are not perfected, so that the software development workload is large.
Description
Technical Field
The invention relates to the field of application software development engines, in particular to a television game application software development engine and an implementation method.
Background
At present, a home television has been subjected to broadband networking for signal transmission, and in the era of system intellectualization, the television is not only a video display terminal but also an interactive intelligent internet terminal, so that various application software, system software, value-added service and the like based on a television screen terminal have widely and continuously demanded.
Most of application software, system software and value-added service of the existing television are simply transplanted or modified on application software and content on mobile phones and computers. There is no mature technical standard and development framework for television application software, especially game application software, and no television game development engine which can be used for commercial development. The TV application software, especially game software, uses remote controller and home broadband network as carrier, and has man-machine interface, display characteristic, network and system environment different from those of mobile phone and computer. Therefore, by modifying various software on the mobile phone and the computer and then being suitable for the television, the method is only simple aiming at the environment and the characteristics of television content development, simple adaptability configuration is carried out on development and debugging tests, different project development processes cannot be adapted and guided, and the software development workload is large.
Disclosure of Invention
In view of the above drawbacks of the prior art, the present invention is directed to providing a development engine and implementation method for video game application software, which are used for solving the problem that in the prior art, the development of video game application software has no complete technical framework, and each functional module and interface are not perfected, resulting in large software development workload.
The invention provides a TV game application software development engine, which comprises
AudioManager music module: control for music in a game;
nethandler data module: the method is used for saving data in the game;
an Activity display module: the method comprises the steps of displaying a game page;
the utils tool class module: for assisting game development;
canvas control module: jump control for game pages;
an ottpropping frame control module: the internal spring frame control is used for controlling the game;
key value key control module: the key operation control method is used for key operation control of the set top box;
the Graphics brush conversion module: drawing a picture;
the Bitmap picture conversion module: format conversion for drawing pictures;
an Iview control module: the method is used for game page display control;
the AudioManager music module, the nethandler data module, the Activity display module and the utiles tool module are respectively connected with the Canvas control module, the ottpropping bullet frame control module, the Keyvalue key control module, the Graphics painting brush conversion module and the Bitmap picture conversion module are respectively connected with the Iview control module, and the Canvas control module is also connected with the Iview control module.
Further, the AudioManager music control module supports music playing in two modes, one is repeated playing of background music, and the other is single playing of key music or short-duration music.
Furthermore, the nethandler data processing module supports two types of storage modes, one is to store data locally, and the other is to store data in a server.
Further, the Ottpopping frame control module supports two frame controls, one is charging prompt frame control, and the other is pause frame control.
A method for implementing development of video game application software, the method comprising the steps of:
step 1: starting a main Activity, reading configuration parameters and storing the configuration parameters;
step 2: acquiring music switch parameters set by a game;
step 3: initializing and obtaining page picture resources, and opening a game starting page;
step 4: drawing and displaying the picture;
step 5: an update of the game page is performed.
Further, the specific steps of the step 1 are as follows:
step 1.1: starting the main Activity, reading starting parameters of the game from the configuration file and storing the starting parameters;
step 1.2: acquiring game save data, if null is returned, indicating that the save game data is empty, and needing to acquire and save again; if the json is returned, the game data is acquired, and the acquired data is analyzed and used.
Further, the specific steps of the step 2 are as follows:
step 2.1: performing the operation of acquiring the music switch parameters set by the game, and if yes is returned, starting playing music; if return to no, music is not played.
As described above, the development engine and the implementation method of the video game application software have the following beneficial effects: the invention solves the problems of quick coding realization of various parameter indexes, technical frame models and various functional modules encountered in the development of television application software, clearly and uniformly sets parameters and methods to form various television set top box terminals with standards corresponding to hundreds of different manufacturers and models, sets a set of frames for the development of game application software according to the running environment and interaction characteristics of the network television, and can be developed directly by a developer without constructing the frames; and various common functional modules and interfaces are optimized and packaged, so that a developer can directly call the game software without specially adapting to various terminals, and the development of the game software at the television end can be rapidly and efficiently started.
Drawings
FIG. 1 is a block diagram showing the architecture of a video game application development engine disclosed in an embodiment of the present invention;
fig. 2 shows a flowchart of a method for implementing development of video game application software disclosed in an embodiment of the present invention.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present invention by way of illustration, and only the components related to the present invention are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
As shown in FIG. 1, the present invention provides a video game-like application software development engine comprising
AudioManager music module: the method is used for controlling music in the game, supports music playing in two modes, wherein one mode is repeated playing of background music, and the other mode is single playing of key music or short-duration music, and the two modes can solve the problem of processing sound in the game.
Nethandler data module: the method is used for storing data in games, supports two types of storage modes, one is to store the data locally, namely to store the data in a client, and can quickly acquire and store the data without networking operation when the data is stored, and the other is to store the data in a server, so that the data is prevented from being deleted by mistake;
by combining two storage modes, namely, simultaneously storing the data in the local and the server, the data is firstly obtained from the local when being obtained, and if the local data is empty, the data is obtained from the server, so that the safety of data storage and the instantaneity of data acquisition are ensured.
The utils tool class module: the method is used for assisting game development, and integrates a large number of development and use methods (such as time class, character string segmentation, character string splicing, file uploading, file downloading, number cutting, random number acquisition, md5 encryption algorithm and the like).
An ottpropping frame control module: the method is used for controlling the control of the internal bullet frames of the game and supporting two bullet frame controls, wherein one bullet frame is a charging prompt bullet frame, and the other bullet frame is a pause bullet frame;
the method for using the game bullet frame is integrated in the ottpropping bullet frame control module, unified management of the bullet frame is achieved, different parameters are input through the ottpropping bullet frame control module for calling at the place where the bullet frame is needed, different types of bullet frames can be popped up, and direct calling of software developers is facilitated; and simultaneously, when the bullet frame is called, loading bullet frame resources, and when the bullet frame is removed, releasing the resources so as to reasonably use the memory.
Key value key control module: the key operation of the set top box is integrated, and the differences of various buttons, key values and response events are caused by the differences of set top box manufacturers and models, so that the normal operation of most set top boxes can be met through a large number of key operation integration;
the keys comprise home keys, setting keys and the like, and corresponding key values are integrated for different browsers according to key response events of the webpage.
The Graphics brush conversion module: drawing a picture;
the Bitmap picture conversion module: format conversion for drawing pictures;
the Graphics brush conversion module and the Bitmap picture conversion module are core modules of an engine, the television game application software can be quickly developed through java codes, the original android game development is that the Canvas control module is used for drawing pictures, and the Bitmap picture conversion module is used for creating pictures.
An Activity display module: the method comprises the steps of displaying a game page;
canvas control module: the method is used for realizing the jump of the game page under the condition of not changing the Activity component;
an Iview control module: display control for game pages;
the Canvas control module is connected with the Iview control module, and the final display of each page of the game is realized under the condition that the Activity component of the Activity display module is not changed.
The AudioManager music module, the nethandler data module, the Activity display module and the utiles tool module are respectively connected with the Canvas control module, the ottpropping bullet frame control module, the Keyvalue key control module, the Graphics painting brush conversion module and the Bitmap picture conversion module are respectively connected with the Iview control module, and the Canvas control module is also connected with the Iview control module.
As shown in fig. 2, a method for implementing development of video game application software includes the following steps:
step 1: starting a main Activity through an Activity display module, reading configuration parameters and storing the parameters in a NetHander data module;
firstly, calling an onCreate method integrated by an Activity display module to start a main Activity, reading starting parameters (such as configuration parameters of a game starting class, a horizontal screen, a vertical screen and the like) of a game from configuration file android mainifest. Xml, and storing the parameters in a NetHander data module;
calling a getData method to acquire data saved in the game, and if null is returned, indicating that the saved data is empty and the acquisition and the saving are needed to be carried out again; if json is returned, the obtained data is indicated, and the obtained data is only needed to be analyzed and used.
Step 2: calling a getType method integrated by an AudioManager music module to acquire music switch parameters set by a game, and if yes is returned, starting playing music; if return to no, music is not played.
Step 3: initializing and acquiring page picture resources, and opening a game starting page through an Iview control module;
firstly, acquiring local picture resources by using a Loadlocal method integrated by an utiles tool module, wherein the method can automatically detect whether the picture resources to be acquired are stored locally; or obtaining the picture resources stored in the server through a Loadserver method, wherein the method can download the required picture resources through a set server path;
and then opening a game starting page through the Iview control module, controlling page skip in the game and release of picture resources, and realizing switching among different pages under the condition of single Activity.
Step 4: drawing a picture through a Graphics brush conversion module and a Bitmap picture conversion module and displaying the picture;
firstly, drawing pictures through a Graphics brush conversion module, and converting the drawn pictures into images in java through a Bitmap picture conversion module;
and finally, displaying the drawn picture on the set top box terminal through the Activity display module.
Step 5: an update of the game page is performed.
The Update type of the key value key control module is used for realizing the Update of the game page, so that the game can be kept to run near the same frame rate on different set top boxes, the running stability of the game is ensured, and meanwhile, the use of a set top box remote controller is controlled through the key value type of the key value key control module, and the game is ensured to be applicable to the set top boxes of most models.
In summary, the invention solves the problems of quick coding realization of various parameter indexes, technical frame models and various functional modules encountered in the development of the television application software, clearly and uniformly sets parameters and methods to form various television set-top box terminals with standards corresponding to hundreds of different manufacturers and models, sets a frame for the development of the game application software according to the running environment and interaction characteristics of the network television, and can be developed by a developer directly without setting up the frame; and various common functional modules and interfaces are optimized and packaged, so that a developer can directly call the game software without specially adapting to various terminals, and the development of the game software at the television end can be rapidly and efficiently started. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. Accordingly, it is intended that all equivalent modifications and variations of the invention be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.
Claims (7)
1. A video game-like application software development engine, said engine comprising
AudioManager music module: control for music in a game;
nethandler data module: the method is used for saving data in the game;
an Activity display module: the method comprises the steps of displaying a game page;
the utils tool class module: for assisting game development;
canvas control module: jump control for game pages;
ottpop frame control module: the internal spring frame control is used for controlling the game;
key value key control module: the key operation control method is used for key operation control of the set top box;
the Graphics brush conversion module: drawing a picture;
the Bitmap picture conversion module: format conversion for drawing pictures;
an Iview control module: the method is used for game page display control;
the AudioManager music module, the nethandler data module, the Activity display module and the utiles tool module are respectively connected with the Canvas control module, the Ottpop playing frame control module, the Keyvalue key control module, the Graphics painting brush conversion module and the Bitmap picture conversion module are respectively connected with the Iview control module, and the Canvas control module is also connected with the Iview control module.
2. The video game-like application development engine of claim 1, wherein: the AudioManager music module supports music playing in two modes, wherein one mode is repeated playing of background music, and the other mode is single playing of key music or short-duration music.
3. The video game-like application development engine of claim 1, wherein: the NetHander data module supports two types of storage modes, one is to store data locally, and the other is to store data in a server.
4. The video game-like application development engine of claim 1, wherein: the Ottpop frame control module supports two frame controls, one is charging prompt frame control and the other is pause frame control.
5. A method for implementing development of video game application software based on a video game application software development engine according to any one of claims 1-4, said method comprising the steps of:
step 1: starting a main Activity, reading configuration parameters and storing the configuration parameters;
step 2: acquiring music switch parameters set by a game;
step 3: initializing and obtaining page picture resources, and opening a game starting page;
step 4: drawing and displaying the picture;
step 5: an update of the game page is performed.
6. The method for implementing development of video game application software according to claim 5, wherein the specific steps of step 1 are as follows:
step 1.1: starting the main Activity, reading starting parameters of the game from the configuration file and storing the starting parameters;
step 1.2: acquiring game save data, if null is returned, indicating that the save game data is empty, and needing to acquire and save again; if the json is returned, the game data is acquired, and the acquired data is analyzed and used.
7. The method for implementing development of video game application software according to claim 5, wherein the specific steps of step 2 are as follows:
step 2.1: performing the operation of acquiring the music switch parameters set by the game, and if yes is returned, starting playing music; if return to no, music is not played.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811380272.3A CN111198682B (en) | 2018-11-19 | 2018-11-19 | Video game application software development engine and implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811380272.3A CN111198682B (en) | 2018-11-19 | 2018-11-19 | Video game application software development engine and implementation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111198682A CN111198682A (en) | 2020-05-26 |
CN111198682B true CN111198682B (en) | 2023-06-09 |
Family
ID=70743875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811380272.3A Active CN111198682B (en) | 2018-11-19 | 2018-11-19 | Video game application software development engine and implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111198682B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014067323A1 (en) * | 2012-10-31 | 2014-05-08 | 中兴通讯股份有限公司 | Iptv advertisement distribution method and system |
WO2016197863A1 (en) * | 2015-06-11 | 2016-12-15 | 阿里巴巴集团控股有限公司 | Client, smart television system, and corresponding data transmission method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1287442A4 (en) * | 2000-05-02 | 2005-01-26 | Choice Game Music Llc | Real time incorporation of personalized audio into video game |
CN101335916B (en) * | 2008-07-22 | 2012-06-20 | 中山大学 | General mobile phone role playing network game engine |
US20120028712A1 (en) * | 2010-07-30 | 2012-02-02 | Britesmart Llc | Distributed cloud gaming method and system where interactivity and resources are securely shared among multiple users and networks |
CN102419708B (en) * | 2011-12-19 | 2014-04-09 | 广州杰赛科技股份有限公司 | Method and device for operating Java 2 micro edition (J2ME) games |
CN103425491B (en) * | 2013-07-30 | 2016-10-12 | 广州爱九游信息技术有限公司 | A kind of game engine |
CN107305492A (en) * | 2016-04-18 | 2017-10-31 | 广东石油化工学院 | Gse2D game engines |
-
2018
- 2018-11-19 CN CN201811380272.3A patent/CN111198682B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014067323A1 (en) * | 2012-10-31 | 2014-05-08 | 中兴通讯股份有限公司 | Iptv advertisement distribution method and system |
WO2016197863A1 (en) * | 2015-06-11 | 2016-12-15 | 阿里巴巴集团控股有限公司 | Client, smart television system, and corresponding data transmission method |
Also Published As
Publication number | Publication date |
---|---|
CN111198682A (en) | 2020-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109800173A (en) | Program debugging method, device and storage medium | |
CN103634592A (en) | Automatic test method and system for intelligent televisions | |
CN110780789B (en) | Game application starting method and device, storage medium and electronic device | |
CN110874217A (en) | Interface display method and device for fast application and storage medium | |
CN105224369A (en) | Application start method and system | |
CN110674040A (en) | Application testing method, device, equipment and storage medium | |
CN109117127A (en) | Program code generation method, device and computer readable storage medium | |
CN111198682B (en) | Video game application software development engine and implementation method | |
CN101808218A (en) | Method, device and system for acquiring and updating content of electronic program guide | |
CN104333806A (en) | Set top box parameter operation method and device | |
CN112055259A (en) | Advertisement filtering method, intelligent terminal and storage medium | |
CN108600838B (en) | Information source switching method and device for Android television, Android television and readable storage medium | |
CN110806856A (en) | Data loading method and device and electronic equipment | |
CN113282268B (en) | Sound effect configuration method and device, storage medium and electronic equipment | |
CN110278480A (en) | TV channel pre-setting method, device, computer equipment and readable storage medium storing program for executing | |
CN109104629A (en) | A kind of method and browser of the compatible IPTV page and the public network page | |
CN112487322A (en) | Third-party application Loading page Loading method and display equipment | |
CN112130721A (en) | Method for starting multi-window multi-task by one key based on Andriod platform and readable medium | |
CN109743692A (en) | Acquisition methods, system and the computer readable storage medium of bluetooth hot spot information | |
CN102413371B (en) | Set top box application program local calling method and application management device | |
CN113259768B (en) | Method, system and medium for managing APK in set-top box | |
CN111752438B (en) | Method for displaying mobile terminal multi-trigger update dynamic label | |
CN113617022B (en) | Method and device for accelerating starting speed of game application | |
CN117075984B (en) | Module processing method, device, communication equipment and computer readable storage medium | |
CN118210501A (en) | Interactive teaching application system based on B/S architecture |
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 |