Original Post
Hi all GameDev pros, I desperatly need need your help. I am programming a match 3 puzzle game in c++ and DirectX, and I have hit a stumbling block, one of those problems you know you can do, but it just isn't working. I have 5 different colored sprites that need to be randomly loaded and drawn in columns and rows. I tried loading them randomly, the problem there is that I can't then keep track of their seperate colors and properties. I can't randomize them in the render function, because obviously it redraws them at a new random location each frame. I am probably not explaining this well, but try and help me please.