    Skip to content

      Navigation Menu

            Sign in Appearance settings
                * Platform
                        + AI CODE CREATION
                            o GitHub Copilot Write better code with AI
                            o GitHub Copilot app Direct agents from issue to merge
                            o MCP Registry Integrate external tools
                        + DEVELOPER WORKFLOWS
                            o Actions Automate any workflow
                            o Codespaces Instant dev environments
                            o Issues Plan and track work
                            o Code Review Manage code changes
                            o Code Quality Enforce quality at merge
                        + APPLICATION SECURITY
                            o GitHub Advanced Security Find and fix vulnerabilities
                            o Code security Secure your code as you build
                            o Secret protection Stop leaks before they start
                        + EXPLORE
                            o Why GitHub
                            o Documentation
                            o Blog
                            o Changelog
                            o Marketplace
                      View all features
                * Solutions
                        + BY COMPANY SIZE
                            o Enterprises
                            o Small and medium teams
                            o Startups
                            o Nonprofits
                        + BY USE CASE
                            o App Modernization
                            o DevSecOps
                            o DevOps
                            o CI/CD
                            o View all use cases
                        + BY INDUSTRY
                            o Healthcare
                            o Financial services
                            o Manufacturing
                            o Government
                            o View all industries
                      View all solutions
                * Resources
                        + EXPLORE BY TOPIC
                            o AI
                            o Software Development
                            o DevOps
                            o Security
                            o View all topics
                        + EXPLORE BY TYPE
                            o Customer stories
                            o Events & webinars
                            o Ebooks & reports
                            o Business insights
                            o GitHub Skills
                        + SUPPORT & SERVICES
                            o Documentation
                            o Customer support
                            o Community forum
                            o Trust center
                            o Partners
                      View all resources
                * Open Source
                        + COMMUNITY
                            o GitHub Sponsors Fund open source developers
                        + PROGRAMS
                            o Security Lab
                            o Maintainer Community
                            o Accelerator
                            o GitHub Stars
                            o Archive Program
                        + REPOSITORIES
                            o Topics
                            o Trending
                            o Collections
                * Enterprise
                        + ENTERPRISE SOLUTIONS
                            o Enterprise platform AI-powered developer platform
                        + AVAILABLE ADD-ONS
                            o GitHub Advanced Security Enterprise-grade security features
                            o Copilot for Business Enterprise-grade AI features
                            o Premium Support Enterprise-grade 24/7 support
              * Pricing
                Type / to search
                Sign in
              Sign up Appearance settings
      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              Uh oh!

              There was an error while loading. Please reload this page.

              libgdx / libgdx Public

                      * Uh oh!

                        There was an error while loading. Please reload this page.

              * Notifications You must be signed in to change notification settings
              * Fork 6.5k
                * Star 25.3k
          * Code
          * Issues 251
          * Pull requests 84
          * Actions
          * Projects
          * Wiki
          * Security and quality 0
          * Insights
          Additional navigation options
                  * Code
                  * Issues
                  * Pull requests
                  * Actions
                  * Projects
                  * Wiki
                  * Security and quality
                  * Insights
                                              master
                                          Branches Tags
                                            Go to file
                                        Code
                                          Open more actions menu

                                        Folders and files

                                          Name                            Name                              Last commit message    Last commit date
                                            Latest commit               
                                                                        
                                                History                 
                                                                        
                                                15,639 Commits          
                                                  15,639 Commits        
                                                  .github                         .github                                                          
                                                  .settings                       .settings                                                        
                                                  backends                        backends                                                         
                                                  extensions                      extensions                                                       
                                                  gdx                             gdx                                                              
                                                  gradle                          gradle                                                           
                                                  tests                           tests                                                            
                                                  .git-blame-ignore-revs          .git-blame-ignore-revs                                           
                                                  .gitattributes                  .gitattributes                                                   
                                                  .gitignore                      .gitignore                                                       
                                                  .gitmodules                     .gitmodules                                                      
                                                  AUTHORS                         AUTHORS                                                          
                                                  CC-LICENSE                      CC-LICENSE                                                       
                                                  CCLA.txt                        CCLA.txt                                                         
                                                  CHANGES                         CHANGES                                                          
                                                  CLA.txt                         CLA.txt                                                          
                                                  CONTRIBUTORS                    CONTRIBUTORS                                                     
                                                  LICENSE                         LICENSE                                                          
                                                  README.md                       README.md                                                        
                                                  THIRDPARTY                      THIRDPARTY                                                       
                                                  build.gradle                    build.gradle                                                     
                                                  eclipse-formatter.xml           eclipse-formatter.xml                                            
                                                  gradle.properties               gradle.properties                                                
                                                  gradlew                         gradlew                                                          
                                                  gradlew.bat                     gradlew.bat                                                      
                                                  libgdx_logo.svg                 libgdx_logo.svg                                                  
                                                  libgdx_logo_dark.svg            libgdx_logo_dark.svg                                             
                                                  publish.gradle                  publish.gradle                                                   
                                                  settings.gradle                 settings.gradle                                                  
                                            View all files              
                                          

                                              Repository files navigation

                                                * 
                                                * README
                                                * Contributing
                                                * Apache-2.0 license
                                                More items

                                                Cross-platform Game Development Framework

                                              libGDX is a cross-platform Java game development framework based on OpenGL (ES), designed for Windows, Linux, macOS, Android, web browsers, and iOS. It provides a robust and well-established environment for rapid prototyping and iterative development. Unlike other frameworks, libGDX does not impose a specific design or coding style, allowing you the freedom to create games according to your preferences.

                                                Open Source, Feature Packed, and Fostering a Large Third-Party Ecosystem

                                              libGDX is released under the Apache 2.0 License, offering unrestricted usage in both commercial and non-commercial projects. While not mandatory, we appreciate any credit given to libGDX when you release a game or app using it. Check out our showcase for a selection of popular libGDX-powered games. With libGDX, you gain access to a comprehensive set of tools and features to develop multi-platform 2D and 3D games using Java.

                                              Moreover, libGDX boasts a vibrant third-party ecosystem, with numerous tools and libraries that streamline development tasks. Explore the awesome-libgdx repository for a curated list of libGDX-centered libraries, serving as an excellent starting point for newcomers in the libGDX community.

                                                An example game created with libGDX: Pathway by Robotality. Discover more captivating games in our Showcase.

                                                Getting Started with libGDX / Documentation

                                              Thanks to Gradle, you can easily set up libGDX without the need to download the framework itself. Your favorite build tool can handle everything for you. Additionally, we offer a convenient setup tool that automates project creation and downloads all the necessary components. Check out our website for instructions on getting started or refer to our comprehensive wiki.

                                                * Creating a libGDX Project
                                                * Building a Simple Game
                                                * Tutorials & Demos

                                              We provide the libGDX javadocs online for easy reference. Additionally, the javadocs are bundled with every libGDX distribution, ensuring smooth integration with your preferred IDE.

                                                Community & Contribution

                                              Stay up to date with the latest libGDX news by following our blog. For engaging discussions and support, join our official libGDX Discord.

                                                Reporting Issues

                                              Use the Issue Tracker here on GitHub to report any issues you encounter. Before submitting, please read our Getting Help guide, which walks you through the process of reporting an issue effectively.

                                                Contributing to the Codebase

                                              libGDX benefits greatly from contributions made by our dedicated developer community. We appreciate any assistance in making libGDX even better. Check out the CONTRIBUTING.md file for details on how to contribute. Note that contributing involves working directly with libGDX's source code, a process that regular users do not typically undertake. Refer to the Working with the Source article for guidance.

                                              You can also support our infrastructure (build server, web server, test devices) by contributing financially through our Patreon!

                                        About

                                        Desktop/Android/HTML5/iOS Java game development framework

                                          www.libgdx.com/

                                        Topics

                                          2d3dandroidcross-platformframeworkgamegame-developmentgame-enginegamedevhtml5iosjavalibgdxlinuxmacosxwindows

                                        Resources

                                          Readme
                                          Apache-2.0 license

                                        Contributing

                                          Contributing
                                          Activity
                                          Custom properties

                                        Stars

                                          25.3k stars

                                        Watchers

                                          1.1k watching

                                        Forks

                                          6.5k forks
                                          Report repository

                                        Releases

                                        Sponsor this project

                                        Packages

                                        Used by

                                        Contributors

                                        Languages

    Footer

        © 2026 GitHub, Inc.

      Footer navigation

        * Terms
        * Privacy
        * Security
        * Status
        * Community
        * Docs
        * Contact
        * Manage cookies
        * Do not share my personal information
      You can’t perform that action at this time.