Well not really, it works just fine actually. it's just not.. refined i suppose. i snapped a few pics from the game and code to:
https://www.dropbox.com/sh/cginlq04h1tu ... wPlca?dl=0
Setting the inside house theme to a separate layout would be a bit problematic as i would want the game to be a rts type of game, so everything should be still in motion in the world layout even if the player enters a house, enemies can barge in the same house etc..
The problem can be seen here. I dont know how can i improve the code from here.
https://dl.dropboxusercontent.com/u/735 ... .52.28.png the player changes on top of the layers or below them where as i would need it to react differently on each wall side. I was thingking maybe if i make the house walls separate groups, like x.left_wall, x.right_wall, y.left_wall, y.right_wall ...maybe that way i could have more control how the walls react to the player ?