![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2008
Location: flagstaff az
Posts: 16
Rep Power: 0
![]() |
Memory game newGame() method help
I have a memory game (attached) that I have been working on for a while in my spare time and It is working except for a few issues. The main problem I am having Is that the new game method isn't working properly. I think my problem might lie in the fact that I declare the button array within the new game method and the second time I do this its throwing my indexes off? Not really sure what the problem is. Is their some way I can dispose all the memory used so it basically just reloads the app? One other issue I had was that I couldn't find a way to disable the buttons and keep their image in color; any quick fixes? If someone has some time to take a look at this and make some suggestions that would be a huge help.
|
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
Re: Memory game newGame() method help
I am getting two of your file read error 1 when trying to run the Memory.EXE
![]() Also an exception error occurs when I click on the blocks. ( It's just trying to read the image files from your directory, which I don't have.) Looks like a cool game. Will take a look at your code shortly.
__________________
>BstrucT |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Apr 2008
Location: flagstaff az
Posts: 16
Rep Power: 0
![]() |
Re: Memory game newGame() method help
Thanks for taking some time to look at it. The file read exceptions will happen until you create some text files to hold the high scores and plug in the proper file names in the code (even then I think you need some actual records in the files or it will still give you the error). I included all the images (and some text files for high scores) and all that if you go through the code and change the file and directory names to match your computer.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Coder's Block Arena - The Game AI Platform | Sane | Existing Project Development | 23 | May 6th, 2008 9:12 PM |
| Visualizing How Game Development Would Take Place | Josef_Stalin | Coder's Corner Lounge | 4 | Mar 14th, 2008 10:52 AM |
| Heap vs. Stack memory | Eric the Red | C++ | 11 | Oct 24th, 2006 6:18 PM |
| Java programmers, game developers, artists, be ware! RPG game team is recruiting! | atcomputers.us | Paid Job Offers | 7 | Sep 25th, 2005 7:25 PM |
| Programmers Needed! Online Game | troy_eisert | C++ | 2 | Jan 29th, 2005 12:51 PM |