🌐 Chơi OGGY ngay trên trình duyệt! / Play OGGY in your browser!
👉 ▶ CHƠI NGAY / PLAY NOW: oggy-adventure.tiennhm.io.vn
Không cần cài đặt, không cần Windows, chạy được cả trên điện thoại và máy tính bảng. No installation, no Windows required, works on phones and tablets too.
OGGY là một game chạy nhảy (runner game) được phát triển bằng C# Windows Forms, lấy cảm hứng từ bộ phim hoạt hình “Oggy và những chú gián”. Người chơi điều khiển nhân vật Oggy chạy và nhảy để thu thập xu trong khi tránh các vật cản nguy hiểm.
OGGY is a runner game developed with C# Windows Forms, inspired by the “Oggy and the Cockroaches” cartoon series. Players control Oggy to run and jump, collecting coins while avoiding dangerous obstacles.
Ngoài bản Windows Forms trong repo này, OGGY còn có phiên bản web mới: Oggy Adventure, game phiêu lưu đi cảnh 2D vừa chơi vừa học cho các bé 5–10 tuổi. Mở là chơi, không cần tải hay cài đặt.
Besides the Windows Forms version in this repo, OGGY now has a new web version: Oggy Adventure, a 2D side-scrolling adventure that mixes play and learning for kids aged 5–10. Open it and play, nothing to download or install.
| Bản / Version | Nền tảng / Platform | Cách chơi / How to play |
|---|---|---|
| 🌐 Oggy Adventure (Web) | Trình duyệt bất kỳ / Any browser | Chơi ngay / Play now |
| 🖥️ OGGY (Windows Forms) | Windows 7+ | Cài đặt / Installation |
Thư mục assets/ chứa tất cả các tài nguyên của game bao gồm:
The assets/ folder contains all game resources including:
oggy/ - Sprites và animations của nhân vật Oggy / Oggy character sprites and animations
Ví dụ / Examples:

cockroaches/ - Sprites của các chú gián / Cockroach sprites
Ví dụ / Examples:

kitchen/ - Hình ảnh nền nhà bếp / Kitchen background images
Ví dụ / Examples:


game/ - UI elements và giao diện game / UI elements and game interface
Ví dụ / Examples:


fx/ - Hiệu ứng hình ảnh / Visual effects
Ví dụ / Examples:

💡 Chỉ muốn chơi nhanh? Hãy dùng bản web, không cần cài đặt gì. 💡 Just want to play? Use the web version, no installation needed.
git clone https://github.com/TienNHM/OGGY.git
cd OGGY
OGGY.sln bằng Visual Studio 2017 trở lênOGGY.sln with Visual Studio 2017 or laterF5 hoặc chọn Debug > Start DebuggingF5 or select Debug > Start DebuggingTải file release mới nhất từ Releases Download the latest release from Releases
Giải nén và chạy file OGGY.exe
Extract and run OGGY.exe
OGGY/
├── Background/ # Lớp xử lý background
│ ├── Background.cs
│ └── Kitchen.cs
├── Characters/ # Các nhân vật trong game
│ ├── Character.cs
│ ├── Oggy.cs
│ ├── Gian.cs
│ ├── Coin.cs
│ ├── VaCham.cs # Xử lý va chạm
│ └── VatCan.cs # Các vật cản
├── UI/ # Giao diện người dùng
│ ├── frmMenu.cs # Màn hình menu chính
│ ├── frmMain.cs # Màn hình game chính
│ └── EndGame.cs # Màn hình kết thúc game
├── assets/ # Tài nguyên game
│ ├── oggy/ # Sprite của Oggy
│ ├── cockroaches/ # Sprite của gián
│ ├── kitchen/ # Hình ảnh nhà bếp
│ ├── game/ # UI elements
│ ├── fx/ # Hiệu ứng
│ └── music/ # Âm thanh và nhạc
├── Properties/ # Cấu hình project
├── Program.cs # Entry point
└── OGGY.csproj # Project file
Đảm bảo đã cài đặt Visual Studio 2017 trở lên với .NET Framework 4.8 Ensure Visual Studio 2017 or later with .NET Framework 4.8 is installed
Mở OGGY.sln trong Visual Studio
Open OGGY.sln in Visual Studio
Restore NuGet packages (tự động hoặc qua Package Manager Console) Restore NuGet packages (automatically or via Package Manager Console)
Build solution (Ctrl+Shift+B) Build solution (Ctrl+Shift+B)
Chạy project (F5) Run project (F5)
Nếu bạn gặp lỗi, vui lòng tạo một Issue với: If you encounter bugs, please create an Issue with:
Đóng góp luôn được chào đón! Vui lòng: Contributions are welcome! Please:
git checkout -b feature/AmazingFeature)
Create a new branch for your feature (git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')
Commit your changes (git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)
Push to the branch (git push origin feature/AmazingFeature)Dự án này có thể được phân phối dưới giấy phép riêng. Vui lòng kiểm tra file LICENSE (nếu có) để biết thêm chi tiết. This project may be distributed under its own license. Please check the LICENSE file (if available) for more details.
TienNHM
🎮 Chơi trên web / Play on the web: oggy-adventure.tiennhm.io.vn
⭐ Nếu bạn thích dự án này, hãy cho một star! / If you like this project, please give it a star!