State Graph Plot Generation to Eliminate Manual Code Translation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The inefficiency of translating flowcharts or pseudocodes into specific codes in integrated development environments for game plot development requires high professional quality and consumes manual resources, leading to a lengthy development cycle.
Innovation Solution
A method for generating a plot based on a state graph, involving an editing interface to configure timing relationships between state nodes, which are then displayed as a state graph to be executed by a specified engine, thereby automating the plot generation process.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If programmers manually translate flowcharts or pseudocodes into specific codes in an integrated development environment, then the game plot can be implemented, but the development process becomes inefficient and resource-intensive
Solution Approach 1:
The patent introduces a visual scripting system as an intermediary between traditional programming and game plot implementation. This system provides a dedicated interface where plot logic can be configured through visual elements (nodes, edges, properties) rather than requiring manual code translation, thereby improving efficiency and reducing time consumption
Solution Approach 2:
The patent replaces the mechanical process of manual code writing and translation with an automated visual scripting mechanism. The system automatically generates executable plot scripts from visual configurations, eliminating the need for programmers to manually translate flowcharts into code, thus significantly improving productivity
2Ease of manufacture
If an integrated development environment is used for game plot development, then code can be written and executed, but the process requires high professional quality and becomes complex
Solution Approach 1:
The patent segments the game plot development process into distinct visual components (nodes representing plot events, edges representing transitions, properties representing parameters). This segmentation allows developers to work with discrete, manageable elements rather than complex code structures, reducing the perceived complexity and improving ease of development
Solution Approach 2:
Instead of requiring developers to write code from scratch in a traditional IDE, the patent inverts the approach by providing a visual interface where plot logic is constructed through configuration and visualization. The system then automatically generates the underlying code, making the process more accessible and less complex for game developers
Data Source
AI summary
A method for generating a plot based on a state graph is provided. The method includes: displaying an editing interface, the editing interface including candidate state nodes; determining at least two target state nodes in response to receiving a configure operation on the candidate state nodes; receiving a timing relationship establish operation for at least two target state nodes; and displaying a state graph including the at least two target state nodes in the editing interface based on the timing relationship establish operation, the state graph being configured to generate the plot in a virtual scenario by a specified engine.


