2D RPG game with procedurally generated levels in Unity

Abstract

Tema ovog diplomskog rada je izrada „2D RPG igre sa proceduralno generiranim razinama“. Za izradu igre je korišten Unity game engine, program za uređivanje slika Paint.NET i program za kreiranje 2D razina Tiled Map Editor. Kako bi se igra izradila potrebna su znanja o objekto orijentiranom programiranju jer je igra kreirana pomoću C# programskog jezika. Prilikom pokretanja igre pojavljuje se glavni izbornik u kojemu je moguće pritiskom određenih tipki klikom miša započeti prelazak igre, provjeriti upute za upravljanje glavnim likom, te pročitati informacije koje mogu pomoći prilikom igranja. Upravljanje glavnim likom se odvija pritiskom tipki na tipkovnici. Igra se sastoji od više razina od kojih su neke proceduralno generirane što pruža veću raznolikost tako da svako prelaženje bude drugačije. Prilikom prelaženja igra navodi korisnika što mu je sljedeći korak te naposljetku postoji borba protiv glavnog neprijatelja čijim uništenjem završava igra. Padom razine zdravlja glavnog lika na nula nastupa „Game Over“, odnosno kraj igre te se korisniku omogućava da ponovno pokuša prijeći igru.The topic of this graduate thesis is creating a „2D RPG game with procedurally generated levels“. The programs used for creating this game are Unity game engine, image editing program Paint.NET and a program for creating 2D levels Tiled Map Editor. In order to design the game, a knowledge of object oriented programing is required, since the game is created using the C# programming language. When starting the application, the main menu appears, in which you can start the game, get instructions how to control the main character, as well as reading about information that can be of help while playing the game. By pressing the buttons on the keyboard, you can control the main character. The game consists of multiple different levels of which some are procedurally generated which provides a greater variety so every time the user plays it feels 36 different. While playing the game it leads the user so he knows what his next step should be. At the end there is a boss fight in which if the user defeats the enemy the game ends. If the health of the main character drops to zero the game ends and results in a “Game Over” screen and the user is given a chance to try again

    Similar works