Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Nutro Cloud

Nutro Games

Interactive browser games by 7G Studio — a Nutro Cloud project.

Play NowGamesTech StackContributing

Phaser 3.87 Bootstrap 5 GSAP Font Awesome 6 MIT License


About

Nutro Games is a collection of free, open-source browser games built by 7G Studio — the creative arm of Nutro Cloud. Every game runs directly in the browser with zero installs, zero downloads, and zero ads.

The project serves as a playground for our mascot ASTRO and a showcase of what modern web technologies can do for gaming.


Games

🚀 ASTRO Runner

An endless runner set in space. Guide ASTRO through 10 unique worlds, dodge server racks, aliens, and space debris.

Genre Endless Runner / Platformer
Levels 10 themed worlds
Controls Space / Tap to jump, ESC to pause
Features Double jump, procedural pixel art, dynamic spawning, retro SFX, parallax backgrounds, BGM

Worlds:

  1. Moon Base • 2. Mars Colony • 3. Neon City • 4. Toxic Swamp • 5. Lava Fields
  2. Ice World • 7. Deep Space • 8. Solar Flare • 9. Void Station • 10. Final Run

Each world has its own sky gradient, ground texture, parallax layers, color palette, and floating particles.


Tech Stack

Layer Technology
Game Engine Phaser 3.87 — arcade physics, particles, tweens, camera FX
UI Framework Bootstrap 5.3 — responsive menus, settings, overlays
Animation GSAP 3.12 — start screen transitions, elastic/bounce effects
Icons Font Awesome 6.5 — retro UI iconography
Typography Press Start 2P (pixel font)
Audio Web Audio API (procedural SFX) + MP3 BGM
Graphics 100% procedural pixel art (no external image assets)
Hosting Nutro Cloud

Quick Start

# Clone the repo
git clone https://github.com/NutroCloud/nutrogame.git

# No build step needed — just serve the files
# Option 1: VS Code Live Server
# Option 2: Any static server
npx serve .

# Open in browser
http://localhost:3000/games/astro-runner/

No dependencies to install. No build tools. No Node modules. Pure HTML/CSS/JS served statically.


Project Structure

nutrogame/
├── games/
│   ├── index.html          # Games hub page
│   └── astro/
│       ├── index.html      # Game page (Bootstrap + Phaser + GSAP)
│       ├── style.css       # Retro pixel UI styles
│       ├── game.js         # Full game logic (Phaser 3 scenes)
│       └── 1.mp3           # Background music
├── README.md
└── LICENSE

How It Works

Architecture

The game uses three Phaser scenes:

  1. BootScene — Generates all pixel-art textures procedurally using Phaser Graphics
  2. MenuScene — Animated start screen (starfield, planet, grid, floating particles)
  3. GameScene — Main gameplay loop with physics, spawning, and rendering

Spawn System

Obstacles use a pattern-based random spawner instead of fixed timers:

  • Random delay variation (±60% of base)
  • Single obstacles (60%), Double bursts (25%), Triple bursts (15%)
  • Difficulty scales with level

Sound Design

All sound effects are synthesized in real-time using the Web Audio API:

  • Jump (ascending tones)
  • Double Jump (higher pitch burst)
  • Landing (low thud)
  • Hit/Death (sawtooth + noise burst)
  • Level Up (C major arpeggio)
  • Score (+10 ding)

Controls

Input Action
Space / / Tap Jump
Double press Double Jump
ESC Pause / Resume

Contributing

We welcome contributions. Here's how:

  1. Fork the repo
  2. Create a feature branch (git checkout -b feature/new-obstacle)
  3. Commit your changes
  4. Push and open a Pull Request

Ideas for contributions:

  • New obstacle types
  • New level themes
  • Mobile touch improvements
  • Leaderboard system
  • New games for the collection

Roadmap

  • ASTRO Runner (v1.0)
  • Online leaderboard
  • More games (puzzle, shooter, strategy)
  • Multiplayer mode
  • Achievement system
  • Mobile app wrapper (PWA)

License

MIT License — free to use, modify, and distribute.


Made with 🚀 by Nutro Cloud / 7G Studio

Infrastructure that speaks for itself.

About

Nutro Games is a collection of free, open-source browser games built by 7G Studio

Topics

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages