{"id":20671513,"url":"https://github.com/hopson97/slonda-man","last_synced_at":"2025-07-10T12:40:33.474Z","repository":{"id":37030275,"uuid":"107316067","full_name":"Hopson97/Slonda-Man","owner":"Hopson97","description":"A clone of the game \"Slender\" made in C++14, Modern OpenGL, GLM, and SFML","archived":false,"fork":false,"pushed_at":"2022-06-18T17:52:31.000Z","size":10365,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T20:23:35.280Z","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/Hopson97.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}},"created_at":"2017-10-17T19:43:18.000Z","updated_at":"2025-02-02T20:29:34.000Z","dependencies_parsed_at":"2022-08-18T00:11:50.348Z","dependency_job_id":null,"html_url":"https://github.com/Hopson97/Slonda-Man","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hopson97/Slonda-Man","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSlonda-Man","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSlonda-Man/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSlonda-Man/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSlonda-Man/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hopson97","download_url":"https://codeload.github.com/Hopson97/Slonda-Man/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSlonda-Man/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264579100,"owners_count":23631561,"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-16T20:27:46.367Z","updated_at":"2025-07-10T12:40:33.450Z","avatar_url":"https://github.com/Hopson97.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slonda Man\n\nA game like Slender: The Eight Pages.\n\nI started creating this on 17th October 2017, and my goal as to complete it in 2 weeks (In time for Halloween). However, I never finished it because I became ill, but here is the source code after 10 days.\n\n### Building:\n\u003ccoming soon\u003e\n\n# The challenge\n\nI started off using the simple SFML game framework, and created it from there.\n\nThis means the line total shown below is 857 lesser than the true value (Line of code of the framework I made.)\n\n### Day 1 \u0026 2\n\nDay one was spent setting up basic OpenGL stuff, such as support for actually drawing in OpenGL, 3D, an FPS camera, and a simple render system\n\n![Day 1](https://i.imgur.com/KsXOV40.png)\n\nEnd of day 2 stats:\n\n| Title                  \t| Data                                                       \t|\n|------------------------\t|------------------------------------------------------------\t|\n| Time programming Today \t| 3:15:48                                                    \t|\n| Lines of Code Today    \t| 575                                                           |\n| Total Time Programming \t| 3:15:48                                                    \t|\n| Total Lines of Code    \t| 575                                                           |\n\n### Day 3\n\nToday I did not get much done due to some kind of flu.\n\nHowever, what I did do was get model loading in the game. This uses a parser my friend wrote a while back while following the ThinMatrix OpenGL tutorial.\n\nBefore this, I tried using TinyOBJ and Assimp, but neither of those worked.\n\n![Day 3](https://i.imgur.com/vOuaSIT.png)\n\n| Title                  \t| Data                                                       \t|\n|------------------------\t|------------------------------------------------------------\t|\n| Time programming Today \t| 2:52:41                                            \t|\n| Lines of Code Today    \t| 369                                                           |\n| Total Time Programming \t| 6:08:29                                                    \t|\n| Total Lines of Code    \t| 944                                                           |\n\n### Day 4\n\nToday was started off by getting terrain to be generated and render, and finished off with some\nlighting effects\n\n![Day 4](https://i.imgur.com/fORH4A9.png)\n\n| Title                  \t| Data                                                       \t|\n|------------------------\t|------------------------------------------------------------\t|\n| Time programming Today \t| 2:13:10                                                       |\n| Lines of Code Today    \t| 242                                                           |\n| Total Time Programming \t| 8:21:39                                                    \t|\n| Total Lines of Code    \t| 1186                                                           |\n\n\n### Day 5\n\nTo begin, I created a level loader. This simply take in a .png image, and then places objects at\nlocation, using hexadecimal colours.\n\nAfter this, I begun work on a post processing shader, which crashes, so I was unable to use it.\n\nFailing with that, I also improved how the torch looks, by moving the position of it slightly Down\nand to the right of the camera. This makes it look better as it actually looks like you are\nholding a torch, as opposed to just having light come out your mouth or something.\n\nTo finish off, I created a player class, which allows for smoother movement though the use of velocity.\n\n![Day 5](https://i.imgur.com/FjCcsEQ.jpg)\n\n| Title                  \t| Data                                                       \t|\n|------------------------\t|------------------------------------------------------------\t|\n| Time programming Today \t| 3:40:49                                                      |\n| Lines of Code Today    \t| 245                                                           |\n| Total Time Programming \t| 12:02:28                                                    \t|\n| Total Lines of Code    \t| 1432                                                           |\n\n\n### Day 6\n\nNot much was done today because I was busy with other stuff.\n\nHowever, I made a skybox for some additional ambience, and added an \"edge\" to the level.\n\n![Day 6](https://i.imgur.com/d4YW8cW.png)\n\n| Title                  \t| Data                                                       \t|\n|------------------------\t|------------------------------------------------------------\t|\n| Time programming Today \t| 1:55:12                                                      |\n| Lines of Code Today    \t| 280                                                           |\n| Total Time Programming \t| 13:57:40                                                    \t|\n| Total Lines of Code    \t| 1712                                                           |\n\n\n### Day 7\n\nNot much was done today because I was busy with other stuff.\n\nOne thing I did do was add in slender boi\n\nHe does not do much, as for now he is literally a texture that renders to a quad, of which always\nfaces the player.\n\nOther things I did was some clean up.\n\n![Day 7](https://i.imgur.com/w6Uq1rD.jpg)\n\n| Title                  \t| Data                                                       \t|\n|------------------------\t|------------------------------------------------------------\t|\n| Time programming Today \t| 0:42:12                                                      |\n| Lines of Code Today    \t| 193                                                   |\n| Total Time Programming \t| 14:39:52                                                    \t|\n| Total Lines of Code    \t| 1905                                                           |\n\n\n### Day 8\n\nI added the initial logic of Slenderman himself today.\n\nThis is testing whether he is in view, or not.\n\nFirst of all, I test if he inside of the viewing frustum of the player. If he is, the next text is the occlusion test, which is testing if main man is behind an entity, or actually in view.\n\n| Title                  \t| Data                                                       \t|\n|------------------------\t|------------------------------------------------------------\t|\n| Time programming Today \t| 0:59:54                                                      |\n| Lines of Code Today    \t| 126                                                   |\n| Total Time Programming \t| 15:39:46                                                    \t|\n| Total Lines of Code    \t| 1905                                                           |\n\n### Day 9\n\nToday, I added \"logic\" to Slenderman, which means he now actually stalks the player.\n\nThis was done using a couple of clocks and an enum.\n\nSlenderman has two states: Ghosting, which is where he looking for a new spot; and Stalking, which is where he is stalking the player.\n\n\n| Title                  \t| Data                                                       \t|\n|------------------------\t|------------------------------------------------------------\t|\n| Time programming Today \t| 1:05:32                                                      |\n| Lines of Code Today    \t| 168                                                   |\n| Total Time Programming \t| 16:45:18                                                    \t|\n| Total Lines of Code    \t| 2073                                                           |\n\n### Day 10\n\nTo start off, I improved the level loading. This meant that if I wanted to add a new model into the game, I do not need to hard code it in.\n\nInstead, I simply can edit a Config file (res/levels/info.txt) and then I can add instances as needed.\n\nTo finish off, I started initial work on an objective to collect. For this, I used a teddy bear model. Once the teddy bear has been walked over, it dissappears.\n\n\n![Day 10](https://i.imgur.com/6yQrk9j.png)\n\n| Title                  \t| Data                                                       \t|\n|------------------------\t|------------------------------------------------------------\t|\n| Time programming Today \t| 2:45:32                                                      |\n| Lines of Code Today    \t| 172                                                   |\n| Total Time Programming \t| 19:30:50                                                    \t|\n| Total Lines of Code    \t| 2245                                                           |\n\n\n\n\n\n\n\n                                                         |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopson97%2Fslonda-man","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhopson97%2Fslonda-man","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopson97%2Fslonda-man/lists"}