Coder Social home page Coder Social logo

covid19fighter's Introduction

Covid-19 Fighter

Covid-19 Fighter is a 2D side-scroller game developed in Unity where players control a robot fighting against COVID-19 viruses. The game features a robot character that can move, jump, shoot, and interact with various game elements.

Gameplay

  • Move: Use the horizontal arrow keys or A/D keys to move the robot left or right.
  • Jump: Press the Space key to make the robot jump.
  • Shoot: Press the left mouse button or the Fire1 button to shoot projectiles at the enemies.
  • Power-ups: Collect batteries to temporarily increase the robot's movement speed.
  • Upgrades: The robot can gain permanent upgrades via the in-game shop.
  • Health: The robot has a health bar that decreases when hit by enemies. If the health reaches zero, the game ends.

Scripts

The game includes several scripts that control different aspects of the gameplay. Here are some examples:

  • RobotPlayer.cs: This script manages the player's movement, shooting, health, and interactions with the game environment. It handles inputs from the player and updates the robot's position, animations, and shooting behavior.
  • HealthBar.cs: This script displays and updates the robot's health bar UI.
  • Shot.cs: This script controls the behavior of the robot's projectiles, including movement and collision detection.

How to Play

To play the game, simply download the available build from the 'Builds' folder and run the compiled executable.

Customization

You can customize various aspects of the game to suit your preferences by downloading and compiling the project following these steps:

  1. Install Unity on your computer if you haven't already.
  2. Clone or download the game project from the repository.
  3. Open the project in Unity.
  4. Set up the game scene, including the robot character, enemies, and other game elements.
  5. Build and run the game in Unity's Play mode or export it to your preferred platform.
  • Enemy Behavior: Adjust the enemy movement, attack patterns, and health values to provide different levels of challenge.
  • Graphics and Assets: Replace the default robot character, enemy sprites, background, and other assets with your own artwork.
  • Level Design: Create new levels or modify existing ones by adding platforms, obstacles, power-ups, and enemy placements.

Dependencies

The game is built using the Unity game engine. Make sure you have Unity installed on your machine to work with the project.

Contributing

Contributions to the game project are welcome. If you have any ideas, bug fixes, or improvements, feel free to open an issue or submit a pull request on the GitHub repository.

License

This game is released under the MIT License.

covid19fighter's People

Contributors

benb202 avatar benb20 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.