Java

LibGDX Tutorial 6: Motion controls

Previous Part Table Of Contents Next Part   In the previous tutorial we looked at handling touch and gesture events.  These days, most mobile devices have very accurate motion detection capabilities, which LibGDX fully supports.  In this example we will look at how to handle motion as well as detect if a device supports certain […]

LibGDX Tutorial 8: Audio

Previous Part Table Of Contents Next Part   This section is going to be rather small because, well frankly, LibGDX makes audio incredibly easy.  Unlike previous tutorials, this one is going to contain a number of snippets.  LibGDX supports 3 audio formats: ogg, mp3 and wav.  MP3 is a format that is mired in legal […]

LibGDX Tutorial 9: Scene2D Part 1

Previous Part Table Of Contents Next Part   In this section we are going to take a look at the Scene2D library.  The first thing you need to be aware of is scene2d is entirely optional!  If you don’t want to use it, don’t.  All the other parts, except the bits built over Scene2D, will […]

LibGDX Tutorial 9: Scene2D Part 2– Actions

Previous Part Table Of Contents Next Part   In the second part of the LibGDX Scene2D tutorial we will now look at Actions.  Actions are a convenient ( and completely optional! ) way to get your game’s Actors to “do stuff”.   Let’s jump straight in to an example: package com.gamefromscratch; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; […]

LibGDX Tutorial 3B: Simple Animation

Previous Part Table Of Contents Next Part   Back in Tutorial 3 I created a simple animation using a Timer and setting the frame manually from a TextureAtlas.  This is not the ideal way to perform animation using LibGDX and was done to illustrate how to use a TextureAtlas, not how to perform animation.  Instead […]

LibGDX Tutorial 3C: Scene management

Previous Part Table Of Contents Next Part   So far we’ve look at what Scene2D provides in terms of Actors, Actions as well as handling input, now we will look at some of the scene management functionality it provides.  One of the very powerful capabilities of Scene2D is grouping.  Let’s jump right in with an […]

3D models and animation from Blender to LibGDX

  Let me start off by saying that exporting from Blender is always a pain in the ass.  This experience didn’t prove to be an exception.  I will describe the process in some detail.   First and foremost, Blender 2.69 DIDNT work.  At least not for me, not matter what I did, Blender 2.69 would […]

LibGDX Video Tutorial Series

LibGDX Tutorial Series Welcome to the GameFromScratch.com LibGDX tutorial series. Select a link below to expand and view the video. Each video is available in 1080p resolution on YouTube. Where applicable, there will also be a post to a page with full source examples for each tutorial. If you prefer text based tutorials to video, […]

Scroll to Top