I have an array that is filled with tiles. Now I have some tiles dropping from above that get added to the array when they hit the bottom of the screen. If I wanted it so that the tiles dropping would collide with the tiles already in the array how would I go about setting something like that up?
Like tetris, The tiles drop and get added to the array. Then the falling tiles collide with the tiles already in the array and they then immediately get added to the array at the current x,y locations.
Any help appreciated. :) I want some hints or tips before I post any code.
Thanks :)
Like tetris, The tiles drop and get added to the array. Then the falling tiles collide with the tiles already in the array and they then immediately get added to the array at the current x,y locations.
Any help appreciated. :) I want some hints or tips before I post any code.
Thanks :)