{"id":20043383,"url":"https://github.com/dyanikoglu/pedestrianstragedy","last_synced_at":"2025-03-02T07:22:32.040Z","repository":{"id":98136380,"uuid":"92021721","full_name":"dyanikoglu/PedestriansTragedy","owner":"dyanikoglu","description":"A 2d road crossing game developed with OpenGL on C++","archived":false,"fork":false,"pushed_at":"2020-07-11T09:02:50.000Z","size":28996,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T19:44:58.633Z","etag":null,"topics":["computer-graphics","cplusplus","fmod","fmod-api","fmod-studio","frogger","game","game-development","glsl","glut","opengl"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dyanikoglu.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":"2017-05-22T07:00:27.000Z","updated_at":"2025-01-05T11:30:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e9d26f0-223a-45a0-a84e-775c76730113","html_url":"https://github.com/dyanikoglu/PedestriansTragedy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyanikoglu%2FPedestriansTragedy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyanikoglu%2FPedestriansTragedy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyanikoglu%2FPedestriansTragedy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyanikoglu%2FPedestriansTragedy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dyanikoglu","download_url":"https://codeload.github.com/dyanikoglu/PedestriansTragedy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241471859,"owners_count":19968289,"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":["computer-graphics","cplusplus","fmod","fmod-api","fmod-studio","frogger","game","game-development","glsl","glut","opengl"],"created_at":"2024-11-13T10:56:05.324Z","updated_at":"2025-03-02T07:22:32.019Z","avatar_url":"https://github.com/dyanikoglu.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Pedestrian's Tragedy\n![gif](https://github.com/dyanikoglu/PedestriansTragedy/raw/master/Readme_GIF.gif)\n\nA road crossing game developed with OpenGL \u0026 FMOD on C++.\n\n## Features\n- Trees will appear randomly on pavements, they will block agent's movement.\n- Agent will move with a smooth animation instead of teleporting to target location.\n- Picked coins will fly onto score text at the corner of screen with increasing scale. Idle coins on game world will animate from left to right slowly. Also, a feedback text will appear at the top of picked coin.\n- If a car/truck hits to agent, agent will be driven away to hit direction with a sound effect. After this, view will zoom at agent, and a paraphrase will apper at the top of agent.\n- Spawned cars/trucks will sense each other. They will slow down after getting too close to other cars/trucks.\n- Cars/Trucks will sense agent if it's too close to front side of car/truck. They will honk their horn to agent with %50 chance.\n- Initial velocity of spawned cars/trucks will increase as the time goes by.\n\n## Environment Setup\n- Solution is created with Visual Studio 2017.\n\n- It's assumed that OpenGL, FreeGLUT and Windows SDK 8.1 is already installed correctly on the system. This guide can be followed to get your dev. environment ready: http://www.cs.uky.edu/~cheng/cs633/OpenGLInstallGuideWindows.pdf\n\n- Project must be compiled on x86 mode.\n\n- If a standalone exe is needed, media folder and fmod.dll should be on same directory with exe file.\n\n## Game Rules\n- Player can't go back from it's current direction. If so, game is over immediately.\n- If agent collides with any of car/truck in game world, game is over immediately.\n- If agent collides with any coin in game world, score will increse by 5.\n- Each move on direction of agent will increase score by 1.\n- On each 2000th frame of game, pawns will spawn with higher speeds. In other words, difficulty will increase as time goes by.\n- Game will continue until agent dies, or tries to go wrong direction.\n- Agent cannot pass through center of the trees on pavements.\n\n## Controls\n- Arrow Keys -\u003e Movement\n- q -\u003e Quit from game\n- Middle Mouse Button -\u003e Pause Game\n- Left Mouse Button -\u003e (If paused) Continue game\n- Right Mouse Button -\u003e (If paused) Advance game by 1 frame\n\n## Licence\nCopyright (C) 2017-2018 Doğa Can YANIKOĞLU\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/\n\n## Contributing\nContributors are encouraged to fork this repository and issue pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyanikoglu%2Fpedestrianstragedy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdyanikoglu%2Fpedestrianstragedy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyanikoglu%2Fpedestrianstragedy/lists"}