Grade 10 FP / ISU : Guilty Gear XX Accent Core
Author |
Message |
jinjin
|
|
|
|
|
Sponsor Sponsor
|
|
|
apomb
|
Posted: Fri Jun 20, 2008 9:49 am Post subject: RE:Grade 10 FP / ISU : Guilty Gear XX Accent Core |
|
|
The program failed to draw any graphics before finishing the first time, then the second time got to drawing the characters then ended, and at that point i realized that the code barely allows for user input, the values for the pictures could utilize arrays, and when doing animation, loops are your friend.
it looks like you have the basic concepts of turing, but some work needs to be done in order for you to improve both this program and future programs.
|
|
|
|
|
|
jeffgreco13
|
Posted: Fri Jun 20, 2008 9:55 am Post subject: Re: RE:Grade 10 FP / ISU : Guilty Gear XX Accent Core |
|
|
apomb @ Fri Jun 20, 2008 9:49 am wrote: ... loops are your friend.
loops are apomb's only friends...
but im getting the same problem so take waht he said into account
|
|
|
|
|
|
jinjin
|
Posted: Fri Jun 20, 2008 10:05 am Post subject: Re: RE:Grade 10 FP / ISU : Guilty Gear XX Accent Core |
|
|
apomb wrote:
The program failed to draw any graphics before finishing the first time, then the second time got to drawing the characters then ended, and at that point i realized that the code barely allows for user input, the values for the pictures could utilize arrays, and when doing animation, loops are your friend.
it looks like you have the basic concepts of turing, but some work needs to be done in order for you to improve both this program and future programs.
Thanks for the input apomb. This was my first attempt at a game in Turing so there are likely several errors and glitches which I have left in the code.
As for the drawing characters problem, at which point did the game stop the second time? Are you referring to the part where it says "Round 1, Fight!" and the characters are looking at each other? Plus, I did realize that arrays could be used, however I am very inexperienced with them so I decided against it. Also, I'm not quite sure what you mean by the loops comment. I thought I did use loops for the animation?
Again, thanks for the constructive criticism.
|
|
|
|
|
|
apomb
|
Posted: Fri Jun 20, 2008 10:29 am Post subject: RE:Grade 10 FP / ISU : Guilty Gear XX Accent Core |
|
|
no problem, well, it seems like there are lots of repeated Pic.draw statements that could be integrated into loops instead of just one after another, if you see the same chunk of code more than twice in a row, you know you can be utilizing a loop structure.
as for where it stopped, this is the line it stopped at: code: | line274: Pic.Draw (scale, 0, 0, picUnderMerge) |
|
|
|
|
|
|
SNIPERDUDE
|
Posted: Sat Jun 21, 2008 8:07 am Post subject: RE:Grade 10 FP / ISU : Guilty Gear XX Accent Core |
|
|
Everything worked fine for me, I just got some noobish problems (small coding mistakes).
For ex: instead of telling people to make their resolution whatever it said and setting the screen to max, just set the screen size to whatever the resolution you wanted it to be, not max.
Another thing I noticed was when you kill your opponant, you put their health in the negatives.
And finally, why do they get to use more moves (second round / last round)? lmao
but yea, learn some better programming practices such as loops, arrays, etc.
|
|
|
|
|
|
jinjin
|
Posted: Sat Jun 21, 2008 11:26 am Post subject: Re: RE:Grade 10 FP / ISU : Guilty Gear XX Accent Core |
|
|
apomb @ Fri Jun 20, 2008 10:29 am wrote: no problem, well, it seems like there are lots of repeated Pic.draw statements that could be integrated into loops instead of just one after another, if you see the same chunk of code more than twice in a row, you know you can be utilizing a loop structure.
as for where it stopped, this is the line it stopped at: code: | line274: Pic.Draw (scale, 0, 0, picUnderMerge) |
Ok, now I see what you mean by using the loops to my advantage. This is definitely a good suggestion that will make my program more efficient. However, I still cannot figure out why the program stops at line 274. I've tested it on my computer and on a few of my school computers and it works fine so I really have no clue.
SNIPERDUDE wrote:
Everything worked fine for me, I just got some noobish problems (small coding mistakes).
For ex: instead of telling people to make their resolution whatever it said and setting the screen to max, just set the screen size to whatever the resolution you wanted it to be, not max.
Thanks SNIPERDUDE, that's a good idea. I actually didn't know that you could set resolution manually.
SNIPERDUDE wrote:
Another thing I noticed was when you kill your opponant, you put their health in the negatives.
Ok, that shouldn't be too much of a probem to fix. I can reassign the health if it goes into negatives.
SNIPERDUDE wrote:
And finally, why do they get to use more moves (second round / last round)? lmao
but yea, learn some better programming practices such as loops, arrays, etc.
Oh, the AI is purposefully very cheap in its moveset.
Thanks for the comments. I will try to improve my programming methods.
|
|
|
|
|
|
SNIPERDUDE
|
Posted: Sun Jun 22, 2008 7:26 am Post subject: RE:Grade 10 FP / ISU : Guilty Gear XX Accent Core |
|
|
no problem, just keep on working on your coding techniques.
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
|
|