CINXE.COM
Source & Documentation - libGDX
<!doctype html> <!-- Minimal Mistakes Jekyll Theme 4.26.2 by Michael Rose Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes Free for personal and commercial use under the MIT license https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE --> <html lang="en" class="no-js"> <head> <meta charset="utf-8"> <!-- begin _includes/seo.html --><title>Source & Documentation - libGDX</title> <meta name="description" content="libGDX is hosted on GitHub, where all team members collaborate. Fork, star and contribute to our project!"> <meta property="og:type" content="website"> <meta property="og:locale" content="en_US"> <meta property="og:site_name" content="libGDX"> <meta property="og:title" content="Source & Documentation"> <meta property="og:url" content="https://libgdx.com/dev/"> <meta property="og:description" content="libGDX is hosted on GitHub, where all team members collaborate. Fork, star and contribute to our project!"> <meta property="og:image" content="https://libgdx.com/assets/images/dev.jpeg"> <link rel="canonical" href="https://libgdx.com/dev/"> <meta name="google-site-verification" content="qc0iys9Aweas1z8EhICO-0Ohwh6Iq1GDV6K75e0ToO8" /> <!-- end _includes/seo.html --> <link href="/feed.xml" type="application/atom+xml" rel="alternate" title="libGDX Feed"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script type="text/javascript"> document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js '; window.enable_copy_code_button = true; </script> <link rel="stylesheet" href="/assets/css/main.css"> <meta name="color-scheme" content="light dark"> <style> @import url("/assets/css/main2.css") (prefers-color-scheme: dark); </style> <link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@latest/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> <noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@latest/css/all.min.css"></noscript> <link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/assets/icons/favicon-16x16.png"> <link rel="manifest" href="/assets/icons/site.webmanifest"> <link rel="mask-icon" href="/assets/icons/safari-pinned-tab.svg" color="#5bbad5"> <link rel="shortcut icon" href="/assets/icons/favicon.ico"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="msapplication-config" content="/assets/icons/browserconfig.xml"> <meta name="theme-color" content="#ffffff"> </head> <body class="layout--single wide"> <nav class="skip-links"> <ul> <li><a href="#site-nav" class="screen-reader-shortcut">Skip to primary navigation</a></li> <li><a href="#main" class="screen-reader-shortcut">Skip to content</a></li> <li><a href="#footer" class="screen-reader-shortcut">Skip to footer</a></li> </ul> </nav> <div class="masthead"> <div class="masthead__inner-wrap"> <div class="masthead__menu"> <nav id="site-nav" class="greedy-nav"> <a class="site-logo" href="/"> <picture> <source srcset="/assets/brand/logo_dark.svg" media="(prefers-color-scheme: dark)"> <img src="/assets/brand/logo.svg" alt=" "> </picture> </a> <a class="site-title" href="/"> </a> <ul class="visible-links"><li class="masthead__menu-item"> <a href="/news/" >News</a> </li><li class="masthead__menu-item"> <a href="/features/" >Features</a> </li><li class="masthead__menu-item"> <a href="/showcase/" >Showcase</a> </li><li class="masthead__menu-item"> <a href="/dev/" >Documentation</a> </li><li class="masthead__menu-item"> <a href="/community/" >Community</a> </li></ul> <button class="greedy-nav__toggle hidden" type="button"> <span class="visually-hidden">Toggle menu</span> <div class="navicon"></div> </button> <ul class="hidden-links hidden"></ul> </nav> </div> </div> </div> <div class="initial-content"> <div class="page__hero--overlay" style="background-color: #000; background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/images/dev.jpeg');" > <div class="wrapper"> <h1 id="page-title" class="page__title" itemprop="headline"> Source & Documentation </h1> <p class="page__lead">libGDX is hosted on GitHub, where all team members collaborate. Fork, star and contribute to our project! </p> <p> <a href="/wiki/start/setup" class="btn btn--light-outline btn--large">Setup a Project</a> <a href="https://github.com/libgdx/libgdx" class="btn btn--light-outline btn--large">GitHub</a> <a href="/wiki/" class="btn btn--light-outline btn--large">Wiki</a> </p> </div> <span class="page__hero-caption">Photo credit: <a href="https://unsplash.com/photos/DuHKoV44prg"><strong>Fotis Fotopoulos</strong></a> </span> </div> <div id="main" role="main"> <div class="sidebar sticky"> <nav class="nav__list"> <input id="ac-toc" name="accordion-toc" type="checkbox" /> <label for="ac-toc">Toggle Menu</label> <ul class="nav__items"> <li> <span class="nav__sub-title">Documentation</span> <ul> <li><a href="/wiki/start/setup">Getting Started</a></li> <li><a href="/wiki/">Wiki</a></li> <li><a href="https://javadoc.io/doc/com.badlogicgames.gdx">Javadocs</a></li> <li><a href="/dev/versions/">Versions</a></li> </ul> </li> <li> <span class="nav__sub-title">Tools & Frameworks</span> <ul> <li><a href="https://github.com/rafaskb/awesome-libgdx#readme">Awesome-libGDX</a></li> <li><a href="/dev/tools/">Tools</a></li> </ul> </li> <li> <span class="nav__sub-title">Contributing to libGDX</span> <ul> <li><a href="/dev/contributing/">Contributing Guidelines</a></li> <li><a href="/dev/issues/">Reporting an Issue</a></li> <li><a href="/roadmap/">Roadmap</a></li> <li><a href="/dev/from-source/">Working from Source</a></li> <li><a href="/dev/natives/">Building the Natives</a></li> <li><a href="/funding/">Funding</a></li> </ul> </li> </ul> </nav> </div> <article class="page h-entry" itemscope itemtype="https://schema.org/CreativeWork"> <meta itemprop="headline" content="Source & Documentation"> <meta itemprop="description" content="libGDX is hosted on GitHub, where all team members collaborate. Fork, star and contribute to our project!"> <div class="page__inner-wrap"> <section class="page__content e-content" itemprop="text"> <h1 id="how-to-get-started-with-libgdx">How to get started with libGDX?</h1> <p class="notice">libGDX offers a <a href="/wiki/start/project-generation">setup tool</a>, which automatically creates a project and downloads everything necessary.</p> <p>To get started, please take a look at our <strong><a href="/wiki/start/setup">Setup Instructions</a></strong> page, which walks you through the process of <strong>creating your very first libGDX project</strong> using our setup tool. After that, we highly recommend our <strong><a href="/wiki/start/a-simple-game">A Simple Game</a></strong> and <a href="/wiki/start/simple-game-extended">Extending the Simple Game</a> pages. If you鈥檙e completely new to game dev and have never developed a game before, this (even more straight-forward) <a href="https://colourtann.github.io/HelloLibgdx/">tutorial</a> by tann is also worth a look as an alternative.</p> <p>From then on, our <a href="/wiki/">wiki</a> is your best companion: it provides extensive documentation on nearly every feature offered by libGDX. For any further questions, our official <a href="/community/">Discord server</a> is good starting point.</p> <p>If you want to explore some other (third-party) tutorials or inspect some demos/other open source libGDX games for reference, this <a href="/wiki/start/demos-and-tutorials">wiki article</a> is the right place to start looking.</p> <h1 id="documentation">Documentation</h1> <p>The libGDX codebase is documented in two ways:</p> <ul> <li>In our <a href="/wiki/">Wiki</a></li> <li>And via <a href="https://javadoc.io/doc/com.badlogicgames.gdx">Javadocs</a></li> </ul> <p class="notice">Please note that we recently took down the Javadocs hosted on libgdx.badlogicgames.com. The docs can <strong>now be found on <a href="https://javadoc.io/doc/com.badlogicgames.gdx">javadoc.io</a></strong>.</p> <h1 id="tools--libraries">Tools & Libraries</h1> <p>There are different tools and libraries that make the development process for libGDX easier. See our <strong><a href="/dev/tools/">Tools List</a></strong> for some of the most commonly used tools.</p> <p>A curated list of our favourite libraries can be found at <strong><a href="https://github.com/rafaskb/awesome-libgdx#readme">Awesome-libGDX</a></strong>. On our Discord server we also have an extensive collection of libGDX-centered libraries that are currently work in progress.</p> <h1 id="contributing-to-libgdx">Contributing to libGDX</h1> <p>Contributing to libGDX can come in a few different forms: you can <a href="/dev/issues/">report issues</a>, help out on our <a href="/community/">Discord</a>, pledge to the <a href="/funding/">Patreon page</a>, or <a href="/dev/contributing/">submit code and documentation back to the project</a> on GitHub. Check out the <a href="https://github.com/libgdx/libgdx/blob/master/.github/CONTRIBUTING.md">CONTRIBUTING.md</a> file on GitHub to find out more!</p> </section> <footer class="page__meta"> </footer> </div> </article> </div> </div> <div id="footer" class="page__footer"> <footer> <!-- start custom footer snippets --> <!-- end custom footer snippets --> <div class="page__footer-follow"> <ul class="social-icons"> <li><a href="https://github.com/libgdx/libgdx" rel="nofollow noopener noreferrer"><i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li> <li><a href="/community/discord/" rel="nofollow noopener noreferrer"><i class="fab fa-fw fa-discord" aria-hidden="true"></i> Discord</a></li> <li><a href="/wiki/" rel="nofollow noopener noreferrer"><i class="fas fa-fw fa-link" aria-hidden="true"></i> Wiki</a></li> <li><a href="https://www.patreon.com/libgdx" rel="nofollow noopener noreferrer"><i class="fab fa-fw fa-patreon" aria-hidden="true"></i> Patreon</a></li> <li><a href="/feed.xml"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> Feed</a></li> </ul> </div> <div class="page__footer-copyright">© 2025 libGDX • <a href="/legal/">Legal</a> • <a href="/history/">History</a> • <a href="/brand/">Branding Guidelines</a> </div> </footer> </div> <script src="/assets/js/main.min.js"></script> </body> </html>