Return to search

Spelmotorkonstruktion för Android

Syftet med arbetet har varit att undersöka huruvida XML fungerar som ett beskrivningsspråk till en spelmotor sett till aspekter såsom vad som kan definieras i XML, vad laddningstiderna är och om det är en tydlig och attraktiv lösning. Tanken med lösningen är att det skall vara enkelt att, tillsammans med en spelmotor, kunna skapa tvådimensionella strategispel utan att skriva någon kompilerande kod, vilket i sin tur skulle möjliggöra för aspirerande spelutvecklare att få en enkel utgångspunkt där de kan starta sin karriär. Resultaten av undersökningarna visar att XML fungerar som en lösning för denna typ av spel och det går att göra väldigt mycket med det. Laddningstiderna håller sig långt under den maximala gränsen, enligt specifikationerna på mängd av indata som skall laddas in. Det är även en attraktiv lösning som flera personer skulle kunna tänka sig att använda. Dock har det visat sig att XML på egen hand inte klarar av att vara tydligt – exempelvis vad innehållet i XML-filerna betyder, något som ger tecken på att det behöver läggas mer fokus på att dokumentera dessa och komplettera XML-lösningen med denna dokumentation. / The purpose of this project has been to investigate if XML works as a language of description in a game engine. With focus on aspects such as what can be defined in the XML, what the loading times are and if the solution is easy to understand and if it is attractive. The idea behind the solution is that it should be easy to, together with a game engine, create two-dimensional strategy games without writing any compiling code, which in turn would make it possible for aspiring game developers to have an easy starting point where they can start their career. Results of the research shows that XML works as a solution for this kind of game and that it is possible to do a lot with it. The loading times for the system keep below acceptable levels with much to spare, according to the specifications set regarding to the amount of data to load. This solution is also an attractive one and there are several people that would want to utilize it. However, it has been shown that XML alone can not manage to be clear - for example, what the content of the XML files does, something that gives the indication that there needs to be more focus on documenting this and complete the XML solution with said documentation.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kth-177174
Date January 2014
CreatorsBjörnerhag, Erik
PublisherKTH, Skolan för informations- och kommunikationsteknik (ICT)
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess
RelationTRITA-ICT-EX ; 2014:85

Page generated in 0.6587 seconds