LibGDX

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