{"id":21155925,"url":"https://github.com/dfranx/simpleplatformer","last_synced_at":"2025-03-14T15:16:59.847Z","repository":{"id":113373247,"uuid":"116751133","full_name":"dfranx/SimplePlatformer","owner":"dfranx","description":"A project using Tily and Colly + simple physics","archived":false,"fork":false,"pushed_at":"2019-06-28T00:37:45.000Z","size":1128,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T08:44:49.239Z","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/dfranx.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}},"created_at":"2018-01-09T01:49:39.000Z","updated_at":"2024-09-15T04:41:01.000Z","dependencies_parsed_at":"2023-04-19T23:31:44.006Z","dependency_job_id":null,"html_url":"https://github.com/dfranx/SimplePlatformer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfranx%2FSimplePlatformer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfranx%2FSimplePlatformer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfranx%2FSimplePlatformer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfranx%2FSimplePlatformer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfranx","download_url":"https://codeload.github.com/dfranx/SimplePlatformer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243597836,"owners_count":20316844,"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-20T11:32:44.095Z","updated_at":"2025-03-14T15:16:59.823Z","avatar_url":"https://github.com/dfranx.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Platformer\nA simple game that demonstrates usage of my [Tily](https://github.com/GeneralNote/Tily)\nand [Colly](https://github.com/GeneralNote/Colly) library. The project requires SFML.\nTily is used to render the tilemap. In this game we have 2 layers, one is for the\nblocks that are solid and behind the player. The other layer is for the decorations\nthat are in front of the player. Colly is used to handle collision. In this game\nwe handle also some special cases. One case is the collision with a coin. Coins\nuse CollisionType::Cross and when the player collides with them we delete them\nfrom the map. Spikes also work like coins except we dont delete them but we just\nsend player to the spawn position. To handle the tiles that can be destroyed by\njumping into them from below we just check if velocity is negative (aka going upwards)\nwhen the collision happens.  \n\nThis game uses textures from [KenML](http://www.kenney.nl/): [link](https://opengameart.org/content/platformer-tiles)\n\n![](https://i.imgur.com/EeUBUQN.png)\n\n## Compile\n### Preperation\nBefore compiling the game you need to have **SFML 2.5**.\n\n### Building\nTo compile this program on **Linux**, just type in the following commands:\n```\ncmake .\nmake\n./SimplePlatformer\n```\n\nTo compile this program on **Windows**, open up the .sln file with Visual Studio. After that\nlink to SFML and build the project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfranx%2Fsimpleplatformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfranx%2Fsimpleplatformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfranx%2Fsimpleplatformer/lists"}