Computer Science Canada mortal combat game... |
Author: | Homer_simpson [ Sun May 04, 2003 10:57 pm ] |
Post subject: | mortal combat game... |
k here's the code Use p and k to punch and kick I'm going to make a 2d combat game for now i'm working on the body of the program later on i will make addons and texture it using jpegs. Any suggestions or cooperations are welcome.... =) |
Author: | Homer_simpson [ Sun May 04, 2003 10:59 pm ] |
Post subject: | |
*thinks* Do u think it's worth the time ??!! it took me almosy an hour and a half to mae the code above... =/ |
Author: | Asok [ Mon May 05, 2003 11:49 am ] |
Post subject: | |
Nice, I look forward to seeing the game! but where are the FIREBALLS! |
Author: | Tony [ Mon May 05, 2003 11:53 am ] |
Post subject: | |
grr... plz submit code as attached text file (better yet, *.t) |
Author: | JSBN [ Mon May 05, 2003 11:57 am ] |
Post subject: | |
Yaowza! it is looking good, cant wait to try it on my comp at home instead of this laggy pice of crap at school... Can't wait to see the final product |
Author: | Homer_simpson [ Mon May 05, 2003 3:46 pm ] |
Post subject: | |
Sorry tony =( forgot about the bandwith problem |
Author: | Ravage [ Mon May 05, 2003 7:19 pm ] |
Post subject: | |
Wheres the code? |
Author: | Homer_simpson [ Mon May 05, 2003 7:53 pm ] |
Post subject: | |
download the ttachment tony doesn't want people to put the code in their posts cuz of bandwidth problems =/, so u'll just havto download the post... |
Author: | Office of the Registar [ Mon May 05, 2003 9:15 pm ] |
Post subject: | |
wow. that's all i have to say. |
Author: | Tony [ Mon May 05, 2003 10:09 pm ] |
Post subject: | |
now that I actually got to view the program, I got one little sujestion - get rid of input buffer. Or rether when reading from it, read the very last input. Because otherwise I can keep hitting punch key really fast for a whille while, then go get a drink while the guy keeps on punching for the next minute or so. Basically while reading input, just skip through all of it till its clear, then execute the last valid command send. |
Author: | Homer_simpson [ Mon May 05, 2003 10:19 pm ] |
Post subject: | |
Fixed the bug tony it just needed a few more lines... =) download the new attachment |
Author: | Tony [ Mon May 05, 2003 10:44 pm ] |
Post subject: | |
well now it just gous to the next move before even finishing it. I'm gonna fake a punch and while you press defent against a punch, I quickly kick you in your nuts instead well since kicking is much slower, I'll probably end up faking a kick and punching you instead, but you get the idea. Controls are still buggy. |
Author: | Lone]2 [ Wed May 07, 2003 4:27 pm ] |
Post subject: | |
the guy has no neck!!! other than that its ok.... but......... when u press p like continously and stop.... the guy will keep on punching until the amount of punches r equal to the amount of p maybe u shud make it so that when the animation is punching.. the user inputs does nothing |
Author: | Homer_simpson [ Wed May 07, 2003 6:01 pm ] |
Post subject: | |
have you tried the second attachment..... |
Author: | Lone]2 [ Wed May 07, 2003 6:32 pm ] |
Post subject: | |
oops...... didn't see the 2nd one heheh........ ooooouuuuuu looks great.... keep up good work man! |
Author: | Blade [ Wed May 07, 2003 7:39 pm ] | ||||||
Post subject: | |||||||
well.... i say it looks great, but in the first attachment i changed something.... made it run faster... like tony said about goin to the washroom... or even goin out to go get six pack, drink it and he still be punchin or kickin.... this is your main program
i know you changed it the second time to look like a fake, but you still had to hold the button to be able to do it.... so why not use Input.Keydown instead?
but dont forget to add
|
Author: | Homer_simpson [ Wed May 07, 2003 9:29 pm ] |
Post subject: | |
Keydown always confuses me for some reason but i was gonna change it to keydown when i'm done with it... =) |
Author: | Blade [ Wed May 07, 2003 9:45 pm ] |
Post subject: | |
hehe... its a good idea... you should do some practise with it because it is 100X more effiecient than getch()... try the code i gave you, and you'll see oh, and dont forget that when you are using if's with the Input.KeyDown you cant use double quote (") you have to use single quote (') .... i got an error before because i thought they did the same thing.... wierd eh? |
Author: | Homer_simpson [ Wed May 07, 2003 10:15 pm ] |
Post subject: | |
thx for the tips boobyman... =Þ |
Author: | Ancalagon The Black [ Mon May 12, 2003 9:28 pm ] |
Post subject: | |
Aghh! Why is it whenever I try to view a submission, an error occurs on every line with View.Update in it?! Does this happen to anyone else cause it's really starting to piss me off! |
Author: | Dan [ Mon May 12, 2003 9:30 pm ] |
Post subject: | |
Ancalagon The Black wrote: Aghh! Why is it whenever I try to view a submission, an error occurs on every line with View.Update in it?! Does this happen to anyone else cause it's really starting to piss me off!
do you have turing 3.x? becuse i blive that view.update is only for 4.x and up. |
Author: | Ancalagon The Black [ Mon May 12, 2003 9:31 pm ] |
Post subject: | |
I gots me the latest patch from de turing website! |
Author: | Tony [ Mon May 12, 2003 9:38 pm ] |
Post subject: | |
i dont think there's a patch from v3 to v4... go to help -> about and see what version you have |
Author: | Ancalagon The Black [ Mon May 12, 2003 10:05 pm ] |
Post subject: | |
It sez 4.04c, the patch I got. So I dunno what's up with it but it should be the latest. I originally got it so I could create stand-alone programs but I also figured the latest update is better than the version I originally had, which was 3 point something or the other. |
Author: | Homer_simpson [ Mon May 12, 2003 10:08 pm ] |
Post subject: | |
IF yer from thompson school u can download turing from here...http://www.compsci.ca/bbs/viewtopic.php?t=776 Mod: No need to doble post -Dan |
Author: | Corpy [ Mon May 26, 2003 9:17 pm ] |
Post subject: | |
ya really good. That game is gunna be sick Tony? whats with the urge to kick the balls. no affence. |