Computer Science Canada DDR -- help |
Author: | ladum [ Fri May 29, 2009 10:05 pm ] | ||
Post subject: | DDR -- help | ||
What is it you are trying to achieve? a ddr game What is the problem you are having? having the arrows randomly come up, with multiple arrows on the screen at one... instead of just one at a time Describe what you have tried to solve this problem make an array, start the arrows at different points... an Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) this just has the arrow coming up the screen one at a time
Please specify what version of Turing you are using 4.1 i think |
Author: | Dusk Eagle [ Fri May 29, 2009 10:27 pm ] |
Post subject: | Re: DDR -- help |
Do you understand Object-Oriented Programming? If you do, make an arrow class, and every time a new arrow is to appear, make a new instance of this class and add that instance to an array of arrows to be moved-up and drawn. If you don't understand OOP, then the above won't work. In may be harder to do, but I'm sure there are ways to do it. I'll have to leave that for someone else here to solve. |
Author: | ladum [ Sat May 30, 2009 12:48 pm ] |
Post subject: | Re: DDR -- help |
thanks for the idea... too bad i didn't know what object orienting programing was... oh well.. thanks anyways |
Author: | Dusk Eagle [ Sat May 30, 2009 3:24 pm ] |
Post subject: | Re: DDR -- help |
Well, if you're willing to work hard, you could follow my link above and learn about it (or you could Google it). |
: |