CN102968301A - Method for real-time control on running window of game - Google Patents

Method for real-time control on running window of game Download PDF

Info

Publication number
CN102968301A
CN102968301A CN2012104526553A CN201210452655A CN102968301A CN 102968301 A CN102968301 A CN 102968301A CN 2012104526553 A CN2012104526553 A CN 2012104526553A CN 201210452655 A CN201210452655 A CN 201210452655A CN 102968301 A CN102968301 A CN 102968301A
Authority
CN
China
Prior art keywords
game
control
window
spy
framework
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
CN2012104526553A
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.)
Fujian TQ Digital Co Ltd
Original Assignee
Fujian TQ Digital 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 Fujian TQ Digital Co Ltd filed Critical Fujian TQ Digital Co Ltd
Priority to CN2012104526553A priority Critical patent/CN102968301A/en
Publication of CN102968301A publication Critical patent/CN102968301A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Digital Computer Display Output (AREA)

Abstract

The invention provides a method for real-time control on a running window of a game, wherein the method comprises the following steps: a step 10, encapsulating a first static document library which contains a plurality of interfaces corresponding to in-game controls one to one in a framework; a step 20, loading a second static document library of an SPY++ programming auxiliary tool in the framework, wherein the second static document library contains a method of the SPY++ programming auxiliary tool for invoking the first static document library; a step 30, loading the framework into the game; a step 40, obtaining coordinate information on the running window, obtaining corresponding attributes of the controls by an interface method, and displaying the attributes on a modification window; and a step 50, availably modifying the attributes of the controls through the modification window and clicking an application key on the modification window to display effects after the modification on the running window in real time. The method for the real-time control on the running window of the game has the advantages that the modification about the in-game controls within the running window of the game is facilitated for game programming personnel, and further showed on the running window in real time.

Description

