Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Universal game state control system and method

A state control and game technology, applied in the field of general game state control systems, can solve problems such as disordered behavior of game characters and complex logic processing, and achieve the effects of improving game development efficiency, flexible behavior control, and reducing complexity

Active Publication Date: 2015-03-04
珠海西山居互动娱乐科技有限公司 +1
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

To control these behaviors and deal with their logic, such as prohibiting most of the player's behaviors when the player dies and only allowing resurrection-related behaviors, a large number of complex logic processing is required, and a little carelessness of game developers when writing code will cause Program bugs that lead to disordered behavior of game characters

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Universal game state control system and method
  • Universal game state control system and method
  • Universal game state control system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The game state control system of the present invention is suitable for the development of stand-alone games, mobile games, web games and other games, and is especially suitable for realizing complex game behavior logic in controlling role-playing games.

[0031] refer to figure 1 Shown is a structural block diagram of a game state control system according to an embodiment of the present invention, the system includes: a behavior relationship storage, a configuration file converter, a behavior state manager and a logic processor. Wherein, the behavior relation memory stores the call name of the game behavior rules and the behavior state checking function which can be customized and edited. The configuration file converter is used to convert the stor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a universal game state control system and method. The system comprises a behavior relation storer, a configuration file converter, a behavior state manager and a logic processor. The method includes that game behavior rules that can be edited in a user-defined mode and predefined behavior state test function fields are stored and then converted into configuration files that can be directly loaded by a Lua script engine of a game program, the Lua script engine of the game program is called to analyze configuration files that are output by the configuration file converter, game behaviors, behavior state functions and behavior state test function ports that are already configured are recognized and managed, a logical relationship between to-be-tested behaviors and about-to-happen behaviors is determined, and a behavioral control command is output. The universal game state control system and method has the advantages that a behavior description table is merely required to be modified and then a game is restarted so that newly modified game behaviors and logics can directly come into effect, thereby, the game developing efficiency is greatly increased, and the conditions of program errors caused by human code modification can be reduced.

Description

technical field [0001] The invention relates to the application field of computer games, in particular to a general game state control system and method. Background technique [0002] In traditional role-playing games, the behavioral state design of player characters is usually implemented in a hard-coded way. For example, when only attacking and walking are dealt with initially, the behavior of the avatar is described as: it can attack while walking, but cannot walk while attacking. In order to restrict the player to operate the character to walk when attacking, the usual practice is to add the following program judgment code: [0003] Function bool move() [0004] { [0005] If(is in attack) [0006] Msg("can't walk"); [0007] Return false. [0008] Else [0009] / / todo: walk [0010] Return true; [0011]} [0012] The disadvantage of this conditional structure is that when more behaviors and logical judgments are added, the entire code needs to...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): A63F13/822A63F13/55
Inventor 陈汉辉邹涛陈飞舟
Owner 珠海西山居互动娱乐科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products