Alien Shooter – iOS Game Demo
Built with Swift and SpriteKit, this game demonstrates my ability to design fun, responsive, and scalable mobile games.
Game Architecture Overview
Project Summary: Swift-based 2D arcade game with custom art, sounds, and level logic. Designed as a mobile tech demo for iOS.
Game Features
- Touch Controls: Drag to move the alien.
- Falling Candies: Random spawn from candy machine.
- Score System: Points for every catch.
- Speed Scaling: Faster drop every 100 points.
- 60s Timer: Countdown per session.
- Haptic Feedback: Triggered on catch.
- Special Candy: Slows time temporarily.
UI & Visuals
- Score Display: 5-digit numeric format.
- Speed Indicator: Multiplier label (x1.0, x1.5…)
- Candy Machine: Decorative top animation.
- Countdown Timer: Visually prominent.
Game Over Logic
Ends when timer hits zero. A semi-transparent overlay shows:
- Last 5 scores (from UserDefaults)
- „Restart“ and „Level Select“ buttons
Code Structure
- Modular Methods: Each function separated (score, overlay, etc.)
- Physics Handling: Using
categoryBitMasks
- Persistence: Score saving via
UserDefaults
- Startup: Fullscreen MP4 video using AVKit
Tech Stack
Technology | Description |
---|---|
Swift | Main programming language |
SpriteKit | 2D game engine |
AVKit | Intro video playback |
UIKit | For haptics and layout |
UserDefaults | Score persistence |
Xcode | Development & testing |
What’s Next
- More levels & progression
- Unlock system based on score
- Rewarded ads (optional)
- Power-ups (shields, bonuses)
- Global leaderboard integration