LibGDX

LibGDX Tutorial 13: Physics with Box2D Part 2: Force, Impulses and Torque

Previous Part Table Of Contents Next Part   In the previous tutorial part we look at creating about the simplest physics simulation possible in LibGDX and Box2D, a single object affected by gravity.  In this tutorial we are going to take things one step further and apply force, impulses and torque ( and no gravity […]

LibGDX Tutorial 13: Physics with Box2D Part 2: Force, Impulses and Torque Read More

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 8: Audio Read More

LibGDX LibGDX Tutorial 13: Physics with Box2D Part 4: Controlling collisions using filters

Previous Part Table Of Contents Next Part   Remember in our earlier example where we used a ContactListener to check for a collision between two types of FixtureDef and how ungainly the check was?  Remember when I said there was a much better way of doing this?  Well, welcome the the better way, Filters.   […]

LibGDX LibGDX Tutorial 13: Physics with Box2D Part 4: Controlling collisions using filters Read More

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 9: Scene2D Part 2– Actions Read More

Scroll to Top