Skip to content
 
 

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦆 DuckGo: Space Quack

A Personal Game Dev Project

DuckGo is a high-octane, side-scrolling arcade game built with the Phaser 3 engine. It features a rubber duck lost in deep space, navigating through a futuristic space station. This project was created to explore procedural asset generation, parallax scrolling, and physics-based game loops.


🖼️ Gallery

Main Menu Gameplay Action
Menu Screenshot Gameplay Screenshot
Glass-morphic UI and Starfield Astro-Duck navigating silver girders

🚀 Cool Features

  • Astro-Duck Physics: Custom-tuned gravity ($1400$) and flap impulse ($-440$) for a snappy, high-stakes feel.
  • Procedural Girders: Instead of using static images, the pipes are drawn via code with metallic gradients, bevels, and glowing cyan strips.
  • Infinite Starfield: Three independent layers of stars moving at different speeds to create a 3D sense of depth.
  • Twinkle Logic: Randomized tweens make the stars flicker in the background, making the space feel alive.
  • Ghostly Death Effect: When the duck hits a pipe, it triggers a custom "spirit" animation using scale and alpha tweens.

🛠️ Tech Stack

  • Engine: Phaser 3.88.2 (Arcade Physics)
  • Design Philosophy: Dark & Silver aesthetic using the 60-30-10 color rule.
  • Graphics: Generated via Phaser's Graphics API for crisp, scalable textures.
  • Storage: Saves your spaceQuackBest score to your browser's LocalStorage.

⚙️ How to Run

Since this is a local hobby project, you can run it using any simple local server:

  1. Clone the files to your local machine.
  2. Open with Live Server: If you use VS Code, right-click index.html and select "Open with Live Server."
  3. Alternative (Node.js):
    npx serve .
  4. Navigate to http://localhost:3000 and start quacking!

🕹️ Controls

  • [SPACE BAR] or [MOUSE CLICK]: Trigger the thrusters to flap upward.
  • Goal: Survive as long as possible! Passing through a pair of pipes grants 1 point.

📐 Project History

  • Project Started: March 1, 2026
  • The Resolution: Migrated from 480p to a full 1280x720 HD layout.
  • The Hitbox Fix: Manually adjusted the physics body to $40 \times 40$ to ensure fair collisions with the duck sprite.

⚖️ License

This project is licensed under MIT License

About

Stateloop publishing fork of wilfredo-domanico-jr/DuckGo. MIT by upstream authors; packaging-only integration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages