Item Description
The game takes place in an abandoned city filled with hordes of zombies. You are armed with a sniper rifle, and your task is to survive, firing the undead forwards to you. For your accuracy you will get extra points and bonus that improves your weapon. Compete with other players using Google Play services.
Features: • High Quality 3D graphics • Infinite gameplay with increasing difficulty • Powerful sound effects and music • Ready to publish for iOS and Android • Easy to customize • Google Play Services and GameCenter leaderboards • Admob banner and interstitial ads
Requirements: • Unity3D 2019.2.17 or newer
Setup Instructions: To use this project you need to install Unity 2019.2.17f (or newer version) from Unity Hub.
Setup Admob for Android
1) On Admob site create new Android app with interstitial and banner ad unit ids.
2) In Unity top menu go to Assets – Google Mobile Ads – Settings. Under Admob Ad Id label put your App Id from Admob website for Android.
3) Open /Assets/GAME/Scripts/GameUI.cs script. At line 15 put your Banner Ad Id from Admob website. At line 16 put your Interstitial Ad Id from Admob website.
Setup Admob for iOS
1) On Admob site create new iOS app with interstitial and banner ad unit ids.
2) In Unity top menu go to Assets – Google Mobile Ads – Settings. Under Admob Ad Id label put your App Id from Admob website for iOS.
3) Open /Assets/GAME/Scripts/GameUI.cs script. At line 18 put your Banner Ad Id from Admob website. At line 19 put your Interstitial Ad Id from Admob website.
You need to know Unity basics to make below steps. If you don’t know, just upload game to store as is.
Features
Player setup
Player character is Player object in Hierarchy view. To change it you need import to Unity other 3D model and changeit Rig to Humanoid. Then drag it to scene and in Unity top menu click Tools – Third Person Controller – Character Builder. Assign you model to Character tab and click Build. Then copy all other components from original Player to your new Player and copy weapons from right hand of original Player to your own. When your player is read, put it to project (make prefab) in /Assets/GAME/Prefabs/Player. Assign it on MainCamera – CameraController – Character field. Assign it on MAIN – GameController – Player field and Player Center field (player center can be Hips).
Level setup
In each level you can make a waves of enemies. For example, open /Assets/GAME/Scenes/Game.scene. It’s first level. Click on MAIN object and in Inspector view look at GameController component. You can see Waves list. You can edit them and add new just increasing Size. There you can drop enemies prefabs for wave.
Enemies Setup
It’s similar to setup of player. You can find enemies objects /Assets/GAME/Prefabs/Enemy. Different is that you need to enable “Is AI Agent” in Character Builder before build. Then copy components from existing enemy and weapons from hand. Make new prefab with your enemy and assign it to one of level waves.
Pedestrians setup
All pedestrians located in /Assets/GAME/Prefabs/Humans/ folder. Just copy all components from one of existing pedestrian to your own and put it to prefab. Then assign them on object MAIN – AI Controller – Human Prefabs list. Vehicles setup All vehicles located in /Assets/GAME/Prefabs/Vehicle/ folders. /Empty/ subfolder contains empty vehicles, /Traffic/ subfolder contains AI vehicles with drivers.
To make a new vehicle you need a vehicle model with four separate wheels. As always, copy all components from existing vehicle. Copy all child objects from existing vehicle and assign them in components of root object. Assign created vehicles on object MAIN – AI Controller – Vehicle Prefabs list. How to generate new city
To generate cities we are using DungeonArchitect plugin. On game scene there is DungeonItems object. It contains all city objects. For fast city generation: 1) Change DungeonItems scale to 1, 1, 1; 2) On DungeonSimpleCity object click DestroyDungeon. Below in WaypointGenerator object click Clear Waypoints. 3) On SimpleCityDungeonConfig component Bu Seed number to any other. 4) Click Build Dungeon. 5) Change DungeonItems scale to 3, 3, 3;
2、本站所有资源均来自网络,不保证资源的完整性,仅供学习研究,如有侵权请联系客服删除
3、对于不当转载或引用本站内容而引起的民事纠纷、行政处理或其他损失,本网站不承担责任
4、本站所有资源不带任何技术支持,下载资源请24小时内删除,如用于违法用途,本站不承担任何法律或连带责任
5、对不遵守本声明或其他违法、恶意使用本网站内容者,本网站保留追究其法律责任的权利
6、若资源需要解压密码,则默认密码为:www.sellcode.com 或者 www.chinacode.com
暂无评论内容