Skip to content

hakstudio/AsteroidCombat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroid Combat (Space Shooter)

Türkçe Çeviri

Note: This repository contains the source code of one of my early projects, originally developed in 2019. This documentation was added recently to provide a clear overview of the project structure and mechanics.

Asteroid Combat is a classic 2D space shooter game developed with the Unity game engine. Players control a spaceship, dodging and destroying incoming asteroids while progressing through increasingly difficult levels.

Key Features

  • Ship Control & Combat: Fluid touch-based controls to maneuver the spaceship and use laser missiles to destroy asteroids.
  • Dynamic Obstacles: Randomly generated, moving asteroids that destroy the ship upon impact.
  • Level Progression: A structured level system where difficulty ramps up as the player survives longer.
  • In-Game Economy & Store: A fully functional shop system where players can spend earned points/currency to purchase upgrades or new ships. (Includes UI adaptations for local currency displays).
  • AdMob Integration: Monetization is integrated using Google AdMob:
    • Banner Ads
    • Interstitial Ads
    • Rewarded Video Ads

Code Architecture

The core C# scripts are located in the Assets/Kodlar directory. Key components include:

  • OyunKontrol.cs: Core game loop, score management, and state handling.
  • PlayerKontrol.cs: Handles player movement physics and collision detection.
  • atesEt.cs: Projectile instantiation and firing mechanics.
  • AsteroidHareket.cs & TemaslaYokOl.cs: Asteroid movement patterns and destruction logic.
  • marketSatinAlma.cs & marketKontrol.cs: Manages the in-game store economy and persistent player data.
  • *Reklam.cs: Integrates Google Mobile Ads SDK logic.

Requirements

  • Unity (with Android Build Support)
  • Google Play Services (integrated via PlayServicesResolver)
  • Google Mobile Ads Unity Plugin

How to Run

  1. Clone this repository and open the project via Unity Hub.
  2. Navigate to Assets/Sahneler (Scenes) and open the startup scene (Main Menu or Level 1).
  3. Press "Play" in the Unity Editor to test, or compile for Android via "Build Settings".

Developer

HAKStudio

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors