Computer Science Canada In game shooting Problem |
Author: | Marko [ Sun Jan 17, 2010 3:22 pm ] | ||
Post subject: | In game shooting Problem | ||
What is it you are trying to achieve? I want to be able to see the x's What is the problem you are having? When I start the game I don't see the x's but when I hold down enter to shoot I see the x's Describe what you have tried to solve this problem I have changed the position of the fork's, cls's, delay's but nothing is working
Please specify what version of Turing you are using 4.1.1 |
Author: | SNIPERDUDE [ Sun Jan 17, 2010 4:06 pm ] |
Post subject: | RE:In game shooting Problem |
At first glance I should at least tell you that you should only ever use a process for playing music (and it is still frowned apon even then, but in Turing it seems to be the only choice for music), you should use procedures instead (there is a difference) |
Author: | Marko [ Sun Jan 17, 2010 6:32 pm ] |
Post subject: | RE:In game shooting Problem |
anyone? |
Author: | Turing_Gamer [ Sun Jan 17, 2010 7:53 pm ] |
Post subject: | Re: In game shooting Problem |
Why don't you combine the game procedure and the enemy procedure together. I don't know. I usually dont make processes for game code. Just for music. |
Author: | TheGuardian001 [ Sun Jan 17, 2010 7:53 pm ] |
Post subject: | Re: In game shooting Problem |
Attach the images, we can't run the game without them. What do you mean by "I want to be able to see the x's"? Oh, and you really shouldn't use processes. They really will screw your program up to the point where it often won't act like it should. |
Author: | Marko [ Sun Jan 17, 2010 8:14 pm ] |
Post subject: | Re: In game shooting Problem |
I want to see x's means my game has x's falling from the top of the run window and they are suppose to be falling all the time but they dont. Whenever I press the enter button to shoot they appear and when I let go they disappear. So right now I'am trying to fix that meaning I want the x's to be seen all the time but I dont know what I'am doing wrong. |
Author: | Turing_Gamer [ Sun Jan 17, 2010 9:19 pm ] | ||
Post subject: | Re: In game shooting Problem | ||
Ya, don't use processes and have your drawing outside if loops and at the top of the regular loop.
|