Computer Science Canada Escape game |
Author: | chrisbrown [ Fri Mar 10, 2006 1:47 pm ] | ||
Post subject: | Escape game | ||
This is a remake of the Dodge game where you move the red box around trying to avoid the blue boxes.
|
Author: | TokenHerbz [ Fri Mar 10, 2006 4:16 pm ] |
Post subject: | |
Thats cool, But may i make a few suggestions? I noticed a few times when i start i auto lose, cause the blue box spawns on me. Also, One round i played all the boxes seemed to not move well, one was still, other 3 where in one direction only, thus allowed me to get a high time, which actually didn't add to my high score, but have me a -time. Other than that, i like it, i like how the blocked move faster over time. |
Author: | [Gandalf] [ Fri Mar 10, 2006 8:18 pm ] | ||||||||||
Post subject: | |||||||||||
Nice game, and quite good code compared to what I have come to expect. Some suggestions on improving your code: 1 - Your types could become vars. For example:
Could become:
2 - Your FRAMERATE variable does not seem to reflect the game's frame rate (frames per second), you should rename it to something more proper. 3 - No need for a "mouse" procedure when you only have one line inside it which reflects what is being done quite well. 4 - Statements like:
Could become:
5 - Use Time.DelaySinceLast() instead of delay(). This ensures that your game runs more or less the same fast on all computers. 6 - Your code: timeElapsed += DelayTime is faulty, since it does not take into account how long it took the computer to process all the code in between. This is related to point 5. What you should have instead is something to the effect of:
7 - Why does DelayTime not follow your other naming convention? It should be delayTime. I think I will leave it at that. Good job on the code and resulting game, now keep trying to improve. |
Author: | MysticVegeta [ Sun Mar 12, 2006 4:11 pm ] |
Post subject: | |
Good game! Here is how to easily beat it and cheat in it 1> Press the button once to start the game and let it go 2> If blue boxes come near, click on the area of th emap where they arent, you are automatically transported there Also, check out Math.Distance for colliision, it wil save you 1 whole fcn and those messy ifs inside it |
Author: | cool dude [ Sun Mar 12, 2006 5:17 pm ] |
Post subject: | |
MysticVegeta wrote: Good game! Here is how to easily beat it and cheat in it
1> Press the button once to start the game and let it go 2> If blue boxes come near, click on the area of th emap where they arent, you are automatically transported there Also, check out Math.Distance for colliision, it wil save you 1 whole fcn and those messy ifs inside it thats not really cheating because u will lose very quickly. i tried a couple times doing that and i think its easier to just drag it but thats my opinion. anyways its a good game could be more efficient but good start |
Author: | MysticVegeta [ Sun Mar 12, 2006 9:39 pm ] |
Post subject: | |
I dont think without doing that you can get 100+ can you? |
Author: | person [ Mon Mar 13, 2006 11:03 am ] |
Post subject: | |
MysticVegeta wrote: I dont think without doing that you can get 100+ can you?
Don't the boxes accelerate, and like after 30 seconds or so, it gets to an insane speed? |
Author: | cool dude [ Mon Mar 13, 2006 11:40 am ] |
Post subject: | |
person wrote: MysticVegeta wrote: I dont think without doing that you can get 100+ can you?
Don't the boxes accelerate, and like after 30 seconds or so, it gets to an insane speed? thats exactly my point. no matter how much i tried that cheat i can't get 100+ because it accelerates. plus i was better at the game when i could actually drag the boxes. |
Author: | MysticVegeta [ Mon Mar 13, 2006 2:40 pm ] |
Post subject: | |
What I meant was I could easily get 100+ without dragging and clicking. You just have to locate empty spaces and when the boxes come near you, just click there, how hard is that? |
Author: | person [ Mon Mar 13, 2006 2:46 pm ] |
Post subject: | |
MysticVegeta wrote: What I meant was I could easily get 100+ without dragging and clicking. You just have to locate empty spaces and when the boxes come near you, just click there, how hard is that?
No offense, but have you tried getting to 100? PS: Read your post again. |
Author: | MysticVegeta [ Mon Mar 13, 2006 6:42 pm ] |
Post subject: | |
Why else would I say that? |
Author: | cool dude [ Mon Mar 13, 2006 11:16 pm ] |
Post subject: | |
in my opinion its harder but thats just my opinion. if it matters so much its an easy fix. oh and u could have changed the code to say that. lol. if u didn't thats really good because i couldn't get up so high. i'm bad at these kinda games |
Author: | MysticVegeta [ Tue Mar 14, 2006 6:38 pm ] |
Post subject: | |
Why would I change the code? I am not that big a loser |
Author: | cool dude [ Wed Mar 15, 2006 11:24 am ] |
Post subject: | |
i was just joking! but ya thats really good! |