Computer Science Canada Help with Randomize pics and difficulty settings |
Author: | Shippuo23 [ Wed Apr 15, 2009 9:15 am ] | ||
Post subject: | Help with Randomize pics and difficulty settings | ||
What is it you are trying to achieve? I need to make a game where I have Pictures going down the screen and they must be pressed by a key before they hit the bottom of the screen What is the problem you are having? I need to randomize my pictures when they come down the screen and need help with the difficulty settings please help Describe what you have tried to solve this problem <Answer Here> Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) <Answer Here>
Please specify what version of Turing you are using <I am using Turing 4.1> |
Author: | Dusk Eagle [ Wed Apr 15, 2009 3:32 pm ] | ||
Post subject: | Re: Help with Randomize pics and difficulty settings | ||
Do you notice anything similar about these three procedures? The point of using procedures and functions is to prevent the need to copy and paste code. I believe it is critical that you read up on functions and procedures here. As for the difficulty settings, what is it you want them to do exactly? If for example, you want harder difficulty levels to have your pictures scroll down the screen faster, think of a way to pass a certain speed into your one picture procedure, and have the picture fall accordingly. Be sure to use parameters, which you will learn about above. Good luck! |