{"title":"Applying formal picture languages to procedural content generation","authors":"David Maung, R. Crawfis","doi":"10.1109/CGames.2015.7272963","DOIUrl":null,"url":null,"abstract":"Procedural content generation for games often uses tile sets. Tilings generated with tile sets are equivalent to pictures generated from a fixed alphabet of characters such as those explored in the area of vision. Formal languages over pictures and their methods of definition such as 2D regular expressions, automata, and array grammars are directly applicable to generation of tilings using finite tile sets. Though grammars such as string grammars, L-systems, and graph grammars have been explored and found useful for the definition of certain content, formal methods have mostly been ignored. We introduce 2D regular expressions and array grammars as generators. We reason about the theoretical capability of these constructs and develop some practical use cases for their application in procedural content generation for games. One area lacking with a search based approach to procedural content generation is an enumeration of all possible tilings that can be generated. We show that 2D regular expressions can be used for enumeration.","PeriodicalId":447614,"journal":{"name":"2015 Computer Games: AI, Animation, Mobile, Multimedia, Educational and Serious Games (CGAMES)","volume":"54 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-07-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 Computer Games: AI, Animation, Mobile, Multimedia, Educational and Serious Games (CGAMES)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CGames.2015.7272963","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5
Abstract
Procedural content generation for games often uses tile sets. Tilings generated with tile sets are equivalent to pictures generated from a fixed alphabet of characters such as those explored in the area of vision. Formal languages over pictures and their methods of definition such as 2D regular expressions, automata, and array grammars are directly applicable to generation of tilings using finite tile sets. Though grammars such as string grammars, L-systems, and graph grammars have been explored and found useful for the definition of certain content, formal methods have mostly been ignored. We introduce 2D regular expressions and array grammars as generators. We reason about the theoretical capability of these constructs and develop some practical use cases for their application in procedural content generation for games. One area lacking with a search based approach to procedural content generation is an enumeration of all possible tilings that can be generated. We show that 2D regular expressions can be used for enumeration.