New to FlashPunk, and I’m trying to get my head around the best way to position Entities in cases where I’d normally be nesting Sprites within containers.
In this case, I’m working on a Tetris game, and I’d like the game to be offset from the left and top edges some number of pixels. The game is already working, and so I naturally don’t want to update every positioning line of code for every entity and add offsetX and offsetY values.
What I want to do is just put the game as a whole inside a container and then position the container. I can’t seem to find anything in the documentation about grouping entities, or entity containers, or setting x,y values for a World, though.
Any thoughts? Thanks!