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.
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:

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
⭐ 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!