Breakout Clone Problems

Blitz3D Forums/Blitz3D Beginners Area/Breakout Clone Problems

Sorry didn't look too closely first time round...

All your sprites are at the same position...

tempx=0
tempy=300
For i=0 To lvl1
block.block=New Block
block\x=tempx
block\y=tempy

Since they have a Y value of 300 they'll be way out of view from your camera position (off the top of your screen). Set y to 0 and you should see them. Of course they're still all in the same place since you don't change 'tempx' or 'tempy' in the loop.