Abstract

In this work, we propose a procedural generation method for railroad circuits based on the chain code algorithm. The process creates a list with directions in a two-dimensional space from a series of operations using the chain code and images of predefined real tracks. This list was used in the Unity engine to provide the positions, starting from a predefined starting point, which will insert the elements of the circuit during its creation. The race track format still goes through a preprocessing method to filter the ladder effect generated by the chain code and fine-tune details before being simulated in a game. This allows each track to have a unique pattern and good gameplay. Tests carried out using our generation method in a 2D (two dimensions) isometric kart game showed that in all runs, the tracks had an average of 98.5% difference among them and maintained the gameplay standards.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.