{"id":13471964,"url":"https://github.com/deepnight/gameBase","last_synced_at":"2025-03-26T15:30:53.845Z","repository":{"id":41439511,"uuid":"161215895","full_name":"deepnight/gameBase","owner":"deepnight","description":"Base structure for my games, using Heaps framework and Haxe language.","archived":false,"fork":false,"pushed_at":"2024-10-30T10:40:47.000Z","size":21298,"stargazers_count":630,"open_issues_count":12,"forks_count":159,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-12T05:28:30.463Z","etag":null,"topics":["game","haxe","heaps","webgl"],"latest_commit_sha":null,"homepage":"https://deepnight.net","language":"Haxe","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/deepnight.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"deepnight"}},"created_at":"2018-12-10T18:02:37.000Z","updated_at":"2025-03-10T02:57:06.000Z","dependencies_parsed_at":"2024-04-13T11:43:36.656Z","dependency_job_id":"a1e63816-b6f1-4e08-8a47-ebed9d132451","html_url":"https://github.com/deepnight/gameBase","commit_stats":null,"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2FgameBase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2FgameBase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2FgameBase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepnight%2FgameBase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepnight","download_url":"https://codeload.github.com/deepnight/gameBase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245681219,"owners_count":20655154,"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","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":["game","haxe","heaps","webgl"],"created_at":"2024-07-31T16:00:50.725Z","updated_at":"2025-03-26T15:30:53.509Z","avatar_url":"https://github.com/deepnight.png","language":"Haxe","funding_links":["https://github.com/sponsors/deepnight"],"categories":["Haxe","Libraries"],"sub_categories":["Haxe"],"readme":"# About\n\n**A lightweight and simple base structure for games, using _[Heaps](https://heaps.io)_ framework and _[Haxe](https://haxe.org)_ language.**\n\nLatest release notes: [View changelog](CHANGELOG.md).\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/deepnight/gameBase/test.js.yml)](https://github.com/deepnight/gameBase/actions/workflows/test.js.yml)\n[![GitHub Repo stars](https://img.shields.io/github/stars/deepnight/gameBase?label=%E2%98%85)](https://github.com/deepnight/gameBase)\n\n# Install\n\n## Legacy or master?\n\nTwo separate branches exist for GameBase:\n\n- `master`: latest GameBase version, actively maintained.\n- `legacy`: the previous Gamebase version. This one is much more minimalistic but it could be useful if you were looking for a very basic framework for Heaps+Haxe.\n\nThe following document will only refer to the `master` branch.\n\n## Getting master\n\n1.  Install **Haxe** and **Hashlink**: [Step-by-step tutorial](https://deepnight.net/tutorial/a-quick-guide-to-installing-haxe/)\n2.  Install required libs by running the following command **in the root of the repo**: `haxe setup.hxml`\n\n# Compile\n\nFrom the command line, run either:\n\n- For **DirectX**: `haxe build.directx.hxml`\n- For **OpenGL**: `haxe build.opengl.hxml`\n- For **Javascript/WebGL**: `haxe build.js.hxml`\n\nThe `build.dev.hxml` is just a shortcut to one of the previous ones, with added `-debug` flag.\n\nRun the result with either:\n\n- For **DirectX/OpenGL**: `hl bin\\client.hl`\n- For **Javascript**: `start run_js.html`\n\n# Full guide\n\nAn in-depth tutorial is available here: [Using gamebase to create a game](https://deepnight.net/tutorial/using-my-gamebase-to-create-a-heaps-game/). Please note that this tutorial still refers to the `legacy` branch, even though the general idea is the same in `master` branch.\n\n## Sample examples\n\nThe samples are the recommended places to start for the latest `GameBase` version (`main`).\n\nThey should give a pretty hands-on understanding of how entities work and how to integrate `ldtk` to development.\n\n`SamplePlayer.hx`[SamplePlayer.hx]\n\nSamplePlayer is an Entity with some extra functionalities:\n\n- user controlled (using gamepad or keyboard)\n- falls with gravity\n- has basic level collisions\n- some squash animations, because it's cheap and they do the job\n\n`SampleWorld.hx`\n\nA small class that just creates a SamplePlayer instance in the sample level.\n\n## Localization\n\nFor **localization support** (ie. translating your game texts), you may also check the [following guide](https://deepnight.net/tutorial/part-4-localize-texts-using-po-files/).\n\n## Questions\n\nAny question? Join the [Official Deepnight Games discord](https://deepnight.net/go/discord).\n\n# Cleanup for your own usage\n\nYou can safely remove the following files/folders from repo root:\n\n- `.github/`\n- `LICENSE`\n- `README.md`\n- `CHANGELOG.md`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepnight%2FgameBase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepnight%2FgameBase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepnight%2FgameBase/lists"}