{"id":26618430,"url":"https://github.com/patrickjamesrepo/flyingobjects","last_synced_at":"2025-03-24T08:38:31.661Z","repository":{"id":283887287,"uuid":"953199180","full_name":"PatrickJamesRepo/FlyingObjects","owner":"PatrickJamesRepo","description":"A dynamic libGDX project generated with gdx-liftoff that showcases a 3D scene featuring a stationary blue sphere, a moving red cube, and a moving green hash object","archived":false,"fork":false,"pushed_at":"2025-03-22T19:55:38.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T20:29:07.884Z","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/PatrickJamesRepo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-22T19:48:41.000Z","updated_at":"2025-03-22T19:55:42.000Z","dependencies_parsed_at":"2025-03-22T20:40:56.603Z","dependency_job_id":null,"html_url":"https://github.com/PatrickJamesRepo/FlyingObjects","commit_stats":null,"previous_names":["patrickjamesrepo/flyingobjects"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJamesRepo%2FFlyingObjects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJamesRepo%2FFlyingObjects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJamesRepo%2FFlyingObjects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJamesRepo%2FFlyingObjects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PatrickJamesRepo","download_url":"https://codeload.github.com/PatrickJamesRepo/FlyingObjects/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245238406,"owners_count":20582873,"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":"2025-03-24T08:38:31.079Z","updated_at":"2025-03-24T08:38:31.655Z","avatar_url":"https://github.com/PatrickJamesRepo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Java-C-Assignments / libGDX Flying Objects Project\n![Flying Objects](flyingobjects.png)\n\nThis project is a libGDX project generated using gdx-liftoff. The template includes simple application launchers and an ApplicationAdapter extension that draws the libGDX logo, along with basic 3D object rendering. The project has been customized with additional code that loads custom models (for example, a sphere, cube, and hash object) and implements simple orbiting animations, camera zoom controls, and rotation. It also demonstrates basic texture application and custom model movement.\n\nPlatforms:\n- core: Contains application logic that is shared by all platforms.\n- lwjgl3: The primary desktop platform using LWJGL3 (formerly known as 'desktop' in older documentation).\n\nGradle:\nThe project uses Gradle for dependency management and building. The Gradle wrapper is included, so you can run tasks using commands such as:\n• ./gradlew build         – Builds sources and archives.\n• ./gradlew clean         – Removes build folders.\n• ./gradlew lwjgl3:jar    – Builds a runnable jar (located in lwjgl3/build/libs).\n• ./gradlew lwjgl3:run    – Starts the application.\n• ./gradlew test          – Runs unit tests (if any).\n\nUseful Gradle flags include:\n• --continue             – Continue tasks despite errors.\n• --daemon               – Use the Gradle daemon.\n• --offline              – Use cached dependency archives.\n• --refresh-dependencies – Force validation of all dependencies.\n\nCustom Modifications and Assets:\n- Custom Code:\n  • The main application (extending ApplicationAdapter) sets up a 3D scene with a perspective camera, ambient lighting, and three model objects: a stationary object (blue sphere), a moving object (red cube), and another moving object (green hash) with orbiting behavior.\n  • Subclasses of a common model class (MyModel) handle model loading, transformation (scaling, translation, rotation), texture application, and drawing.\n  • The moving objects include logic to update their positions over time (using orbit parameters and a timer) and rotate continuously.\n- Custom Image:\n  • A file named \"flyingobjects.png\" is placed at the root of the project directory. This image can be used as a texture on one or more objects by loading it using the libGDX file handling system (e.g., via Gdx.files.internal(\"flyingobjects.png\")). This ensures that your custom image is bundled with the project and available at runtime.\n\nBuild and Run Instructions:\n- Using Gradle:\n  • Open a terminal in the project root directory.\n  • Run \"./gradlew build\" to build the project.\n  • To run the desktop application, execute \"./gradlew lwjgl3:run\".\n- In IntelliJ IDEA:\n  • Open the project by selecting the project directory (e.g., /home/patrick/IntelleJProjects_home/IntelleJProjects_home/TSJAVACardanoStarter).\n  • IntelliJ will import the Gradle project automatically.\n  • Use the Gradle tool window or a run configuration to execute the lwjgl3:run task.\n\nSummary:\nThis project is a libGDX application generated with gdx-liftoff and customized to include additional code for 3D model rendering, movement, and camera control. It uses Gradle for building and supports both core shared logic and an LWJGL3-based desktop implementation. The inclusion of \"flyingobjects.png\" at the project root allows you to use your custom image as a texture or for other purposes within the application. This document covers the project structure, custom modifications, asset handling, and instructions for building and running the application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjamesrepo%2Fflyingobjects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickjamesrepo%2Fflyingobjects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjamesrepo%2Fflyingobjects/lists"}