This thesis is about the creation of a new game framework named Pix and a comparison between it and the game engine Godot. The purpose is to create a game framework that focuses on making the workflow streamlined for the pro- grammer and at the same time giving the programmer a lot of creative power. Pix uses C# as programming language which runs on the .NET Core platform. Pix is built with Entity Component System (ECS) design which means that the design is data-oriented and that it focuses on composition. Thus the ECS design brings with it a clear separation between logic and data. The ECS design also makes it easy to write multithreaded code and to serialize the game world state. The comparison against Godot shows clear differences between how you use them and the philosophy about how the users become familiar with them. The obvious difference between them is that the main time spent working with Godot will be in the graphical user interface. In Pix on the other hand you will only work in a text-editor or an IDE if you do not create your own editor. The coding in Godot is done primarily with the script language GDScript. It is made for creating common game functionality but can’t be used to extend the engine with new advanced functionality. Thus to integrate new more advanced features Godot will need to be recompiled. Being forced to recompile the engine to add new advanced features results in that extending the engine can both be time consuming and challenging. In Pix there is no difference between coding game functionality and extending the framework. This equality in Pix between coding game functionality and extending the framework brings with it that when you can make a game in Pix you can also extend the engine with more functionality. The differences results in that Godot is simpler to learn but also gives the regu- lar user less power. Pix is the opposite of that. I you look at the workflow of us- ing Pix and combine that with the technologies Pix is built upon you can see that Pix differentiates itself from the already existing alternatives. The work- flow Pix provides and the technologies it is built upon shows that Pix can be a good alternative for creating complex games that doesn't need the most ad- vanced graphical features. / Rapporten handlar om skapelsen av ett nytt spelramverk namngivet Pix som jämförs mot den existerande spelmotorn Godot. Syftet är att skapa ett spelram- verk som fokuserar på att göra arbetssättet smidigt för programmeraren samtidigt som det ger mycket kreativ makt till programmeraren. Pix använder C# som programmeringsspråk vilket körs på .NET Core plattformen. Det är upp- byggt med en Entity Component System (ECS) design vilket betyder att det är en dataorienterad design med ett fokus på komposition. Det medför en klar separation mellan logik och data. ECS designen medför också att serialisering samt använda sig av flera trådar blir väldigt enkelt. Jämförelsen mot spelmotorn Godot visar tydliga skillnader i hur man använder spelmotorn/spelramverket samt tydliga skillnader i filosofin kring hur en användare blir bekant med spelmotorn/spelramverket. De tydliga skillnader är hur större delen av arbetstiden i Godot spenderas i Godots grafiska gränssnitt medans Pix kan kontrolleras endast från kod om man inte skapar en editor själv. Programmering i Godot görs med skriptspråket GDScript. Det är gjort för att skapa vanlig spel funktionalitet och inte utöka spelmotorn med ny funktionalitet. Det betyder att hela motorn måste kompileras om för att lägga till mer avancerad funktionalitet vilket kan vara tidskrävande. I Pix är är det samma sak att programmera spel funktionalitet och utöka ramverket med ny funktionalitet. Det medför att så fort som man kan programmera ett spel i Pix kan man också utöka ramverket med mer funktionalitet. Det resulterar i att Godot är enklare att lära sig men samtidigt ger mindre makt till den vanlige användaren medans Pix är tvärtom. Kollar man på hur man använder sig av Pix samt de teknologierna Pix är uppbyggt med så kan man se att det skiljer sig från redan existerande alternativ. Det leder till att Pix kan vara ett gott alternativ för komplexa spel som inte kräver den mest avancerade grafiken.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:miun-36478
Date January 2019
CreatorsBeije, Gustav
PublisherMittuniversitetet, Institutionen för informationssystem och –teknologi
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageEnglish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.0036 seconds