Giter VIP home page Giter VIP logo

djog_unos_2021's People

Contributors

antonhensen81 avatar dreojs-nl avatar martje127 avatar max2032 avatar rijkvp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

djog_unos_2021's Issues

Create level obstacles

  1. Download & install Unity 2020.2.3f1 latest stable version.
  2. Clone the repository & open the project.
  3. Place some unity objects in the scene with colliders (hitboxes). Make sure to place them under the "Environment" parent.
  4. Unassign if you're done

Roadmap

Roadmap

  • Levels
    • Tilemap system
      • Tilemap sprites
    • Doors between rooms
    • Level design
  • Game over
    • Health system
      • Health bars
      • Checkpoints that save the position
  • Combat
    • Weapon inventory with 4 slots
    • Gunplay
      • Bullet spread etc.
      • Reloading or overheating (optional)
    • AMMO: Infinite
    • Powerups
      • Health
      • Speed
    • Gun content
      • Pistol: Glock, Baretta
      • Shotguns: Shoot multiple bullets at the same time
      • SMG
      • Assault rifles: AK-47, M416, M4A1
      • Machine gun
  • AI / Enemies
    • Melee: runs to player (weak)
    • Range: average health average damage
    • Bosses: : different attacks & phases. Can e. g. unlock a new room

Weapon system on enemies

Implement the existing weapon system on the player for the enemies., see #9 & PlayerCombat.cs.
You should do this by making changes to EnemyAI.cs

Add weapon object

  • Add a new empty child prefab on the player prefab, this is the weapon object.
  • Add a placeholder sprite child to the weapon object.
  • Add a weapon component that contains the variables the PlayerCombat script might need. This script only contains the proporties of the weapon.
    • Fire delay
    • Bullet prefab
      • Damage (property of bullet?)
  • Make sure the PlayerCombat script implements the weapon properties

Ask @rijkvp if you don't understand.

Add a Door

[ ] Add Door prefab
[ ] Detect when player hits the door
[ ] Trigger some code (load next level) when door is hit and all enemies are dead

Bullet (s)hit

A bullet should deal damage when it hits a player or enemy.

  • Add a tag called Damageable for all the game objects that can receive damage from bullets.
  • Rename the BulletMovement script to Bullet because it is used for general bullet stuff
  • When a bullet collides with a gameobject with the Damageable tag it should deal damage to the Health component on the gameobject. The amount of the damage must be a property of the Bullet component.

Pickups: Weapons

Create a pickup system that allows the player to pick up weapons spread around the level.

Enemy Health component

Add a new component on the Enemy prefab called EnemyHealth
It should contain a variable for the start health, the health the enemy has when spawned, and a variable called currentHealth.
Also create a public metod wich other components can access to deal damage. When the health gets below zero a boolean variable called isDeath should be set to true.
Make sure the access modifiers make sense: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers
You can debug the private variables by enabling debug in the unity inspector.

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.