Hello everyone!
I'm developing a new puzzle game with Moai and I have some questions about to (and how) use MOAIGrid or MOAIPartition.
My puzzle game consists in a grid of 6x16 (Width x Height) colored square blocks. When the game starts there is no blocks in the screen, all the grid of blocks go up slowly from bottom to top pixel by pixel. The user will move blocks inside the grid (exchanging the position of one block to another) to match colors and make the blocks to disappear. Is interesting to note that the numbers of blocks that appear from the bottom of the screen will be infinite until the user cannot make the blocks disappear and the blocks touch the top of the screen so the game is over.
I would like to know some opinions from more experienced Moai users than me about the possibility of use MOAIGrid or MOAIPartition (with MOAIProp). As far as I know it is possible to create a rect MOAIGrid of 6x16, it is possible to move the grid slowly (pixel by pixel) from bottom to top but I am not sure if will be easy to integrate the MOAIGrid with blocks that are moved by the user (inside the Grid). Another problem is the infinite nature of the blocks that appear from the bottom of the screen, I don't know how to solve this with MOAIGrid.
On the other hand we have MOAIPartition using a MOAIProp for every block (MOAIPartition to detect picking). I have read that this is by far less efficient that a MOAIGrid but I feel this solution more natural and easy to implement. But I don't know how will work Moai with 96 MOAIProp in the screen.
Has anybody some idea/opinions about how to solve this problem? There are some other better alternatives? Should I use MOAIGrid of MOAIPartition with normal sprites?
Thanks!.


