{"id":21001049,"url":"https://github.com/derekisbusy/jarduinogame","last_synced_at":"2025-08-22T22:23:02.131Z","repository":{"id":72493436,"uuid":"44161240","full_name":"derekisbusy/JArduinoGame","owner":"derekisbusy","description":"Classes to help integrate JArduino and LibGDX","archived":false,"fork":false,"pushed_at":"2015-10-13T08:20:17.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T13:44:29.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derekisbusy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-13T08:02:44.000Z","updated_at":"2015-10-13T08:07:00.000Z","dependencies_parsed_at":"2023-03-06T03:41:10.842Z","dependency_job_id":null,"html_url":"https://github.com/derekisbusy/JArduinoGame","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/derekisbusy/JArduinoGame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekisbusy%2FJArduinoGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekisbusy%2FJArduinoGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekisbusy%2FJArduinoGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekisbusy%2FJArduinoGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derekisbusy","download_url":"https://codeload.github.com/derekisbusy/JArduinoGame/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekisbusy%2FJArduinoGame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271710533,"owners_count":24807684,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-19T08:13:29.507Z","updated_at":"2025-08-22T22:23:02.086Z","avatar_url":"https://github.com/derekisbusy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JArduinoGame\n\n(BETA)\n\nClasses to help integrate JArduino and LibGDX\n\nThese classes require [JArduino](https://github.com/SINTEF-9012/JArduino) and [LibGDX](https://github.com/libgdx/libgdx).\n\nThis class currently only works with Desktop version of LibGDX games.\n\nTo use this class with your LibGDX game repace the LibGDX Game class that your game extends from with the JArduinoGame class.\n\nYou will need to add a constructor to your game class that sets to serial port and calls the runArduinoProcess method. E.g.\n\n```java\npublic MyGame(String serialPort) {\n\t\tsuper(serialPort);\n\t\tthis.runArduinoProcess();\n}\n```\n\nIf you want to be able to select a serial port when the game launches you will have to add the JArduino serial port selector to your desktop launcher. E.g.\n\n```java\npublic class DesktopLauncher {\n\tpublic static void main (String[] arg) {\n\t\tString serialPort;\n\t\tif (arg.length == 1) {\n\t\t\tserialPort = arg[0];\n\t\t} else {\n\t\t\tserialPort = Serial4JArduino.selectSerialPort();\n\t\t}\n\t\t\n\t\tLwjglApplicationConfiguration config = new LwjglApplicationConfiguration();\n\t\tconfig.title = \"My Game\";\n\t\tconfig.width = 480;\n\t\tconfig.height = 800;\n\t\tnew LwjglApplication( new MyGame(serialPort), config);\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekisbusy%2Fjarduinogame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderekisbusy%2Fjarduinogame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekisbusy%2Fjarduinogame/lists"}