UE4 Production Execution Queue (Action queue)

Source: Internet
Author: User

Queues and trees are the most common data structures in game development, guaranteeing the order in which they are executed in a certain range.

Combined with some design pattern tricks, you can often do artifacts.

such as the loading block chunk management, the task system (of course also can use the behavior tree to do complex task system).

Too small to be a demo

1. Let the ball follow the specified action. (similar to tween-sequence)

UML diagram:

Specific use (more casual)

1. Use in actor

Encapsulation queue

Single execution

2. Queue to perform any sexual activity

Implemented a queue interface or inheritance method

Interface with Dobegin and Doend interface methods

The manager manages a queue of doend after the queue takes out the next execution until the queue is complete.

 

UE4 Production Execution Queue (Action queue)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.