The instant method of controlling of a kind of human window to game
[technical field]
The present invention relates to the Game Programming development field, be specially the instant method of controlling of a kind of human window to game.
[background technology]
The Game Programming personnel need once and again each details in the game to be write and debugged in the process of development of games, and the result who programmes is also needed to compile again, and the human window in game embodies at last; When the Game Programming personnel arrange the attribute of the control in the game (as: the arbitrary object, background, personage in the game etc.), all need in the human window of playing, to embody by recompilating again; Can't carry out instant modification and amended embodiment at the human window of playing intuitively.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of human window to game the instant method of controlling, and can immediately inquire about, revise the control in playing on the human window of game, and is convenient.
The present invention is achieved in that the instant method of controlling of a kind of human window to game, and the method comprises the steps:
Step 10, encapsulate one first static file storehouse at framework, this first static file storehouse comprises the control interface one to one in a plurality of and the game;
Step 20, load the second static file storehouse of SPY++ programming assistant at framework; Described the second static file storehouse comprises this SPY++ programming assistant and calls the method in described the first static file storehouse;
Step 30, framework is loaded in the game;
Step 40, produce and the corresponding coordinate information in this position when clicking when the arbitrary position in the human window of game, and load the dynamic link library of being write as by the SPY++ resource file at described framework; Described coordinate information is judged, when this coordinate information points to the described control of step 10, the SPY++ programming assistant is by described the first static file storehouse of described the second static file library call, obtain and the corresponding attribute of this control, and the attribute of this control is revised window by the loaded and displayed of described dynamic link library in one;
Step 50, described modification window are provided with a utility key; Can make amendment to the attribute of described control by described modification window, and by clicking this utility key, in real time amended effect is shown in described human window.
Further, but the attribute in the described step 40 comprise at least a plurality of in game to note, control type, title, demonstration, control ID, handle number, memory address, position, size, click response region, Background index, background stretching mode, the palace lattice alignment thereof of this control, penetrate that configuration message penetrates, transparent, view coordinate, line space, control can drag, in the definition of font color, font size, content of text, whether top set, automatically line feed each.
Further, also be provided with one on the described modification window and preserve key; By click preserving key, described SPY++ programming assistant is saved in the modification of in the step 50 attribute of described control being carried out in the resource distribution file; When restarting, game reads this resource distribution file.
The present invention has following advantage: by the framework of the interior loading of playing, in framework, mutually call with related the first static library of game control in the second static library of SPY++ programming assistant and the framework, can immediately revise and use the contents attribute in the game when being implemented in game running, convenient debugging and modification game logic, avoid the difference between real game effect and the interface configurations instrument, need not again compile the effect that just can check after revising.
[description of drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the flowchart of the method for the instant control of a kind of human window to game of the present invention.
Fig. 2 is a kind of synoptic diagram that the first static file storehouse and the second static file storehouse in the instant method of controlling of the human window of playing are called mutually of the present invention.
Fig. 3 is the synoptic diagram that the instant method of controlling of a kind of human window to game of the present invention is made amendment to the attribute of control in a preferred embodiment.
[embodiment]
See also Fig. 1 to shown in Figure 3, the instant method of controlling of a kind of human window to game, the method comprises the steps:
Step 10, at framework 1 encapsulation one first static file storehouse LIB1, this first static file storehouse LIB1 comprises the control interface one to one in a plurality of and the game;
Step 20, load the second static file storehouse LIB2 of SPY++ programming assistant 2 at framework 1; Described the second static file storehouse LIB2 comprises the method that this SPY++ programming assistant 2 calls described the first static file storehouse LIB1;
Step 30, framework 1 is loaded in the game;
Step 40, produce and the corresponding coordinate information in this position when clicking when the arbitrary position in the human window 3 of game, and the dynamic link library of being write as by the SPY++ resource file in described framework 1 loading; Described coordinate information is judged, when this coordinate information points to the described control of step 10, it is interface method that SPY++ programming assistant 2 calls described the first static file storehouse LIB1(by described the second static file storehouse LIB2), obtain and the corresponding attribute of this control, and the attribute of this control is revised window 31 by the loaded and displayed of described dynamic link library in one;
Step 50, described modification window 31 are provided with a utility key 311; Can make amendment to the attribute of described control by described modification window 31, and by clicking this utility key 311, in real time amended effect is shown in described human window 3.
As shown in Figure 3, the attribute in the described step 40 (namely being shown in the attribute of revising on the window 31) but comprise at least a plurality of in game to note, control type, title, demonstration, control ID, handle number, memory address, position, size, click response region, Background index, background stretching mode, the palace lattice alignment thereof of this control, penetrate that configuration message penetrates, transparent, view coordinate, line space, control can drag, in the definition of font color, font size, content of text, whether top set, automatically line feed each.
Also be provided with one on the described modification window 31 and preserve key 312; By click preserving key 312, described SPY++ programming assistant 2 is saved in the modification of in the step 50 attribute of described control being carried out in the resource distribution file; When restarting, game reads this resource distribution file.
The instant method of controlling of a kind of capable window to game fortune of the present invention is when practical application, create two static file storehouses (i.e. the first static file storehouse LIB1 and the second static file storehouse LIB2) in the framework in being loaded into game, by mutually calling between two static file storehouses, the first static file storehouse LIB1 of SPY++ programming assistant by framework goes inquiry and arranges, and framework is given tacit consent to the second static file storehouse LIB2 and enabled the SPY++ programming assistant; When the Game Programming personnel need to carry out the modification of attribute to the control in playing, directly at the human window of game this control is clicked, by calling of two static file storehouses, obtain the attribute of this control, and be shown on the modification window; The Game Programming personnel are by making amendment to the attribute of this control revising on the window, and directly click afterwards the utility key 311(that revises on the window in modification and see Fig. 3), can embody at the human window of game the result corresponding to the modification of the attribute of this control; Only click in the situation of utility key 311, result's cover of revising can't be used for opening the human window of game next time; At last the revised context of the attribute of this control is seen Fig. 3 by the preservation key 312(that revises on the window) be saved in the resource distribution file (as: file of suffix ini by name), when starting, game automatically reads this resource distribution file when next time, namely the game the human window display update after the result, the convenience gaming programming personnel makes amendment to the attribute of control, and immediately sees amended result at the human window of game.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (3)

1. the method for the instant control of the human window to game, it is characterized in that: the method comprises the steps:
Step 10, encapsulate one first static file storehouse at framework, this first static file storehouse comprises the control interface one to one in a plurality of and the game;
Step 20, load the second static file storehouse of SPY++ programming assistant at framework; Described the second static file storehouse comprises this SPY++ programming assistant and calls the method in described the first static file storehouse;
Step 30, framework is loaded in the game;
Step 40, produce and the corresponding coordinate information in this position when clicking when the arbitrary position in the human window of game, and load the dynamic link library of being write as by the SPY++ resource file at described framework; Described coordinate information is judged, when this coordinate information points to the described control of step 10, the SPY++ programming assistant is by described the first static file storehouse of described the second static file library call, obtain and the corresponding attribute of this control, and the attribute of this control is revised window by the loaded and displayed of described dynamic link library in one;
Step 50, described modification window are provided with a utility key; Can make amendment to the attribute of described control by described modification window, and by clicking this utility key, in real time amended effect is shown in described human window.
2. the method for the instant control of a kind of human window to game according to claim 1 is characterized in that: the attribute in the described step 40 comprise at least a plurality of in game the note to this control, the control type, title, show, control ID, handle number, memory address, the position, size, click response region, the Background index, the background stretching mode, palace lattice alignment thereof, penetrate configuration, but message penetrates, transparent, the view coordinate, line space, control can drag, font color, font size, content of text, top set whether, automatically each in the definition that enters a new line.
3. the instant method of controlling of a kind of human window to game according to claim 1 is characterized in that: also be provided with one on the described modification window and preserve key; By click preserving key, described SPY++ programming assistant is saved in the modification of in the step 50 attribute of described control being carried out in the resource distribution file; When restarting, game reads this resource distribution file.
CN2012104526553A 2012-11-12 2012-11-12 Method for real-time control on running window of game Pending CN102968301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104526553A CN102968301A (en) 2012-11-12 2012-11-12 Method for real-time control on running window of game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104526553A CN102968301A (en) 2012-11-12 2012-11-12 Method for real-time control on running window of game

Publications (1)

Publication Number Publication Date
CN102968301A true CN102968301A (en) 2013-03-13

Family

ID=47798460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104526553A Pending CN102968301A (en) 2012-11-12 2012-11-12 Method for real-time control on running window of game

Country Status (1)

Country Link
CN (1) CN102968301A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038112A (en) * 2016-10-13 2017-08-11 腾讯科技(北京)有限公司 The adjustment method and device of application interface
CN107291427A (en) * 2016-03-30 2017-10-24 博雅网络游戏开发(深圳)有限公司 The optimization method of game engine, device and system
CN109597645A (en) * 2018-12-11 2019-04-09 平安科技(深圳)有限公司 A kind of property parameters amending method and relevant apparatus
CN111744179A (en) * 2020-06-28 2020-10-09 百度在线网络技术(北京)有限公司 Control display method and device applied to terminal, terminal and medium
CN111752818A (en) * 2019-03-27 2020-10-09 北京沃东天骏信息技术有限公司 Debugging method, debugging device and medium for application program
CN114265659A (en) * 2021-12-27 2022-04-01 飞天诚信科技股份有限公司 Method and device for displaying popup frame by iOS system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1441346A (en) * 2002-02-26 2003-09-10 三星电子株式会社 Figure user interface revising method and recording medium
US20060015847A1 (en) * 2000-09-14 2006-01-19 Bea Systems, Inc. XML-based graphical user interface application development toolkit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060015847A1 (en) * 2000-09-14 2006-01-19 Bea Systems, Inc. XML-based graphical user interface application development toolkit
CN1441346A (en) * 2002-02-26 2003-09-10 三星电子株式会社 Figure user interface revising method and recording medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291427A (en) * 2016-03-30 2017-10-24 博雅网络游戏开发(深圳)有限公司 The optimization method of game engine, device and system
CN107291427B (en) * 2016-03-30 2020-10-27 博雅网络游戏开发(深圳)有限公司 Method, device and system for optimizing game engine
CN107038112A (en) * 2016-10-13 2017-08-11 腾讯科技(北京)有限公司 The adjustment method and device of application interface
CN109597645A (en) * 2018-12-11 2019-04-09 平安科技(深圳)有限公司 A kind of property parameters amending method and relevant apparatus
CN109597645B (en) * 2018-12-11 2022-02-01 平安科技(深圳)有限公司 Attribute parameter modification method and related device
CN111752818A (en) * 2019-03-27 2020-10-09 北京沃东天骏信息技术有限公司 Debugging method, debugging device and medium for application program
CN111744179A (en) * 2020-06-28 2020-10-09 百度在线网络技术(北京)有限公司 Control display method and device applied to terminal, terminal and medium
CN114265659A (en) * 2021-12-27 2022-04-01 飞天诚信科技股份有限公司 Method and device for displaying popup frame by iOS system

Similar Documents

Publication Publication Date Title
CN102968301A (en) Method for real-time control on running window of game
AU2008255126B2 (en) Animated user interface control elements
CN105354872B (en) A kind of rendering engine based on 3D web games, implementation method and tools
KR101416089B1 (en) An integrated platform for authoring web applications and the authoring method thereof
CN103617027B (en) Based on image rendering engine construction method and the system of Android system
CN105446740A (en) MVVM (Model-View-View Model) architecture based Web front-end presentation system
CN103197929A (en) System and method for graphical programming facing children
CN107659624A (en) A kind of isomery cloud management system and method suitable for cloud computing
CN103677839B (en) Generating method and device of UI control across mobile terminal
CN107875632B (en) Method and system for realizing artificial intelligence behavior and artificial intelligence behavior editor
CN110533755A (en) A kind of method and relevant apparatus of scene rendering
CN103345387A (en) Module reuse achievement method based on module packaging
CN106648864B (en) Method and device for opening and/or switching multiple applications
CN104571026A (en) Platform and method for establishing whole-process metallurgical manufacturing execution system
CN104866318A (en) Method and device for displaying label pages in multiple windows
CN110688601A (en) Data processing method and device
CN104090755A (en) Vertical scrolling display method for long application names in Android Launcher interface
CN104063231B (en) Test resource rapid access method based on HIT-TENA
CN105302558A (en) Content presentation system and method for multiple clients
CN108416149A (en) The real-time formative method of 3 d part unrelated CAD, terminal and storage medium
CN102999371B (en) Interface Development method and system based on Lua script
CN103257788A (en) Windows desktop dynamic icon forming method
CN105930166A (en) Method based on WEB interface pop-up layers
CN113553017A (en) Terminal screen adapting method, system, equipment and medium
Homer et al. A tile-based editor for a textual programming language

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130313