# Cannot figure how to plan a Matryoshka themed game

Me and my partner are planning to write a Matryoshka themed game (http://en.wikipedia.org/wiki/Matryoshka_doll).

It will be a side-scroller/platformer and the main idea is that the character will be able to change her size (with at least 4 or 5 sizes) to fit into small areas.

Until now I made a few side scrollers using the tile technique, using a matrix of Tile objects. But since the new game need to be able to block the passage of the character in cretin situations, what approach should I take?

I had a few ideas in mind, like making the the smallest possible doll the size of a single tile, but I'm afraid that it will limit the size of the sprites.

What would you do?

-
I can't see your theoretical limitation being an actual issue. This is what a proof-of-concept is for :). Also, remember that a tile that's 2 times larger than the smaller tile can be represented using 4 (2x2) tiles. – Jonathan Dickinson May 27 '12 at 20:24
What I'm afraid will happen that adding a full tile height to the character each growth will be too much, while I don't know how to handle half tiles collision-wise – Gilad Naaman May 27 '12 at 20:26
Ah, look into bounding boxes. The following link is making its way through this site for good reason, I would pay attention to #2. higherorderfun.com/blog/2012/05/20/… – Jonathan Dickinson May 27 '12 at 20:30
Thank you very much :). – Gilad Naaman May 27 '12 at 20:34
Unrelated to your question, but about your game: What motivation would the player have to change sizes? Is there an advantage to being larger or would it be easiest to always be as small as possible to always fit through every part of the level? What is the cost of changing sizes or can you change size at will whenever? What about your mechanic makes it fun and require skill? Also, take a look at the game Stacking by Double Fine. Just some food for thought :) – Amplify91 May 27 '12 at 20:40