Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Only Sees the last row?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
TuringWonderGuy




PostPosted: 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

Turing:






Please specify what version of Turing you are using
Turing:4.0.3



brickblue.bmp
 Description:
 Filesize:  3.57 KB
 Viewed:  922 Time(s)

brickblue.bmp



brickgreen.bmp
 Description:
 Filesize:  3.57 KB
 Viewed:  922 Time(s)

brickgreen.bmp



brickorange.bmp
 Description:
 Filesize:  3.57 KB
 Viewed:  922 Time(s)

brickorange.bmp



brickred.bmp
 Description:
 Filesize:  3.57 KB
 Viewed:  922 Time(s)

brickred.bmp



Copy of beginning.t
 Description:

Download
 Filename:  Copy of beginning.t
 Filesize:  7.21 KB
 Downloaded:  62 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
TuringWonderGuy




PostPosted: 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.


brickblack.bmp
 Description:
 Filesize:  3.57 KB
 Viewed:  919 Time(s)

brickblack.bmp


Insectoid




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: