![]() The purpose of the Grid other than being a parent is acting as guides with gridlines of where the tiles will be painted. ![]() This will generate a Game Object called Grid, and the Tilemap will be a child to the Grid. Create a tilemap in the hierarchy from 2D Objects -> Tilemap. ![]() If you are unfamiliar with it, I suggest you to go through the tutorials from Unity for a start. As it is still new, there is still lack of information on it so using it allows me to familiarize with it as I believe it is a very powerful tool to aid in 2D Game development. The main reason I choose Battle City as my first retro game to recreate is because of the new Tilemap feature which was only introduced in Unity in late 2017. Your Hierarchy with the Stage Essential Inspector should like the below. Move the Main Camera to the Stage Essential. So by keeping the parent at the origin, the transform position of child Game Object will be the same as its Scene Position. We are using Stage Essential to be the parent of all the other Game Objects, once a Game Object is "child", its transform position will not be showing as per what is the Scene Position instead it will be relative to its parent. ![]() This article is Part 2 in a 25-Part Series.īattle City in Unity Part l: Single(ton) Sole Survivorīattle City in Unity Part 3: Creation of the Protagonist and Antagonists(Tanks)īattle City in Unity Part 4: Tank Movementīattle City in Unity Part 5: Player Controllerīattle City in Unity Part 7: Creating Projectilesīattle City in Unity Part 8: Hurting the tanksīattle City in Unity Part 9: Firing the shotsīattle City in Unity Part 11 : The Gamemaker - Starting the Stage and Game Overīattle City in Unity Part 12 : Level Managerīattle City in Unity Part 13 : The Gamemaker - Spawningīattle City in Unity Part 14 : The Gamemaker - Stage Cleared or Game Overīattle City in Unity Part 15 : Spawning Invincibilityīattle City in Unity Part 16 : Exploding Tank animationīattle City in Unity Part 17 : Score Calculationīattle City in Unity Part 18 : Battle Status Boardīattle City in Unity Part 19 : Bonus Crates - Generationīattle City in Unity Part 20 : Bonus Crates - Tank Extra Liveīattle City in Unity Part 21 : Bonus Crates - Tank Invincibilityīattle City in Unity Part 22 : Bonus Crates - Grenadeīattle City in Unity Part 23 : Bonus Crates - Stopwatchīattle City in Unity Part 24 : Bonus Crates - Level Upīattle City in Unity Part 25 : Bonus Crates - Shovel ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |