On Youtube, search "Petit Professor 3D". He has a tutorial for an RPG style battle.