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

Behavior processing method and device

A processing method and behavior technology, applied in the field of data processing, can solve the problems of complex state machine design and difficult expansion, and achieve the effect of excellent scalability and simple design method.

Active Publication Date: 2015-12-02
SHENZHEN TENCENT COMP SYST CO LTD
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In skill design, linear skills are usually edited with a linear sequence editor, and non-linear skills generated by external trigger events are edited with a finite state machine. Due to the variety of trigger events, a finite state machine is used for processing When , the state machine design is complex and difficult to expand

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
  • Behavior processing method and device
  • Behavior processing method and device
  • Behavior processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0021] The behavior processing method of the embodiment of the present invention can be applied to character behavior and skill design of game systems of devices such as smart phones, personal computers, and personal digital assistants. The behavior processing method of the embodiment of the present invention can handle both linear target skills and non-linear target skills. If the target skill is nonlinear, the recursive logic feature of the behavior tree is used t...

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

Embodiments of invention provide a behavior processing method and device. The method comprises acquiring a mark of a target ability to be executed after traversing an ability subtree of a role behavior tree; selecting a target ability subtree matching the mark of the target ability from an ability pool, and loading the target ability subtree on the role behavior tree; and sequentially traversing all nodes of the target ability subtree, and executing linear ability motion corresponding to a target condition node if that a target condition node associated with a trigger event returns effective information is traversed. According to the behavior processing method and device, a subtree of a target ability to be executed can be loaded on a role behavior to be traversed, features of recursion and logic of a behavior tree can be fully utilized, the design mode is simple, and the expansibility is excellent.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a behavior processing method and device. Background technique [0002] The character behavior and skill system are the most important components of the game system. In the game system, skills can be interpreted as a sequence, that is, a series of events executed in parallel in the order of the time axis. Skills can include linear skill actions and nonlinear skill actions. A linear skill action is a given time t on the time axis, and the skill state at that location can be obtained. A non-linear skill is a series of skill actions that are executed due to the existence of a trigger event, for example, the corresponding skill action is performed only when user input or external conditions are required. In skill design, linear skills are usually edited with a linear sequence editor, and non-linear skills generated by external trigger events are edited with a finite s...

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
IPC IPC(8): G06F19/00
Inventor 薛鹏曾逸孙晖
Owner SHENZHEN TENCENT COMP SYST CO LTD
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