{"id":50868112,"url":"https://github.com/vixcpp/vix-game","last_synced_at":"2026-06-15T03:07:28.913Z","repository":{"id":359602660,"uuid":"1246799304","full_name":"vixcpp/vix-game","owner":"vixcpp","description":"Game application foundation for Vix.cpp: scenes, input, assets, jobs, windowing, rendering, and export workflows.","archived":false,"fork":false,"pushed_at":"2026-05-22T16:16:52.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T20:17:55.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vixcpp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-22T15:08:42.000Z","updated_at":"2026-05-22T16:16:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vixcpp/vix-game","commit_stats":null,"previous_names":["vixcpp/vix-game"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/vixcpp/vix-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixcpp%2Fvix-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixcpp%2Fvix-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixcpp%2Fvix-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixcpp%2Fvix-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vixcpp","download_url":"https://codeload.github.com/vixcpp/vix-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixcpp%2Fvix-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34345669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"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":[],"created_at":"2026-06-15T03:07:28.189Z","updated_at":"2026-06-15T03:07:28.909Z","avatar_url":"https://github.com/vixcpp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vix-game\n\nA small 2D game built with Vix.cpp and the `vix/game` runtime.\n\n## Overview\n\n`vix-game` is a simple game project used to demonstrate how to build a real interactive application with Vix.cpp.\n\nIt uses:\n\n- `vix.app`\n- `vix/game`\n- `GameRuntime`\n- `Scene`\n- SDL window backend\n- OpenGL renderer backend\n- asset loading\n- sprite rendering\n- keyboard movement\n- collision\n- score update\n\n## Controls\n\n```text\nW / Arrow Up       Move up\nS / Arrow Down     Move down\nA / Arrow Left     Move left\nD / Arrow Right    Move right\nEscape             Quit\n```\n\n## Project structure\n\n```text\nvix-game/\n  assets/\n    player.jpg\n    coin.jpeg\n\n  src/\n    main.cpp\n    GameConfig.hpp\n    GameApp.hpp\n    GameApp.cpp\n\n    entities/\n      Player.hpp\n      Player.cpp\n      Coin.hpp\n      Coin.cpp\n\n    gameplay/\n      Collision.hpp\n\n    scenes/\n      MainScene.hpp\n      MainScene.cpp\n\n  game.package.json\n  vix.app\n  vix.json\n```\n\n## Build\n\n```bash\nvix build\n```\n\n## Run\n\n```bash\nvix run\n```\n\n## Export\n\n```bash\nvix game export\n```\n\n## Requirements\n\nThe installed Vix.cpp game module must be built with SDL support enabled.\n\nOn Ubuntu:\n\n```bash\nsudo apt update\nsudo apt install libsdl2-dev libsdl2-image-dev\n```\n\n## Goal\n\nThis project is intentionally small.\n\nIt exists to show the clean path from:\n\n- Vix project\n- game app\n- window\n- renderer\n- sprite\n- input\n- gameplay\n\n## Create folders\n\n```bash\nmkdir -p src/entities src/gameplay src/scenes assets\n```\n\n## Expected assets\n\nPlace these files:\n\n```text\nassets/player.jpg\nassets/coin.jpeg\n```\n\n## Test\n\n```bash\nvix build\nvix run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvixcpp%2Fvix-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvixcpp%2Fvix-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvixcpp%2Fvix-game/lists"}