{"id":24658573,"url":"https://github.com/theow03/jnebula","last_synced_at":"2025-10-07T20:30:56.862Z","repository":{"id":167695105,"uuid":"603931487","full_name":"TheoW03/JNebula","owner":"TheoW03","description":"JNebula, is a modern Component based Graphics/Game engine for Java. ","archived":false,"fork":false,"pushed_at":"2024-09-07T20:35:47.000Z","size":994,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T14:51:37.847Z","etag":null,"topics":["engine","graphics-programming","java","opengl"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheoW03.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,"zenodo":null}},"created_at":"2023-02-20T00:52:21.000Z","updated_at":"2024-09-07T20:35:51.000Z","dependencies_parsed_at":"2025-06-08T04:31:07.532Z","dependency_job_id":null,"html_url":"https://github.com/TheoW03/JNebula","commit_stats":null,"previous_names":["theow03/gameengine2d"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheoW03/JNebula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheoW03%2FJNebula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheoW03%2FJNebula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheoW03%2FJNebula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheoW03%2FJNebula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheoW03","download_url":"https://codeload.github.com/TheoW03/JNebula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheoW03%2FJNebula/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278840375,"owners_count":26055112,"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-10-07T02:00:06.786Z","response_time":59,"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":["engine","graphics-programming","java","opengl"],"created_at":"2025-01-26T01:38:09.310Z","updated_at":"2025-10-07T20:30:56.509Z","avatar_url":"https://github.com/TheoW03.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JNebula v1.0.0 In-Dev\n\na component based graphics engine\ncoded in java \n\n\u003cp\u003ecoded by: TheoW03 \u003c/p\u003e\n\n\n# Getting Started\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eNo JSON editor\u003c/b\u003e\u003c/summary\u003e\n\n\nmain\n\n```JAVA\nimport org.JNebula.GameObjects.GameRenderer;\n\npublic class Main {\n    public static void main(String[] args) throws IOException {\n        GameRenderer starterCode = new StarterCode(); //for step 3 if you get a not defined error then\n        Window.InitWindow(640, 480, \"example window\", starterCode,\"\");\n    }\n}\n\n```\n---\n\nyour renderer class\n```JAVA\npublic class StarterCode extends GameRenderer {\n\n    //runs 1st frame. \n    //dt: delta time\n    //GL2: OpenGL context\n    @Override\n    public void start(float dt, GL2 gl){\n        GameObject obj = new GameObject(\"starterObj\"); // you can name it what you want\n        obj.AddComponent(new CameraComponent(new Vector3(0,0,0))); //not required if you dont add it will default to 0,0\n        obj.AddComponent(new SpriteComponents(\"sprite.png\",\"png\",null)); //the null is a color\n        obj.AddComponent(new TransformComponent(new Vector3(0,0,0)));\n        Scene.InstantiateObject(obj);\n    }\n    //runs 1st frame. \n    //dt: delta time\n    //GL2: OpenGL context\n    @Override\n    public void update(float dt, GL2 gl){\n        GameObject render1Instance = InitObjects.Find(\"render1\");\n    }\n}\n\n\n```\n\u003c/details\u003e\n\u003cbr\u003e\n\u003cdetails\u003e \n\n\u003csummary\u003e\u003cb\u003e JSON editor\u003c/b\u003e\u003c/summary\u003e\n\nwarning: The JSON editor isn't fully functional and may have some bugs. or some specific test cases where \nits unusable. \n\n```JSON\n[\n  {\n    \"name\": \"render1\",\n    \"isActive\": true,\n    \"components\": [\n      {\n        \"component_name\": \"org.JNebula.Components.DifferentComponents.TransformComponent\",\n        \"location\": {\n          \"x\": 100,\n          \"y\": 100,\n          \"z\": 0\n        }\n      },\n      {\n        \"component_name\": \"org.JNebula.Components.DifferentComponents.SpriteComponent\",\n        \"file\": \"${path to image}\",\n        \"type\": \"jpg\"\n      }\n    ]\n  }\n]\n```\n\n\n```JAVA\nimport org.JNebula.GameObjects.GameRenderer;\n\npublic class Main {\n    public static void main(String[] args) throws IOException {\n        GameRenderer starterCode = new StarterCode(); //for step 3 if you get a not defined error then\n        Window.InitWindow(640, 480, \"example window\", starterCode, \"${PATH TO JSON}\");\n    }\n}\n\n```\n\n\n```JAVA\npublic class StarterCode extends GameRenderer {\n    //runs 1st frame. \n    //dt: delta time\n    //GL2: OpenGL context\n    @Override\n    public void start(float dt, GL2 gl){       \n\n    }\n    //runs every frame. \n    // dt: delta time\n    //GL2: OpenGL context\n    @Override\n    public void update(float dt, GL2 gl){\n        GameObject render1Instance = InitObjects.Find(\"render1\");\n\n\n    }\n}\n```\n\u003c/details\u003e\n\n\n\n# Documentation\n\n* \u003ca href = https://github.com/TheoW03/JNebula/tree/master/src/org/JNebula/Docs\u003eDocumentation v1.0.0 \u003c/a\u003e\n\n# Demo \n\n* \u003ca href = https://github.com/TheoW03/JNebula/tree/master/src/DemoGames/Pong\u003e Demo v1.0.0 \u003c/a\u003e\n\n# Contributors\n\nT-A-B\n\nJune\n\n---\n\nI encourage you all to leave feedback in the issue page, or discussion, greatly appreciated.  \n\nhttps://github.com/TheoW03/JNebula/issues\n\nhttps://github.com/TheoW03/JNebula/discussions","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheow03%2Fjnebula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheow03%2Fjnebula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheow03%2Fjnebula/lists"}