I need to know how to make a playing area for a game I am creating. It would use a system of tiles on a grid, with each tile reacting differently when the sprite comes in contact with it, ie. background tiles that the sprite can walk over, wall tiles which cannot be traversed, and doors that change the playing area.
I believe I could do this with a grid, but the only problem is the movement of the sprite would be choppy. This is because the sprite must always be in the center tile, and the other tiles move relative to the sprites position. How could I get the images in the grid to "scroll" over, making the animation smooth?
Any help would be greatly appreciated.
Pat
I believe I could do this with a grid, but the only problem is the movement of the sprite would be choppy. This is because the sprite must always be in the center tile, and the other tiles move relative to the sprites position. How could I get the images in the grid to "scroll" over, making the animation smooth?
Any help would be greatly appreciated.
Pat