Skip to main content

Analysis of Procedural Generated Textures for Video Games Using a CycleGAN

  • Conference paper
  • First Online:
Advances in Computational Intelligence (MICAI 2022)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 13613))

Included in the following conference series:

  • 572 Accesses

Abstract

The creation of content for video games is a costly and time consuming task if done manually. Especially in modern times, the amount of content required to create a video game is expected to be much greater than in the past. Procedural Content Generation techniques can be used to alleviate this issue and allow the creation of more content with less input. The proposal in this work is to explore the use of Generative Adversarial Networks for video game textures to be developed by a computer, more specifically style-transfer with a CycleGAN. The generation experiments in this work use a variety of textures commonly used in video games such as sky-boxes and tiled images. In addition, the analysis performed has a usability perspective and an emotional one. The usability analysis detects any problems in the implementation. The affective/emotional analysis measures the players’ evoked feelings and then cross-references the traditionally-generated and the computer-generated emotional result vectors \(e = (V,A)\) (composed of valence and arousal). The results obtained show an emotional transfer between the vectors to be at minimum 26.53% and at best 91.23%. These results demonstrate that the performed experiments always had a successful emotional transfer.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix.

  2. 2.

    “AllSky - 220+ Sky/Skybox Set" catalogue at https://assetstore.unity.com.

References

  1. Stangl, R.: Procedural content generation: techniques and applications. In: ACM Proceedings (2017)

    Google Scholar 

  2. Chandler, H.M.: The Game Production Toolbox. Taylor and Francis, Milton Park (2020)

    Google Scholar 

  3. Silver, E.A., Victor, R., Vidal, V., de Werra, D.: A tutorial on heuristic methods. Eur. J. Oper. Res. 5(3), 153–162 (1980)

    Google Scholar 

  4. Togelius, J., De Nardi, R., Lucas, S.M.: Towards automatic personalised content creation for racing games. In: Proceedings of the 2007 IEEE Symposium on Computational Intelligence and Games, CIG 2007, pp. 252–259 (2007)

    Google Scholar 

  5. Khalifa, A., Bontrager, P., Earle, S., Togelius, J.: PCGRL: procedural content generation via reinforcement learning. In: Proceedings of the 16th AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, AIIDE 2020, pp. 95–101 (2020)

    Google Scholar 

  6. Liu, J., Snodgrass, S., Khalifa, A., Risi, S., Yannakakis, G.N., Togelius, J.: Deep learning for procedural content generation. Neural Comput. Appl. 33(1), 19–37 (2021)

    Article  Google Scholar 

  7. Koster, R.: The cost of games, January 2018

    Google Scholar 

  8. Kingma, D.P., Welling, M.: Auto-encoding variational Bayes. In: 2nd International Conference on Learning Representations, ICLR 2014 - Conference Track Proceedings, pp. 1–14 (2014)

    Google Scholar 

  9. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  10. Goodfellow, I.J., et al.: Generative adversarial networks. Commun. ACM 63(11), 139–144 (2014)

    Google Scholar 

  11. Guo, X., et al.: Gan-based virtual-to-real image translation for urban scene semantic segmentation. Neurocomputing 394, 127–135 (2020)

    Google Scholar 

  12. Kensinger, E.A., Schacter, D.L.: Processing emotional pictures and words: effects of valence and arousal. Cogn. Affect. Behav. Neurosci. 6(2), 110–126 (2006)

    Article  Google Scholar 

  13. Korn,O., Lee, N.: Game dynamics: best practices in procedural and dynamic game content generation. Game Dynamics: Best Practices in Procedural and Dynamic Game Content Generation, pp. 1–177 (2017). https://doi.org/10.1007/978-3-319-53088-8

  14. Breting-García: Fractal geometry. Salem Press Encyclopedia of Science (2020)

    Google Scholar 

  15. Seidel, S., Berente, N., Lindberg, A., Lyytinen, K., Martinez, B., Nickerson, J.V.: Artificial intelligence and video game creation: a framework for the new logic of autonomous design. J. Digital Soc. Res. 2(3), 126–157 (2020)

    Google Scholar 

  16. Togelius, J., Justinussen, T., Hartzen, A.: Compositional procedural content generation. In: Proceedings of the Third Workshop on Procedural Content Generation in Games, PCG 2012, pp. 1–4, New York, NY, USA. Association for Computing Machinery (2012)

    Google Scholar 

  17. Zhu, J.Y., Park, T., Isola, P., Efros, A.A.: Unpaired image-to-image translation using cycle-consistent adversarial networks. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2242–2251, October 2017

    Google Scholar 

  18. Lenarduzzi, V., Taibi, D.: MVP explained: a systematic mapping study on the definitions of minimal viable product. In: 2016 42th Euromicro Conference on Software Engineering and Advanced Applications (SEAA), pp. 112–119 (2016)

    Google Scholar 

  19. Bradley, M.M., Lang, P.J.: Measuring emotion: the self-assessment manikin and the semantic differential. J. Behav. Therapy Exp. Psychiatr. 25(1), 49–59 (1994)

    Google Scholar 

  20. Prescott, S.: Games: breaking the game: the beauty of a gameworld’s outer limits. The Lifted Brow, p. 30 (2014)

    Google Scholar 

Download references

Acknowledgments

This work was carried out with the support of CONACYT and the Centro de Investigacion y de Estudios Avanzados del Instituto Politecnico Nacional.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Julia Alejandra Rodriguez-Abud or Andres Mendez-Vazquez .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Rodriguez-Abud, J.A., Mendez-Vazquez, A. (2022). Analysis of Procedural Generated Textures for Video Games Using a CycleGAN. In: Pichardo Lagunas, O., Martínez-Miranda, J., Martínez Seis, B. (eds) Advances in Computational Intelligence. MICAI 2022. Lecture Notes in Computer Science(), vol 13613. Springer, Cham. https://doi.org/10.1007/978-3-031-19496-2_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-19496-2_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-19495-5

  • Online ISBN: 978-3-031-19496-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics