Skip to content
/ web3Game Public

Creating web games through Pixijs. The ultimate goal is to become an on chain game

Notifications You must be signed in to change notification settings

ZY945/web3Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel Survival Game

Pixel Survival Game

A 2D survival shooting game based on Pixi.js

🎮 Game Features

  • 🏃‍♂️ Auto-shooting system, focus on movement and dodging
  • 🎯 Enemies spawn from all directions, testing player reflexes
  • 💪 10 levels with progressive difficulty
  • 🎁 Level reward system with various power-ups
  • 👾 Boss battle system
  • 📊 High score system
  • 🛠 In-game modifier for customizable experience

🎯 Gameplay

  • Use WASD to control character movement
  • Auto-aim and attack nearest enemy
  • Dodge enemy bullets
  • Defeat enemies to score points
  • Choose a reward card after each level
  • Customize game experience with modifier

🎮 Controls

  • W - Move up
  • A - Move left
  • S - Move down
  • D - Move right
  • ESC - Open/Close menu

🛠 Tech Stack

  • Pixi.js - 2D rendering engine
  • JavaScript - Game logic implementation
  • HTML5 - Game container
  • LocalStorage - Data persistence

📊 Game Data

  • Player initial HP: 10
  • Player initial attack: 1
  • Player initial attack interval: 1000ms
  • Enemy initial HP: 5
  • Level duration: 30 seconds
  • Boss appears at: 15 seconds remaining
  • Total levels: 10

🎁 Reward System

Random rewards after each level:

  • Attack interval -20%
  • Attack damage +50%
  • Max HP +2
  • Movement speed +20%
  • Double scoring
  • Full HP recovery

🔧 Modifier System

Real-time adjustments for:

  • Attack damage
  • Attack interval (min 10ms)
  • Max HP

🚀 Coming Soon

  • More enemy types
  • More diverse reward effects
  • Game balance optimization
  • Sound and visual effects

📝 Dev Log

Check Development Log for detailed development process.


像素生存游戏

一个基于 Pixi.js 的 2D 生存射击游戏

🎮 游戏特点

  • 🏃‍♂️ 自动射击系统,专注于移动和躲避
  • 🎯 从四面八方生成的敌人,考验玩家的反应能力
  • 💪 10个关卡的进阶难度
  • 🎁 关卡奖励系统,提供多样化的能力提升
  • 👾 Boss战系统
  • 📊 历史战绩记录
  • 🛠 游戏内修改器,可自定义游戏体验

🎯 游戏玩法

  • 使用 WASD 控制角色移动
  • 自动瞄准并攻击最近的敌人
  • 躲避敌人的子弹
  • 击败敌人获得分数
  • 每关通关后可以选择一张奖励卡片
  • 通过修改器自定义游戏体验

🎮 游戏控制

  • W - 向上移动
  • A - 向左移动
  • S - 向下移动
  • D - 向右移动
  • ESC - 打开/关闭菜单

🛠 技术栈

  • Pixi.js - 2D 渲染引擎
  • JavaScript - 游戏逻辑实现
  • HTML5 - 游戏容器
  • LocalStorage - 数据持久化

📊 游戏数据

  • 玩家初始生命值:10
  • 玩家初始攻击力:1
  • 玩家初始攻击间隔:1000ms
  • 敌人初始生命值:5
  • 每关持续时间:30秒
  • Boss出现时间:剩余15秒
  • 总关卡数:10关

🎁 奖励系统

每关结束后可以从以下奖励中随机选择一个:

  • 攻击间隔减少20%
  • 攻击力提升50%
  • 最大生命值提升2点
  • 移动速度提升20%
  • 双倍得分
  • 生命值回满

🔧 修改器系统

可以在游戏中实时调整:

  • 攻击力
  • 攻击间隔(最小10ms)
  • 最大生命值

🚀 即将推出

  • 更多类型的敌人
  • 多样化的奖励卡片效果
  • 游戏平衡性优化
  • 音效和视觉效果增强

📝 开发日志

详细的开发过程和更新记录请查看 开发日志

About

Creating web games through Pixijs. The ultimate goal is to become an on chain game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published