{"id":18771097,"url":"https://github.com/bigasdev/heaps-topdownview-template","last_synced_at":"2026-02-06T07:06:12.115Z","repository":{"id":43693231,"uuid":"455167113","full_name":"bigasdev/Heaps-topdownview-template","owner":"bigasdev","description":"Setup for my own use of the deepnight games heaps lib","archived":false,"fork":false,"pushed_at":"2022-02-23T19:22:01.000Z","size":742,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-29T07:43:25.978Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/bigasdev.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},"funding":{"github":"deepnight"}},"created_at":"2022-02-03T13:02:18.000Z","updated_at":"2022-02-23T12:22:04.000Z","dependencies_parsed_at":"2022-09-10T14:01:34.806Z","dependency_job_id":null,"html_url":"https://github.com/bigasdev/Heaps-topdownview-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":"deepnight/gameBase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigasdev%2FHeaps-topdownview-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigasdev%2FHeaps-topdownview-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigasdev%2FHeaps-topdownview-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigasdev%2FHeaps-topdownview-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigasdev","download_url":"https://codeload.github.com/bigasdev/Heaps-topdownview-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239678114,"owners_count":19679202,"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":[],"created_at":"2024-11-07T19:23:13.581Z","updated_at":"2026-02-06T07:06:12.077Z","avatar_url":"https://github.com/bigasdev.png","language":"Haxe","funding_links":["https://github.com/sponsors/deepnight"],"categories":[],"sub_categories":[],"readme":"# About\n A new template using the heaps.io lib created by deepnight games, it has new features and built-in stuff to help with my style of game development.\n\n## New Features\n\n* Built-in Inventory for the hero class;\n* Built-in HP Bar for the entity class;\n* Built-in Title Screen;\n* Debug function for the game class (it only shows the trace if you are in debug mode and it automatically converts stuff to string using the Std.string);\n* Built-in item class with a magnet function to the player;\n* Added some usefull stuff to the tile.aseprite (medkit, hearts, diamonds, coins, etc..).\n* Function to create enemies and items within the game class, this way they are stored in an array.\n\n## Built-in Title Screen\nNow we have the `Title.hx` which is called before the game starts, it has the functions to create texts/logo(image) and automatically fades away with an explosion sound when you click the `Press start to continue button` or hit space/enter\n\n## Built-in Inventory\nNow we have the `Inventory` class inside the Hero.hx with 4 functions:\n\n * getItem();\n * checkItems();\n * addItem();\n * removeItem();\n\nEvery function has a debug to make sure its working, and we'll use the name of the item to add/remove it.\n\n## Built-in HP Bar\nNow we have the `HpBar` class inside the Entity.hx with 3 functions:\n\n * damageBar();\n * showBar();\n * updateBar();\n\nYou can use the showbar in the update to show the hp bar in the entity, a new HpBar is created by default in the Enemy.hx, the hearts are automatically updated with the damageBar function.\n\n\n## Credits\n\nA huge thanks to [Deepnight Games](https://github.com/deepnight) for the creation of the deepnight lib for heaps.io, if you ends up using this template or just like heaps.io i really recommend you checking his amazing stuff.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigasdev%2Fheaps-topdownview-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigasdev%2Fheaps-topdownview-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigasdev%2Fheaps-topdownview-template/lists"}