Peliohjelmoinnin alkeet
Hasu, Joona (2015)
Kandidaatintyö
Hasu, Joona
2015
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi-fe201503191960
https://urn.fi/URN:NBN:fi-fe201503191960
Tiivistelmä
Tämä kandidaatintyö tutkii peliohjelmoinnin mahdollisuuksia ohjelmoinnin alkeiden opetuksessa sekä Unity3D-ohjelman toimivuutta 2D-pelinkehityksessä. Tutkimuksen tavoitteena oli luoda Peliohjelmoinnin alkeet -kurssille kurssirunko sekä todistaa Unity3D-ohjelman toimivuus 2D-pelinkehityksessä kehittämällä esimerkkipeli. Tuotoksena kurssille kehitettiin kuusiosainen kurssirunko, johon myös suunniteltiin täysin aloittelijoille tarkoitettu vapaaehtoinen UnityScriptin alkeet osio. Ohjelmoinnin aloittelijoille suunniteltu kurssi käy läpi Unity3D-ohjelman perusteet sekä tutustuu skriptauksen alkeisiin. Kurssirunko käy 2D-pelinkehitykseen liittyviä konsepteja loogisesti läpi. Työn toisena tavoitteena oli esimerkkipelin kehitys ja Unity3D-ohjelman 2D-pelinkehitystyökalujen testaus. Pelin tekeminen onnistui yli odotusten. Vaikka peli on erittäin yksinkertainen ja lyhyt, se toimii esimerkkipelinä mainiosti. Johtopäätöksenä voidaan todeta, että Unity3D-ohjelman 2D-työkalut ovat toimivia laadukkaiden 2D-pelien kehittämiseen. Tuotoksena laadittu kurssirunko antaa suuntaa kurssien rakentamiseen peliohjelmoinnin aloittelijoille. Pelinkehitys kurssin suorittamisen jälkeen opiskelijalla on mahdollisuudet ja perustaidot jatkaa kehittymistä ja opiskelua tahtomallaan suunnalla. This bachelor’s thesis researches possibilities of game programming to be used to teach programming basics and to test the 2D capabilities of Unity3D Game Engine. The aim of this thesis was to create a basic framework for Game programming basics course and to test the 2D capabilities of Unity3D Game Engine by creating an example game. Output of the research is a six-part framework for the course to which was included a voluntary UnityScript part for complete beginners to programming. This course was designed for programming beginners and it goes through the basics of Unity3D and familiarizes students to basics of scripting. The course framework goes logically through 2D game development concepts. The second goal was to develop of an example game and to test 2D capabilities of Unity3D Game Engine. Development of the game succeeded beyond expectations. Although the game is very simple and short it works as an example game perfectly. It can be concluded that the 2D tools of the Unity3D Game Engine are functional for developing high-quality 2D games. The designed course framework provides a good base to build game programming courses to beginners. After completing the game programming course student has potential and basic understanding to continue improving and studying programming in a desired direction.