![]() I set up a navigation menu with a muffled effect of music, in which you can change the volume of music and sounds, restore the menu, exit the game.Īfter studying the game scripts, I have a general understanding of how they work. The source code did not have ready prefabs for enemies of type 2 and type 3, so I used them from the prefabs of the finished game, but errors occurred and the enemies did not move behind the main player, the problem was solved by removing all components with scripts and adding scripts of attack, health and movement.Īdded a slider animation of the end of the game, after the game ends, the game starts first on a timer. In the game from three different points with a frequency of 10 seconds appears one enemy, I increased this interval, because in the lessons it is so short that the enemies appear very quickly and inspect the whole scene and shoot the enemies very difficult. This script is added several times and link the positions of the appearance of enemies, the enemies themselves and set the interval of appearance of enemies. In the tutorial, ready-made scripts are created for the character and the enemy (movement, life, attack), familiarized with how the functions work.Īdded a part-shot effect to the main character, added light and sound of the shot, added a ready-made shot script.Īdded the text of the counter of killed enemies, added a ready-made script to it, delivered the object of the enemy to the prefabs.Īdded two objects of new enemies to the scene from assets, brought them to prefabs, created a new Animator Override Controller for one enemy.Īdded points where different types of enemies should appear, added an enemy manager script that controls the appearance of enemies. Learned how to create an interface with the character's life. ![]() ![]() It tells how to create a script for moving enemies behind a character, how to adjust the attack radius, move speed. I learned how to create controllers for the states of character animations, to assign the necessary triggers in the animation controller to switch from one state to another. The main character and enemies have ready-made animations: rest, movement, death. Rotation of the character in the direction of the mouse cursor and movement is programmed with c # and has a specific syntax that is not immediately remembered, there remains a general understanding that they perform different functions. The lessons tell you how to create movement on the flat surface of the environment of the managed character, how to direct the character towards the mouse click.ĭescribes how to properly associate the camera with the character, the game uses an orthographic camera. The lessons are not about modeling, texturing, creating character animations. The goal of the lesson is to teach how to link finished objects into a work game. I downloaded the source code, in which the assets were: static environment, model of the main player, enemies, lighting, sound files, particle, scripts, and other prefabs. * There is one place in the room where you can hide, maybe this is the idea of the developers. Enemies are constantly appearing in the game and if they are not shot, they will attack and the game will end. Winning the game is not possible, so conceived. In the game you can move the player with the help of w/a/s/d and the ← ↑ → ↓ keys, run around the perimeter of the fairytale room from enemies and shoot at them by clicking the mouse. ![]() I recommend to run graphics with fantastic quality to see all the beauty of graphics. The game has beautiful bright light sources and embossed textures of objects. I created a game for PC Windows (weight 177 mb), you can download the archive SurvivalShooterBuild.rar (weight 57 mb). The game uses a large number of models with textures, lighting, so it’s impossible to export to web-gl (to work in the browser). I studied the Survival Shooter tutorial and created a game of lessons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |