Skip to content

This repository provides a collection of enemy scripts and movement-related components for Unity, designed to help game developers quickly implement AI-driven enemies in their projects.

License

Notifications You must be signed in to change notification settings

sopermanspace/Enemy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity Enemy Scripts

Twitter Follow Twitter Follow Medium.com Twitter Follow Support

This repository contains enemy scripts and movement-related components for Unity.

Features

  • Enemy AI scripts for patrolling, chasing, and attacking players.
  • Movement components for navigation and pathfinding using Unity's NavMeshAgent.
  • Damage and health management system.
  • Animation integration for enemy behaviors.
  • Particle effects for hit and death animations.

Getting Started

Enemy Screenshot Code Example Gameplay GIF

Prerequisites

  • Unity Engine (version 2021.03.10f1 or higher)

Installation

  1. Clone or download the repository.
  2. Open the Unity project containing the enemy scripts and related assets.
  3. or directly copy the code from github

Usage

  1. Add the enemy scripts and components to your Unity project.
  2. Customize the enemy behaviors and properties as needed.
  3. Attach the enemy scripts to your enemy game objects.
  4. Configure the necessary parameters such as attack range, sight range, and health.
  5. Run the game to see the enemy AI and movement in action.

License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.

Contributing

Contributions are welcome! If you have additional scripts or components that can help other open-source developers quickly build games with Unity, feel free to contribute to this repository.

To contribute to the project, follow these steps:

  • Fork the repository and create a new branch for your feature or improvement.
  • Implement your changes, ensuring that the code follows best practices and is well-documented.
  • Test your changes thoroughly to ensure they work as expected.
  • Create a pull request, describing the changes you've made and why they are valuable.
  • Your pull request will be reviewed, and once approved, it will be merged into the main repository.

When contributing, please adhere to the following guidelines:

  • Provide clear and concise documentation for any new scripts or components you add.
  • Write descriptive commit messages and include relevant details in your pull request.

Let's work together to build a comprehensive collection of enemy scripts and game development resources that benefit the Unity community!

Acknowledgments

Contact

For any inquiries or questions, please create a issue thread.

About

This repository provides a collection of enemy scripts and movement-related components for Unity, designed to help game developers quickly implement AI-driven enemies in their projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages