Please use this identifier to cite or link to this item:
https://dipositint.ub.edu/dspace/handle/2445/201912
Title: | 3D Python Engine: desenvolupar un motor de joc en Python |
Author: | Vázquez Caparrós, Noel |
Director/Tutor: | Puig Puig, Anna |
Keywords: | Disseny de videojocs Python (Llenguatge de programació) Programari Treballs de fi de grau Visualització tridimensional Video games design Python (Computer program language) Computer software Three-dimensional display systems Bachelor's theses |
Issue Date: | 13-Jun-2023 |
Abstract: | [en] The video games industry is growing every year, surpassing in 2020 income from cinema and sports industries combined. Many of the mentioned games use tools that are specially designed to develop videogames, called engines, which are already capable of offering common features such as player input, sound control or communication with the GPU to display the game on screen. Notably, Unity and Unreal Engine are some of the better known examples. In the case of Python, there is a package dedicated to developing games, Pygame, but this has certain shortcomings. In general terms, it is a wrapper of SDL (Simple DirectMedia Layer), and this brings with it certain weakness. Fisrt of all, it can only graphically process two-dimensional elements, that is, it only overlaps images with each other. In addition, the vast majority of its tasks only use the CPU instead of the GPU, thus losing efficiency. Finally, to develop games using Pygame is a non easy task for developers who do not usually programme games.Thus, our project aims to cover some of these gaps. First, we present the design and the development of a Python framework that makes the most of the GPU, giving at least the same features as Pygame. Second, we expand Pygame to offer an object architecture ready to develop games easily. Third, regarding the graphics perfomance, we extend the graphics engine to support three-dimensional games. Last but not least, our framework provides an object architecture ready to develop games easily. To sum up, this project presents the analysis and development of the graphic engine capable of easily creating three-dimensional games in Python using the GPU power. |
Note: | Treballs Finals de Grau d'Enginyeria Informàtica, Facultat de Matemàtiques, Universitat de Barcelona, Any: 2023, Director: Anna Puig Puig |
URI: | https://hdl.handle.net/2445/201912 |
Appears in Collections: | Programari - Treballs de l'alumnat Treballs Finals de Grau (TFG) - Enginyeria Informàtica |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
tfg_vazquez_caparros_noel.pdf | Memòria | 3.99 MB | Adobe PDF | View/Open |
3DPythonEngine-main.zip | Codi font | 2.04 MB | zip | View/Open |
This item is licensed under a Creative Commons License