Only Sees the last row?
Author |
Message |
TuringWonderGuy
|
Posted: Wed Dec 23, 2009 12:47 am Post subject: Only Sees the last row? |
|
|
What is it you are trying to achieve?
I am trying to achieve a break out game. It is not working right, and I can not figure out why, maybe someone can help me.
What is the problem you are having?
The ball only sees the last row of the bricks. If I remove the last row, then it sees the next last row etc.
Describe what you have tried to solve this problem
I have tried loops and for counts. I have tried procedures as well..I am not sure what is wrong.
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
I will attach a folder, as you need to see the bricks as well
Please specify what version of Turing you are using
Turing:4.0.3
Description: |
|
Filesize: |
3.57 KB |
Viewed: |
922 Time(s) |
![brickblue.bmp brickblue.bmp](uploads/attachments/brickblue_201.bmp)
|
Description: |
|
Filesize: |
3.57 KB |
Viewed: |
922 Time(s) |
![brickgreen.bmp brickgreen.bmp](uploads/attachments/brickgreen_488.bmp)
|
Description: |
|
Filesize: |
3.57 KB |
Viewed: |
922 Time(s) |
![brickorange.bmp brickorange.bmp](uploads/attachments/brickorange_165.bmp)
|
Description: |
|
Filesize: |
3.57 KB |
Viewed: |
922 Time(s) |
![brickred.bmp brickred.bmp](uploads/attachments/brickred_135.bmp)
|
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
Copy of beginning.t |
Filesize: |
7.21 KB |
Downloaded: |
62 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
TuringWonderGuy
|
Posted: Wed Dec 23, 2009 12:51 am Post subject: Re: Only Sees the last row? |
|
|
You will also need this black brick. If anyone can help, let me know. Thank you.
Description: |
|
Filesize: |
3.57 KB |
Viewed: |
919 Time(s) |
![brickblack.bmp brickblack.bmp](uploads/attachments/brickblack_152.bmp)
|
|
|
|
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: Wed Dec 23, 2009 1:43 pm Post subject: RE:Only Sees the last row? |
|
|
Instead of using lots of pictures, use an array of coordinates and Draw.FillBox(). It won't solve your problem, but it will be a hell of a lot faster.
|
|
|
|
|
![](images/spacer.gif) |
|
|