Unlock instant, AI-driven research and patent intelligence for your innovation.

State switching method and device, storage medium, electronic device

A state switching and state technology, applied in the Internet field, can solve problems such as state flow failure errors, affecting the stability of game logic, and no solutions are proposed, to achieve the effect of improving accuracy.

Active Publication Date: 2020-08-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to limit the action of whether the character can launch an attack, the usual method is to use a state machine based on stack nesting, but the stack nesting mechanism will cause a fault error in the state flow, thus affecting the game logic. Stability, similarly, in shopping, life and other types of applications, there are similar problems
[0004] For the above problems, no effective solution has been proposed

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
  • State switching method and device, storage medium, electronic device
  • State switching method and device, storage medium, electronic device
  • State switching method and device, storage medium, electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0026] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 state switching method and device, a storage medium and an electronic device, wherein the state switching method comprises the steps of: determining a first state of a targetbusiness, wherein the first state is one of a plurality of states of the target business, and a first task to be executed exists in the first state; acquiring a first identifier returned after the execution of the first task is finished under the condition that the execution of the first task is finished, wherein the first task is used for showing a first sub-business in the target business, andthe first identifier is used for showing that the first task has been executed; and determining a second state matched with the first identifier in the plurality of states, and converting the state ofthe target business from the first state to the second state. By using the state switching method, the technical problem of relatively high fault rate of state conversion realized by a state machinein a relevant technology is solved.

Description

technical field [0001] The present invention relates to the field of the Internet, in particular, to a state switching method and device, a storage medium, and an electronic device. Background technique [0002] With the rapid development of network technology, there are more and more types of application products. Common application products include games, shopping, and life, among which game-type application products include online games and stand-alone games. In the game, the game engine directly controls the plot, levels, art, music, operation and other content. It plays the role of the engine, tying all the elements in the game together, and directing them to work in an orderly manner in the background. The game engine can control The main program for all game functionality, from calculating collisions, relative positions of physics systems and objects, to accepting player input, outputting sounds at the correct volume, and more. [0003] Taking the control plot as an ...

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 Patents(China)
IPC IPC(8): A63F13/60A63F13/822G06F8/71
Inventor 陈明建
Owner TENCENT TECH (SHENZHEN) CO LTD