Skip to content

Space Invaders in Unity for educational purposes with relevant software patterns.

Notifications You must be signed in to change notification settings

Hakkology/SpaceInvaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language Options


Space Invaders Game

This project is a reimagining of the classic Space Invaders game, built using Unity.

Features

1. Player Mechanics

  • The player controls a spaceship using keyboard input.
  • Movement is restricted to the horizontal axis, with the ability to fire bullets.

2. Bullet Mechanics

  • Bullets are instantiated from a prefab and managed efficiently.
  • A firing function allows the player to attack enemies.

3. Enemy Mechanics

  • Enemies are arranged in a grid formation and move collectively.
  • As enemies are destroyed, their speed increases to create a sense of progression.
  • A special "boss" enemy appears at random intervals.

4. Shields and Obstructions

  • Shields provide temporary protection to the player and are destructible.
  • Shields degrade as they take damage from bullets.

5. Game Events

  • Key events, such as player death or clearing all enemies, are managed by a central game manager.
  • Explosions trigger sound effects and particle effects.

6. Scoring and Feedback

  • The player’s score updates dynamically based on the type and number of enemies destroyed.
  • A HUD displays the score and remaining lives in real time.

Space Invaders Oyunu

Bu proje, klasik Space Invaders oyununun Unity kullanılarak yeniden geliştirilmiş bir versiyonudur.

Özellikler

1. Oyuncu Mekanikleri

  • Oyuncu, uzay gemisini klavye ile kontrol eder.
  • Hareket, yalnızca yatay eksende sınırlıdır ve oyuncu mermi atabilir.

2. Mermi Mekanikleri

  • Mermiler, bir prefabdan oluşturulur ve verimli bir şekilde yönetilir.
  • Oyuncunun düşmanlara saldırmasına olanak tanıyan bir ateş etme fonksiyonu bulunmaktadır.

3. Düşman Mekanikleri

  • Düşmanlar, ızgara düzeninde organize edilmiş ve toplu olarak hareket eder.
  • Düşmanlar yok edildikçe hızlanarak zorluk seviyesi artar.
  • Rastgele aralıklarla özel bir "boss" düşman belirir.

4. Siperler ve Engeller

  • Siperler, oyuncuya geçici koruma sağlar ve yok edilebilir.
  • Mermilerden hasar aldıkça siperler parçalanır.

5. Oyun Olayları

  • Oyuncunun ölümü veya tüm düşmanların yok edilmesi gibi olaylar, merkezi bir oyun yöneticisi tarafından kontrol edilir.
  • Patlama gibi önemli olaylarda ses ve parçacık efektleri tetiklenir.

6. Skor ve Geri Bildirim

  • Oyuncunun skoru, yok edilen düşmanların türüne ve sayısına göre dinamik olarak güncellenir.
  • HUD, skor ve kalan canları gerçek zamanlı olarak oyuncuya sunar.

About

Space Invaders in Unity for educational purposes with relevant software patterns.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages