{"id":21589986,"url":"https://github.com/toolbuddy/lifegamer-rts-render","last_synced_at":"2025-10-07T07:09:58.729Z","repository":{"id":86938615,"uuid":"154945855","full_name":"toolbuddy/LifeGamer-RTS-Render","owner":"toolbuddy","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-14T06:25:05.000Z","size":3190,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-18T09:47:44.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/toolbuddy.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}},"created_at":"2018-10-27T09:10:46.000Z","updated_at":"2019-02-14T06:25:06.000Z","dependencies_parsed_at":"2023-05-15T03:15:46.940Z","dependency_job_id":null,"html_url":"https://github.com/toolbuddy/LifeGamer-RTS-Render","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toolbuddy/LifeGamer-RTS-Render","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolbuddy%2FLifeGamer-RTS-Render","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolbuddy%2FLifeGamer-RTS-Render/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolbuddy%2FLifeGamer-RTS-Render/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolbuddy%2FLifeGamer-RTS-Render/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toolbuddy","download_url":"https://codeload.github.com/toolbuddy/LifeGamer-RTS-Render/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolbuddy%2FLifeGamer-RTS-Render/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278735169,"owners_count":26036553,"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-10-07T02:00:06.786Z","response_time":59,"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":"2024-11-24T16:16:31.184Z","updated_at":"2025-10-07T07:09:58.723Z","avatar_url":"https://github.com/toolbuddy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LifeGamer RTS Game Render\n\nUsing [pixijs](http://www.pixijs.com/) to render the whole RTS game appearance.\n\n## Appearance\n\nDivide main page into multi sections.\n\n![](https://i.imgur.com/vkQJ5vc.png)\n\n- Main Map Render\n- Mini Map Render\n- Room\n- User status\n- Menu: contains **build**, **move**, **home** four buttons\n    - build: using for building a building\n    - move: using for moving population from one chunk to another chunk\n    - home: using for moving field of version to user's home chunk\n\n## Usage\n\n### Main Map Render\n\n- Render 4*2 chunks\n\u003e One chunk contains 16*16 space\n- Rerender 8 chunks if getting map data from backend server\n- **Press Q can show map info**\n\n### User status\n\n- Showing user's money, energy, and soldier\n- Replace number when getting data from server\n\n### Mini Map Render\n\n- Render all data but with mask, user can only see part of them\n- The color of block shows its environment\n- The upper block color shows the belonger\n    - none: no color\n    - yours: green\n    - others: red\n- User can drag and drop to move mini map mask position\n\n### Room\n\n- Showing message/server message when getting data from server\n- Click enter or send button to transfer message to server\n- server message would save in server\n\n### Menu\n\nContains build, move, and home button\n\n#### Build\n\n- Steps:\n    - click button and select which building wonna to build\n    - select the space on the main map where to build\n        - green means user can build\n        - red means user cannot build\n    - sending request to server asking for updating\n\n#### Move\n\n- Steps:\n    - click button\n    - click from button\n    - click chunk in mini map to select where the user moving solider from\n    - click to button\n    - click chunk in mini map to select where the user moving solider to\n    - click -, + button to set the amount of population to move\n    - click go button sending request to server asking for updating\n\n\u003e user can drag and drop minimap to see other space\n\n#### Home\n\n- click to move center chunk of main map postion to the place user first occupied\n\n## Directory\n\n- /src\n    - /source\n        - /img\n        - /media\n        - /fonts\n    - /mainMap\n    - /miniMap\n    - /GameData\n    - /status\n    - /comm\n    - /building\n    - /room\n    - /menu\n- app.js - server enter point\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolbuddy%2Flifegamer-rts-render","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoolbuddy%2Flifegamer-rts-render","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolbuddy%2Flifegamer-rts-render/lists"}