{"id":22887204,"url":"https://github.com/electrostat-lab/game-hci","last_synced_at":"2025-05-07T11:12:45.233Z","repository":{"id":115670891,"uuid":"311475407","full_name":"Electrostat-Lab/Game-HCI","owner":"Electrostat-Lab","description":"An Android API housing useful re-usbable Human-computer Interfaces (HCI) in the form of in-game android views with an integration API for jMonkeyEngine.","archived":false,"fork":false,"pushed_at":"2024-05-03T19:36:41.000Z","size":73998,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-08T23:29:53.111Z","etag":null,"topics":["android","android-games","android-view","gamepad-library","java","jmonkeyengine3","monkey-droid","superior-extended-engine"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Electrostat-Lab.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":"2020-11-09T21:57:57.000Z","updated_at":"2024-05-03T19:36:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3c9d156-1208-4e23-9b15-a027e4a5407a","html_url":"https://github.com/Electrostat-Lab/Game-HCI","commit_stats":null,"previous_names":["electrostat-lab/game-hci"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2FGame-HCI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2FGame-HCI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2FGame-HCI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Electrostat-Lab%2FGame-HCI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Electrostat-Lab","download_url":"https://codeload.github.com/Electrostat-Lab/Game-HCI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229612408,"owners_count":18098820,"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":["android","android-games","android-view","gamepad-library","java","jmonkeyengine3","monkey-droid","superior-extended-engine"],"created_at":"2024-12-13T20:31:31.997Z","updated_at":"2024-12-13T20:31:32.713Z","avatar_url":"https://github.com/Electrostat-Lab.png","language":"Java","readme":" # Game-HCI\n\u003e Formerly known as \"JmeGamepad\" and \"Superior-Extended-Engine\" or \"SEE\".\n\n## [Demonstration of the library's capabilities.](https://www.youtube.com/watch?v=Gp2JJ-PCI8c) ##\n\n##### How to implement it into your Android project :\n\nStep 1. Add it in your root build.gradle at the end of repositories :\n```gradle\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n  ```\n\nStep 2. Add the dependency :\n```gradle\n\tdependencies {\n\t        implementation 'com.github.Scrappers-glitch:Superior-Extended-Engine:1.x.x'\n\t}\n```\n\n![](https://github.com/Scrappers-glitch/Superior-Extended-Engine/blob/master/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/attachments/imageSEEDemo1.png)\n\n![](https://github.com/Scrappers-glitch/Superior-Extended-Engine/blob/master/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/attachments/imageSEEDemo2.png)\n\n![](https://github.com/Scrappers-glitch/Superior-Extended-Engine/blob/master/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/attachments/imageSEEDemo3.png)\n\n## Useful Tags/Code snippets: \n\n1) `Constraining the game pad stick using a scale factor to the coordinates calculated from the similarity of parallel triangles` : \n        \u003cbr/\u003e\n\t\u003cbr/\u003e\n\tCode : https://github.com/Scrappers-glitch/Superior-Extended-Engine/blob/27c6dbb65e07eb2b3096b0dd07af575cc43c54f0/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/gamePad/GameStickView.java#L335 \n\t\u003cbr/\u003e\n\thttps://www.instructables.com/A-Simple-Android-UI-Joystick/\n\t\u003cbr/\u003e\n\t\u003cb\u003e Linear Interpolation : \u003cb/\u003e\n\thttps://www.mathsisfun.com/data/scatter-xy-plots.html\n\n2) `Converting vector/rectangular coordinates (vector2d) to polar coordinates (angles) :` =\u003e Used by `DrivingWheel`\n\t\u003cbr/\u003e\n\t\u003cbr/\u003e\n\tCode : https://github.com/Scrappers-glitch/Superior-Extended-Engine/blob/27c6dbb65e07eb2b3096b0dd07af575cc43c54f0/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/vehicles/DrivingWheelView.java#L213\n\t\u003cbr/\u003e\n \t[Trigonometry.pdf](https://github.com/Scrappers-glitch/Superior-Extended-Engine/files/7531994/Trigonometry.pdf)\n\t\u003cbr/\u003e\n\tArc of trig functions : https://www.mathsisfun.com/algebra/trig-inverse-sin-cos-tan.html \n\t\u003cbr/\u003e\n\tJava atan2 docs : https://developer.android.com/reference/java/lang/Math#atan2(double,%20double)\n\n\n3) `Using the game rotation vector software sensor (Geomagnetic sensor + Gyroscope) :` =\u003e Used by `GameDrivingMatrix`\n\t\u003cbr/\u003e\n\t\u003cbr/\u003e\n\tCode : https://github.com/Scrappers-glitch/Superior-Extended-Engine/blob/27c6dbb65e07eb2b3096b0dd07af575cc43c54f0/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/gamePad/GameStickView.java#L231 \n\t\u003cbr/\u003e\n\thttps://developer.android.com/guide/topics/sensors/sensors_position#java\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectrostat-lab%2Fgame-hci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectrostat-lab%2Fgame-hci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectrostat-lab%2Fgame-hci/lists"}