{"id":22724951,"url":"https://github.com/habbatul/hanpixel","last_synced_at":"2025-07-24T07:08:32.190Z","repository":{"id":263051928,"uuid":"888622476","full_name":"Habbatul/hanPixel","owner":"Habbatul","description":"Portofolio 2D Game Pixel Art. Built with go + ebiten","archived":false,"fork":false,"pushed_at":"2025-07-01T23:16:48.000Z","size":18115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T00:25:02.997Z","etag":null,"topics":["coder-websocket","ebiten","go-wasm","onprogress","pion-webrtc"],"latest_commit_sha":null,"homepage":"https://habbatul.github.io/hanPixel/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Habbatul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-14T18:03:19.000Z","updated_at":"2025-07-01T23:16:52.000Z","dependencies_parsed_at":"2025-03-03T17:21:46.046Z","dependency_job_id":"eb6ecbaa-d404-495f-91fd-a0dcecacb147","html_url":"https://github.com/Habbatul/hanPixel","commit_stats":null,"previous_names":["habbatul/gohan","habbatul/hanpixel"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Habbatul/hanPixel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Habbatul%2FhanPixel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Habbatul%2FhanPixel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Habbatul%2FhanPixel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Habbatul%2FhanPixel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Habbatul","download_url":"https://codeload.github.com/Habbatul/hanPixel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Habbatul%2FhanPixel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266807163,"owners_count":23987426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coder-websocket","ebiten","go-wasm","onprogress","pion-webrtc"],"created_at":"2024-12-10T15:08:25.561Z","updated_at":"2025-07-24T07:08:32.178Z","avatar_url":"https://github.com/Habbatul.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# hanPixel\n\n**🕹️ Play Now (WebAssembly Build):** [Click Here](https://habbatul.github.io/hanPixel/)\n\n## 📺 About the Project\n\n**hanPixel** is a pixel-art portfolio game created using [Ebiten](https://ebiten.org/), a 2D game library for Go. This project was built from scratch to showcase fundamental game mechanics. **While some implementations are not fully modular** (maybe it's hard to read and change), the project serves as a demonstration of basic foundational game dev concepts. Now all players can do multiplayer via peer-to-peer, but since STUN is used, there is a possibility that some players may not be able to establish a direct connection due to strict NAT types.\n\n### ✨ Features\n\n* **Online Multiplayer (Peer-to-Peer)**\n  Utilizes WebRTC with STUN for peer-to-peer multiplayer. A signaling server is required, accessible at [hanPixel_SignalingServer](https://github.com/Habbatul/hanPixel_SignalingServer).\n\n* **Collision Detection.**\n  Detects collisions between the player, NPCs, and obstacles.\n\n* **Pixel-Perfect Obstacle Collisions.**\n  Ensures accurate interaction with obstacles using pixel-based collision logic.\n\n* **Render Order Logic.**\n  Determines front and back object rendering dynamically for depth simulation.\n\n* **Frame-Based Animation.**\n  NPCs animate based on predefined frame sequences.\n\n* **Zoom Factor Support.**\n  Zoom level can be adjusted via code (note: current implementation could be improved).\n\n* **Textboxes on Interaction.**\n  Displays dialogue or information upon collision with certain objects or NPCs.\n\n* **Touchscreen Support (Mobile).**\n  Touch input enabled for better mobile gameplay experience.\n\n* **Keyboard \u0026 Mouse Support (Desktop).**\n  Full control support for desktop environments.\n\n\n### ✨ Tech Stack\n\n- pion/webrtc\n- coder/websocket\n- hajimehoshi/ebiten\n\n---\n\n## 🧪 Run Locally on Your PC\n\n### 📦 Install Dependencies\n\nBefore running the project, make sure all Go module dependencies are fetched:\n\n```bash\ngo mod tidy\n```\n\n### 🌐 Run in Web Browser Locally\n\nTo serve the project locally using WebAssembly:\n\n```bash\ngo run github.com/hajimehoshi/wasmserve@latest ./path/to/thisProject\n```\n\n---\n\nFeel free to explore, fork, or contribute. This project is a sandbox for experimenting and learning about 2D game development with Go and Ebiten!\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhabbatul%2Fhanpixel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhabbatul%2Fhanpixel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhabbatul%2Fhanpixel/lists"}