Author |
Message |
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
Posted: Sat Mar 15, 2008 12:09 am Post subject: A3 Custom Pokemon |
|
|
|
|
This is my biggest project that i made and has 1218 lines of code alltogether (not including bat, .a3 files)
Pretty much like a console version of Pokemon, but comes with Customize.exe which allows you to change pokemon names, their evolutions, font, and make settings default
It has allot of glitches and i tried to fix all of them but... Write here all the glitches you found..
Also it has a save, and load function which i made (didnt know how to make one so got creative..)
and yea thats pretty much it, took me 3 days to make, and i learned so much from it
BTW: I'm trying to learn how to make application like windows APP style, like menu and using the mouse to click buttons instead of typing if you know please post some good tutorials, and if there are good tutorials on 2d games (ofcourse in c++)
Pokemon Game
PokemonGame.rar - 216.55 KB
File downloaded or viewed 42 time(s)
|
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
|
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
Posted: Sat Mar 15, 2008 11:52 am Post subject: |
|
|
|
|
crap i thought it was in that folder :S
so do you know any good tutorials on 2games or windows APPS?
PokemonGameSRC
PokemonGameSRC.rar - 242.83 KB
File downloaded or viewed 45 time(s)
|
|
Back to top |
|
|
doc flabby (away)( Guest
Offline
|
|
Back to top |
|
|
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
Posted: Sat Mar 15, 2008 2:31 pm Post subject: |
|
|
|
|
thanks this is exactly what i needed, googled for a while and couldn't find anything good
|
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
|
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
|
Back to top |
|
|
k0zy Server Help Squatter
Gender: Joined: Jan 11 2003 Posts: 571 Location: Germany Offline
|
|
Back to top |
|
|
baseball43v3r Seasoned Helper
Joined: Jan 02 2006 Posts: 102 Offline
|
Posted: Sun Mar 16, 2008 1:38 pm Post subject: |
|
|
|
|
isnt his first method of doing so, ie returning newpokchoice an example of recursion? which in his case wouldnt work so well i would think. would just a simple loop work better?
edit: oh he hasnt gotten to that yet.
|
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Sun Mar 16, 2008 1:45 pm Post subject: |
|
|
|
|
yeah kozy is right with the loop thing. (and your current method is recursion, but you don't need to know that yet )
As for
Quote: | In pok.open("bin\\pokemon.a3") it doesn't read from pokemon.a3, it creates pokemon.a3, so if i would do the (!pok){} then it would show up with errors since the file wasn't created yet |
It knows it's not trying to read from pokemon.a3 since pok is of type ofstream (output file stream). You still need to check if it opened the file correctly for writing. Reasons it might fail include being out of disk space or not having permission to write in that location. More commonly though, if the file already exists and is open in another program you won't be able to overwrite it.
|
|
Back to top |
|
|
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
|
Back to top |
|
|
hellzlaker Registered Cap Buster Popping men in the ass since Oct 2005
Gender: NEVER ENOUGH! Joined: Oct 27 2005 Posts: 34 Offline
|
Posted: Mon Mar 24, 2008 12:04 pm Post subject: |
|
|
|
|
crap i realized its impossible to win in this game, your opponent will never die and his health goes to like -250000 something like that I'll try fix that
|
|
Back to top |
|
|
|