From z2004a1 at columbus.rr.com Fri Jun 2 03:56:22 2006 From: z2004a1 at columbus.rr.com (Tim) Date: Thu, 01 Jun 2006 22:56:22 -0400 Subject: [AGDev-newbies] battle of the mages game errors In-Reply-To: <012a01c684fd$69e27940$c9ad1c42@gadolum18z9hrn> References: <012a01c684fd$69e27940$c9ad1c42@gadolum18z9hrn> Message-ID: <7.0.1.0.2.20060601225144.022b2d80@columbus.rr.com> The best thing I can say about finding your errors is, start at the top. i did a simple listing program and it had about that many. When I fixed the first error it went down to 6. Most will be either syntax, spell of variables, or something missing. Its the simple ones that give the most headache on finding. At 05:58 PM 5/31/2006, you wrote: >Hey listers, I just wanted to let ya'll know that I finally compiled >my game and have 135 errors now, or at least I think that is what my >compiler is telling me, lol. I am currently going through the list >and trying to figure out the errors. I just wanted to let everyone >know an update to my progress and thank everyone for their help and >support. Hopefully I can get it down to 0 errors soon, but who >knows. I am getting frustrated with it because I can't seem to find >some of the errors and it would be too much to put out here and ask >for help. But anyways just wanted to update everyone. >BEAN >Richard Bennett *BEAN* >Georgia State Phi Beta Lambda(PBL) Secretary >personal e-mail: >rbennett at southlink.us >Windows Messenger(or MSN messenger): >ichabodsparrow at hotmail.com >_______________________________________________ >AGDev-newbies mailing list >AGDev-newbies at lists.agdev.org >http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies From tward1978 at earthlink.net Fri Jun 2 10:36:40 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Fri, 02 Jun 2006 05:36:40 -0400 Subject: [AGDev-newbies] battle of the mages game errors In-Reply-To: <7.0.1.0.2.20060601225144.022b2d80@columbus.rr.com> References: <012a01c684fd$69e27940$c9ad1c42@gadolum18z9hrn> <7.0.1.0.2.20060601225144.022b2d80@columbus.rr.com> Message-ID: <448006A8.8090107@earthlink.net> Hi. Tim is right. Usually, if you get a stact trace or a build error of 135 errors the actual number is much smaller. I have seen bad spelling, calling an invalid function, acount for most of the errors. The key is to find out where it lists the first error, and check all 135 lines it sights to locate the problem. In Visual Studio the debugger will help take you directly to the errors which is nice. Tim wrote > The best thing I can say about finding your errors is, start at the > top. i did a simple listing program and it had about that many. When I > fixed the first error it went down to 6. Most will be either syntax, > spell of variables, or something missing. Its the simple ones that > give the most headache on finding. From rbennett at southlink.us Fri Jun 2 22:50:59 2006 From: rbennett at southlink.us (Richard Bennett) Date: Fri, 2 Jun 2006 17:50:59 -0400 Subject: [AGDev-newbies] battle of the mages game errors References: <012a01c684fd$69e27940$c9ad1c42@gadolum18z9hrn> <7.0.1.0.2.20060601225144.022b2d80@columbus.rr.com> Message-ID: <001801c6868e$bc815b70$c9ad1c42@gadolum18z9hrn> I have noticed this, and thanks for your input. I am currently taking a break from it, because going over each line over and over again, is making my brain feel like peanut butter, lol. BEAN From rbennett at southlink.us Sat Jun 3 03:31:51 2006 From: rbennett at southlink.us (Richard Bennett) Date: Fri, 2 Jun 2006 22:31:51 -0400 Subject: [AGDev-newbies] weird sound error Message-ID: <015401c686b5$df6e7b00$c9ad1c42@gadolum18z9hrn> Hey list, can someone tell me what is wrong with this line of code? I have looked over and over it again and can't figure out what is wrong with it but something is obviously wrong with it. The first line I am posting is the correct one(or DevCPP tells me so) and the 2nd one is wrong(or DevCpp tells me) but I don't understand why. It may be that I have been listening to it so much that I can tell, but I went as far to paste them in a file and did a search for the top one(correct one) and it couldn't find it, I don't know and definitely don't understand because they sound the same to me. Can someone help? *** line of code *** correct: sounds[THUNDER]=load_sample("thunder.wav"); incorrect: sounds[THUNDER]=load_sample("thunder.wav"); Richard Bennett *BEAN* Georgia State Phi Beta Lambda(PBL) Secretary personal e-mail: rbennett at southlink.us Windows Messenger(or MSN messenger): ichabodsparrow at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tward1978 at earthlink.net Sat Jun 3 12:12:30 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sat, 03 Jun 2006 07:12:30 -0400 Subject: [AGDev-newbies] weird sound error In-Reply-To: <015401c686b5$df6e7b00$c9ad1c42@gadolum18z9hrn> References: <015401c686b5$df6e7b00$c9ad1c42@gadolum18z9hrn> Message-ID: <44816E9E.2020802@earthlink.net> Hi, Richard. Well, I can tell you both lines are identical, and that means both of them are correct. Can you send us your build errors so we can find out why it is flagging the second as wrong? My guess is since you have the thunder sound loaded prier in the code the compiler is flagging the second one as an error do to the fact that thunder is already loaded and it can't do it it again. Don't know for sure until I see your build errors. Richard Bennett wrote: > Hey list, can someone tell me what is wrong with this line of code? I > have looked over and over it again and can't figure out what is wrong > with it but something is obviously wrong with it. The first line I am > posting is the correct one(or DevCPP tells me so) and the 2nd one is > wrong(or DevCpp tells me) but I don't understand why. It may be that I > have been listening to it so much that I can tell, but I went as far > to paste them in a file and did a search for the top one(correct one) > and it couldn't find it, I don't know and definitely don't understand > because they sound the same to me. Can someone help? > *** line of code *** > > correct: > > sounds[THUNDER]=load_sample("thunder.wav"); > > incorrect: > > sounds[THUNDER]=load_sample("thunder.wav"); > > Richard Bennett *BEAN* > Georgia State Phi Beta Lambda(PBL) Secretary > personal e-mail: > rbennett at southlink.us > Windows Messenger(or MSN messenger): > ichabodsparrow at hotmail.com > ------------------------------------------------------------------------ > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.7.4/351 - Release Date: 5/29/2006 > From rbennett at southlink.us Sat Jun 3 13:45:23 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sat, 3 Jun 2006 08:45:23 -0400 Subject: [AGDev-newbies] weird sound error References: <015401c686b5$df6e7b00$c9ad1c42@gadolum18z9hrn> <44816E9E.2020802@earthlink.net> Message-ID: <002c01c6870b$94fcbfe0$c9ad1c42@gadolum18z9hrn> Hey Tom, I thought they were the same as well. But the error is saying that there is a stray '\ 147 in program so that has me thinking now, that there is some hex value that JAWS isn't picking up, cause the first one works and the second doesn't. BTW, the thunder declaration isn't already loaded, and it is doing the same for every other declaration as well. I know what to fix, I was just curious about the error and what might be causing it. I was wondering if anyone else had ever had this type of error. Thanks for all the help BEAN From rbennett at southlink.us Sun Jun 4 20:54:01 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sun, 4 Jun 2006 15:54:01 -0400 Subject: [AGDev-newbies] menu error Message-ID: <00b401c68810$a0753d10$c9ad1c42@gadolum18z9hrn> Hey listies, I am having the following problems in my game project. I have fixed them all except for like 20 or so and all but 2 of the errors remaining are the following can someone help? This is the error: 279 H:\classProject\main.c [Warning] comparison between pointer and integer and it is talking about this line: if((screen == mChoice) && (mLocation > 2)) this is part of an example I got from Tom in how to write an audio menu for a game, and want to know why this is? What is the purpose of the screen after the if((? Richard Bennett *BEAN* Georgia State Phi Beta Lambda(PBL) Secretary personal e-mail: rbennett at southlink.us Windows Messenger(or MSN messenger): ichabodsparrow at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbennett at southlink.us Sun Jun 4 22:34:05 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sun, 4 Jun 2006 17:34:05 -0400 Subject: [AGDev-newbies] menu error References: <00b401c68810$a0753d10$c9ad1c42@gadolum18z9hrn> Message-ID: <001601c6881e$9b87c300$c9ad1c42@gadolum18z9hrn> Hey listies, I think I figured out the error, I had sat there and sat there for about 2 hours trying to figure it out so that I wouldn't have to ask anyone, but as soon as I asked this list, it is though as if it clicked, . Thanks for listening, it must have helped. BEAN -------------- next part -------------- An HTML attachment was scrubbed... URL: From tward1978 at earthlink.net Mon Jun 5 00:17:14 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sun, 04 Jun 2006 19:17:14 -0400 Subject: [AGDev-newbies] menu error In-Reply-To: <00b401c68810$a0753d10$c9ad1c42@gadolum18z9hrn> References: <00b401c68810$a0753d10$c9ad1c42@gadolum18z9hrn> Message-ID: <448369FA.8070708@earthlink.net> Hi, Richard. That is a pretty weird build error you got, but your statement has to many left and right perenthesies. It should look like if(screen == mChoice && mLocation > 2) The purpose for the screen variable is to distinguish what screen or menu you are in. you could have written it like this just as well if(menu == mChoice && mLocation > 2) but since you have more screens besides menus I use a variable called screen which shows which screen I am in weather it is a menu, game screen, help screen, etc. Richard Bennett wrote: > > Hey listies, I am having the following problems in my game project. I > have fixed them all except for like 20 or so and all but 2 of the > errors remaining are the following can someone help? > > This is the error: > > 279 H:\classProject\main.c [Warning] comparison between pointer and > integer > > and it is talking about this line: > > if((screen == mChoice) && (mLocation > 2)) > > this is part of an example I got from Tom in how to write an audio > menu for a game, and want to know why this is? > > What is the purpose of the screen after the if((? > > Richard Bennett *BEAN* > Georgia State Phi Beta Lambda(PBL) Secretary > personal e-mail: > rbennett at southlink.us > Windows Messenger(or MSN messenger): > ichabodsparrow at hotmail.com > ------------------------------------------------------------------------ > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 6/2/2006 > From rbennett at southlink.us Mon Jun 5 00:43:57 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sun, 4 Jun 2006 19:43:57 -0400 Subject: [AGDev-newbies] menu error References: <00b401c68810$a0753d10$c9ad1c42@gadolum18z9hrn> <448369FA.8070708@earthlink.net> Message-ID: <02b301c68830$c02f7060$c9ad1c42@gadolum18z9hrn> Hey Tom, thanks, I got the error fixed, or at least the compiler isn't showing it up anymore. I will find out if it really works the way I fixed it or not when I finally run the game. Thanks for all your insight. BEAN From seanpm at triad.rr.com Mon Jun 5 03:05:14 2006 From: seanpm at triad.rr.com (Sean Mealin) Date: Sun, 4 Jun 2006 22:05:14 -0400 Subject: [AGDev-newbies] Playing Sound Files With DirectX9 and C++ Message-ID: <000001c68844$8017e0c0$0505a8c0@music17> Hi everyone, I think I have gone stupid! I thought I knew how to play a wav sound with DirectX and C++, but I was wrong. Tom, were you writing a tutorial for playing sound files with DirectX and C++? If not, would you mind? Or, I am sure that other people know how to, so would you mind telling me how to do it? I looked on the AGDev Accessible Game Developer's community site, but I got a page not created message. I am looking for DirectSound as DirectX calls it. Just something like a program that will play a sound from the second you click on the .EXE until you close it. From making a secondary buffer to loading a wav sound.. If you are really bored, you can also show how to stream a sound file! (Grin). Thanks to anyone who can help, and sorry for always asking the beginner questions! Sean, the very slowly learning programmer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tward1978 at earthlink.net Mon Jun 5 14:19:45 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Mon, 05 Jun 2006 09:19:45 -0400 Subject: [AGDev-newbies] Playing Sound Files With DirectX9 and C++ In-Reply-To: <000001c68844$8017e0c0$0505a8c0@music17> References: <000001c68844$8017e0c0$0505a8c0@music17> Message-ID: <44842F71.4030702@earthlink.net> Hi, Sean. Unfortunately, time is short, and that is not a trivial task at the moment, but I can get you started on the right road. If I get a chance I will attempt to toss a simple tutorial together this week for you, but no promises. Esentually, what you need to do is include dsound.lib to your solution project file, and include the dsound.h to the top of the *.cpp file where you have your DirectSound code. You'll need to write initialization function to initialize sound playback on your sound card as well as a function to begin playing a wav file. Like I said I will see what I can scrape together for you. I have created the places on the wiki for this stuff, but haven't had a chance to make the tutorials yet. Sean Mealin wrote: > > Hi everyone, > > I think I have gone stupid! I thought I knew how to play a wav sound > with DirectX and C++, but I was wrong. > > Tom, were you writing a tutorial for playing sound files with DirectX > and C++? If not, would you mind? Or, I am sure that other people know > how to, so would you mind telling me how to do it? > > I looked on the AGDev Accessible Game Developer's community site, but > I got a page not created message. > > I am looking for DirectSound as DirectX calls it. > > Just something like a program that will play a sound from the second > you click on the .EXE until you close it. From making a secondary > buffer to loading a wav sound?. If you are really bored, you can also > show how to stream a sound file! (Grin). > > Thanks to anyone who can help, and sorry for always asking the > beginner questions! > > Sean, the very slowly learning programmer. > > ------------------------------------------------------------------------ > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 6/2/2006 > From KenWDowney at neo.rr.com Tue Jun 6 10:02:18 2006 From: KenWDowney at neo.rr.com (Ken the Crazy) Date: Tue, 6 Jun 2006 05:02:18 -0400 Subject: [AGDev-newbies] battle of the mages game errors References: <012a01c684fd$69e27940$c9ad1c42@gadolum18z9hrn> <7.0.1.0.2.20060601225144.022b2d80@columbus.rr.com> <448006A8.8090107@earthlink.net> Message-ID: <00b601c68947$ea147390$e30b4847@dti0ad40a0de96> I got that many errors once. I took on extra n out of the word "panning" and the dang thing worked fine. ----- Original Message ----- From: "Thomas Ward" To: "Friendly informal list for those new to AG development" Sent: Friday, June 02, 2006 5:36 AM Subject: Re: [AGDev-newbies] battle of the mages game errors > Hi. > Tim is right. Usually, if you get a stact trace or a build error of 135 > errors the actual number is much smaller. I have seen bad > spelling, calling an invalid function, acount for most of the errors. The > key is to find out where it lists the first error, and check all 135 lines > it sights to locate the problem. In Visual Studio the debugger will help > take you directly to the errors which is nice. > > > Tim wrote >> The best thing I can say about finding your errors is, start at the top. >> i did a simple listing program and it had about that many. When I fixed >> the first error it went down to 6. Most will be either syntax, spell of >> variables, or something missing. Its the simple ones that give the most >> headache on finding. > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies From KenWDowney at neo.rr.com Tue Jun 6 10:10:41 2006 From: KenWDowney at neo.rr.com (Ken the Crazy) Date: Tue, 6 Jun 2006 05:10:41 -0400 Subject: [AGDev-newbies] goint through a list of sounds References: <01c501c6813b$04ead430$c9ad1c42@gadolum18z9hrn> <4477E9F9.3090706@earthlink.net> <004001c68197$216638f0$c9ad1c42@gadolum18z9hrn> Message-ID: <00d101c68949$16056cb0$e30b4847@dti0ad40a0de96> Here is how to paste files together with Sound recorder. 1. Open your first file, and hit ctrl a to attach it to the clipboard. Have them all trimmed up before you start all this. Next, open the second sound file and paste the first file to the beginning of the second one. Then hit ctrl a again. Repeat the open select and paste process until your sound file is done. ----- Original Message ----- From: "Richard Bennett" To: "Friendly informal list for those new to AG development" Sent: Saturday, May 27, 2006 10:09 AM Subject: Re: [AGDev-newbies] goint through a list of sounds > Hey Tom, I am going to check into that. I would put them all in 1 single > wav file, but I am only able to use the Windows sound recorder since I > couldn't get my version of JAWS to work with goldwave. So this is the only > other way that I can think to do it until you mentioned this in this > e-mail. I appreciate your help tom, and thanks > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies From richard at audiogames.net Tue Jun 6 13:10:15 2006 From: richard at audiogames.net (AudioGames.net) Date: Tue, 6 Jun 2006 14:10:15 +0200 Subject: [AGDev-newbies] Retro Remakes 2006 Big Competition Message-ID: <011201c68962$2b956850$8e8b2ed5@Delletje> Retro Remakes 2006 Big Competition The Retro Remakes 2006 Big Competition - Promoting Accessibility In Games, has just begun! Programmers have 3 months to make the best remake they possibly can, with over ?4,000 worth of prizes up for grabs this year. The goal is to make "Good remakes of good games that anyone can play, regardless of their ability". So this includes games for people with visual disabilities! Click here to read more about the Retro Remakes 2006 Big Competition: http://www.retroremakes.com/comp2006/ And click here for more information about game accessibility: http://www.game-accessibility.com Greets, Richard http://www.audiogames.net http://www.game-accessibility.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbennett at southlink.us Tue Jun 6 21:00:49 2006 From: rbennett at southlink.us (Richard Bennett) Date: Tue, 6 Jun 2006 16:00:49 -0400 Subject: [AGDev-newbies] goint through a list of sounds References: <01c501c6813b$04ead430$c9ad1c42@gadolum18z9hrn><4477E9F9.3090706@earthlink.net><004001c68197$216638f0$c9ad1c42@gadolum18z9hrn> <00d101c68949$16056cb0$e30b4847@dti0ad40a0de96> Message-ID: <006201c689a3$e90792a0$c9ad1c42@gadolum18z9hrn> Hey Ken, thanks for that tip, I just got through trying that, awesome man, apprecinate that bit of info, that will definitely come in handy. Thanks, BEAN From matthew at agrip.org.uk Wed Jun 14 19:59:41 2006 From: matthew at agrip.org.uk (Matthew T. Atkinson) Date: Wed, 14 Jun 2006 19:59:41 +0100 Subject: [AGDev-newbies] Wiki Spam Issues, Service Plans Message-ID: <1150311581.3547.31.camel@localhost> A few issues have come to a head recently so I may as well e-mail you about all of them in one go... 1. Wiki Spamming issues Sadly those ``people'' are now able to spoof sign-ups to our Wiki sites in order to make changes to them. As there is no current way to moderate the Wikis (we are of the opinion that doing so would deter legitimate contributions from being made) we have had to temporarily make them all read-only whilst we sort the situation out. I hope that we will be able to come up with a solution soon. 2. Server plans For some time now it has been evident to me that I have a *very* small amount of free time in which to support AGRIP, AGDev and the other stuff I do. This concerns me because all of this stuff relies on the proper functioning of (a) my 'net connection and (b) my server, oblique, upon which all of this stuff lives. Because I no longer live at home, it is impractical to travel there on the spur of the moment to fix problems that may arise (not that I'm expecting any, but things tend to go wrong unexpectedly). Because the 'net connection is uncapped (mainly for server use), it is both slow (512K down, 256K up) and expensive and it is not reasonable for my parents to suffer with this any longer. For this reason, I have started renting a virtual server with features very comparable (in some cases favourable) to oblique and a highly suitable 'net connection. The idea is that if anything in the datacentre goes wrong, there will be a team of people paid to fix it and thus the turnaround on such issues will be faster and of much less stress and personal expense to the users of oblique and myself. I am planning to start moving services off oblique onto this new box as soon as I have satisfied myself that it is capable and reliable enough. Most of you should notice no difference whatsoever. 2a. AGDev Forum Problems Having said the above, there are a number of security and support concerns about the web forum for the main AGDev list. It is written in PHP (the only language used to write fora capable of talking to a mailing list, as far as I can tell). This poses numerous technical, resource and security difficulties. I am currently doubtful that it could continue to operate on the new server. If people want to continue using it, then we may be able to find a workaround -- possibly involving running it on another host (like oblique, which will still be in use). Please let me know if this is the case. --- Thanks for your time in listening to this. I am hopeful that we'll find an answer to the Wiki problem soon and that the proposed server changes will enable us all to be more productive in future. If you have any questions, feel free to reply to this thread or mail me using my personal address (the one this message came from). best regards, -- Matthew T. Atkinson From rbennett at southlink.us Wed Jun 14 20:51:52 2006 From: rbennett at southlink.us (Richard Bennett) Date: Wed, 14 Jun 2006 15:51:52 -0400 Subject: [AGDev-newbies] enter key question Message-ID: <01af01c68feb$fbc5f960$c9ad1c42@gadolum18z9hrn> Ok listers, here is a good question that I am not sure of the answer and what to be sure. The question is do I put a while not enter key or do I use another if statement here and where do I put it and how? It is a portion of a menu that Tom has sent me before. Here is the code. what I want is if they hit the enter key on "yes" then they will go to the yes module, but I am not sure if I would use: "while(!key[KEY_ENTER])" or if I would use: "if(key[KEY_ENTER]) instead and where exactly would I put this before the first "if" statement here or what? Sorry if this is a stupid question, but I just can't figure it out. Or should I use some other type of statement. By the Way, I am doing this in C++. Thanks for the help guys. void SelectMenuOption() { if(gMenu == gAnswer) { if(gLocation == 1) { Yes(); } if(gLocation == 2) { No(); } } } Richard Bennett *BEAN* Georgia State Phi Beta Lambda(PBL) Secretary personal e-mail: rbennett at southlink.us Windows Messenger(or MSN messenger): ichabodsparrow at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tward1978 at earthlink.net Wed Jun 14 21:47:26 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Wed, 14 Jun 2006 16:47:26 -0400 Subject: [AGDev-newbies] enter key question In-Reply-To: <01af01c68feb$fbc5f960$c9ad1c42@gadolum18z9hrn> References: <01af01c68feb$fbc5f960$c9ad1c42@gadolum18z9hrn> Message-ID: <449075DE.1030806@earthlink.net> Hi, Richard. Generally, speaking you check for key presses using a switch statement. switch(key) { case Key_Enter: // do something. break; However, it is also possible to do it using an if statement. } Richard Bennett wrote: > Ok listers, here is a good question that I am not sure of the answer > and what to be sure. The question is do I put a while not enter key or > do I use another if statement here and where do I put it and how? It > is a portion of a menu that Tom has sent me before. Here is the code. > what I want is if they hit the enter key on "yes" then they will go to > the yes module, but I am not sure if I would use: > "while(!key[KEY_ENTER])" > or if I would use: > "if(key[KEY_ENTER]) instead and where exactly would I put this before > the first "if" statement here or what? Sorry if this is a stupid > question, but I just can't figure it out. Or should I use some other > type of statement. By the Way, I am doing this in C++. Thanks for the > help guys. > > void SelectMenuOption() > > { > > if(gMenu == gAnswer) > > { > > if(gLocation == 1) > > { > > Yes(); > > } > > if(gLocation == 2) > > { > > No(); > > } > > } > > } > > Richard Bennett *BEAN* > Georgia State Phi Beta Lambda(PBL) Secretary > personal e-mail: > rbennett at southlink.us > Windows Messenger(or MSN messenger): > ichabodsparrow at hotmail.com > ------------------------------------------------------------------------ > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.3/360 - Release Date: 6/9/2006 > From rbennett at southlink.us Wed Jun 14 21:55:36 2006 From: rbennett at southlink.us (Richard Bennett) Date: Wed, 14 Jun 2006 16:55:36 -0400 Subject: [AGDev-newbies] enter key question References: <01af01c68feb$fbc5f960$c9ad1c42@gadolum18z9hrn> <449075DE.1030806@earthlink.net> Message-ID: <022301c68ff4$e39d0af0$c9ad1c42@gadolum18z9hrn> so Tom, would I put the switch statement inside of that module? That confuses me, could be because my brain is tired, but it is nagging me terribly. I think I may be able to understand it when my brain and body aren't so tired, but just can't grasp it right now. How would I encorporate that into the menu example that you gave me have like the enter key go to the Yes module and have another key go to the No module? Sorry but just not grasping it. I am trying to create a free game to practice my menu skills and give people something to play. I can figure out how to do choices using lots of if statements, but wanted to try and find an easier way like being able to just hit either up or down arrow key to scroll through the menus. BEAN From tward1978 at earthlink.net Wed Jun 14 22:53:25 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Wed, 14 Jun 2006 17:53:25 -0400 Subject: [AGDev-newbies] enter key question In-Reply-To: <022301c68ff4$e39d0af0$c9ad1c42@gadolum18z9hrn> References: <01af01c68feb$fbc5f960$c9ad1c42@gadolum18z9hrn> <449075DE.1030806@earthlink.net> <022301c68ff4$e39d0af0$c9ad1c42@gadolum18z9hrn> Message-ID: <44908555.8030802@earthlink.net> Hi, Richard. I'd have to know a bit about how you plan to capture keyboard input for the game. For example in all my games weather it be C++ or C# all keyboard is in the OnKeyDownEvent as I look for the actual MS Windows events, capture them, and do something with them. In Java it is similar, but I would check the AWT dispatch event thread for keyboard/mouse events that are being sent to the jvm from Windows. If I am doing something in C# and DirectX DirectInput then I would create and check the thread where my keyboard handling is. Are you using a single thread, or are you multithreading your game? Are you looking at Windows Events, or what is capturing your keyboard pressed events for you? Richard Bennett wrote: > so Tom, would I put the switch statement inside of that module? That > confuses me, could be because my brain is tired, but it is nagging me > terribly. I think I may be able to understand it when my brain and > body aren't so tired, but just can't grasp it right now. How would I > encorporate that into the menu example that you gave me have like the > enter key go to the Yes module and have another key go to the No > module? Sorry but just not grasping it. I am trying to create a free > game to practice my menu skills and give people something to play. I > can figure out how to do choices using lots of if statements, but > wanted to try and find an easier way like being able to just hit > either up or down arrow key to scroll through the menus. > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From rbennett at southlink.us Thu Jun 15 01:23:49 2006 From: rbennett at southlink.us (Richard Bennett) Date: Wed, 14 Jun 2006 20:23:49 -0400 Subject: [AGDev-newbies] enter key question References: <01af01c68feb$fbc5f960$c9ad1c42@gadolum18z9hrn> <449075DE.1030806@earthlink.net><022301c68ff4$e39d0af0$c9ad1c42@gadolum18z9hrn> <44908555.8030802@earthlink.net> Message-ID: <025e01c69011$f96cf8f0$c9ad1c42@gadolum18z9hrn> well Tom the key[KEY_ENTER] does the checking for the enter key and say I want to check for the press of the "a" key I would write this key[KEY_A] and it would then check for the A key. I think that is what you are asking. I hope it is anyways. I think I can figure out the menu thing, or at least I hope taht I can, because it would make the code probably easier to read in the long run. and would make the games easier to play for other people I think. Anyways let me know if this is what you was talking about. I apologize I don't know alot of technical terms when it comes to programming because we didn't get really into depth with direct x at school, or really in depth at all since we basically taught ourself the C++ stuff since our teacher was never there. So please forgive me for not understand things that you are talking about. BEAN From tward1978 at earthlink.net Thu Jun 15 04:23:51 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Wed, 14 Jun 2006 23:23:51 -0400 Subject: [AGDev-newbies] enter key question In-Reply-To: <025e01c69011$f96cf8f0$c9ad1c42@gadolum18z9hrn> References: <01af01c68feb$fbc5f960$c9ad1c42@gadolum18z9hrn> <449075DE.1030806@earthlink.net><022301c68ff4$e39d0af0$c9ad1c42@gadolum18z9hrn> <44908555.8030802@earthlink.net> <025e01c69011$f96cf8f0$c9ad1c42@gadolum18z9hrn> Message-ID: <4490D2C7.7030304@earthlink.net> Hi, Richard. That is not exactly what I was trying to get at. Understand KEY_A, KEY_B, etc is what we call in programming a virtual key asignment witch points to the actual byte[] asignment of the key. All languages have them. In C#.net for example Keys.A, Keys.B, etc is how you reference those keys. In Java VK_A,VK_B, etc will do the same thing. What I am trying to get at is how does your program get keyboard commands from the keyboard and process them. You have to have some kind of loop or an event which constantly monitors the state of your keyboard for events. In the old days in C for example people used a while loop that tracked keyboard input which isn't very attractive. When Microsoft Windows became popular many C++ programmers used the Win32 API to capture Windows events such as the keyboard events to ask Windows what the state of the keyboard is. With the development of Java in the late 90's the vm gets the events from Windows, but for the application developer he/she tracks the keyboard dispatch thread which gets it's keyboard information from the Java runtime which gets its info from Windows. I hate to say this, but it sounds like your class is very low quality. There is allot of advanced topics you guys haven't covered, and not knowing your course structure I'm not really sure anyone who graduates from that class will know much more when they graduate from it. There is a diference in learning to program a game any old way that works, and writing a game and doing it right. Richard Bennett wrote: > well Tom the key[KEY_ENTER] does the checking for the enter key and > say I want to check for the press of the "a" key I would write this > key[KEY_A] and it would then check for the A key. I think that is what > you are asking. I hope it is anyways. I think I can figure out the > menu thing, or at least I hope taht I can, because it would make the > code probably easier to read in the long run. and would make the games > easier to play for other people I think. Anyways let me know if this > is what you was talking about. I apologize I don't know alot of > technical terms when it comes to programming because we didn't get > really into depth with direct x at school, or really in depth at all > since we basically taught ourself the C++ stuff since our teacher was > never there. So please forgive me for not understand things that you > are talking about. > > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From rbennett at southlink.us Thu Jun 15 14:04:59 2006 From: rbennett at southlink.us (Richard Bennett) Date: Thu, 15 Jun 2006 09:04:59 -0400 Subject: [AGDev-newbies] menu error Message-ID: <007a01c6907c$4ef373c0$c9ad1c42@gadolum18z9hrn> Hey listers, I am trying to understand the menus because they seem to be better in game play. But am running into some problems. I just tried to create a basic menu, no game here, because I just wanted to see if I could get a menu to work. I tried to fix this error, to no avail. Here is the error(I am getting 2 of these errors for menu up and menu down 1 error in each module): 77 C:\Documents and Settings\Richard\My Documents\Game Designs\Free Games\dipNSpit\main.cpp ISO C++ forbids comparison between pointer and integer here is the line of code that is being talked about: if(screen == gAnswer && gLocation > 2) maybe someone can help me figure this out, if not then I will work on it some more and try to get it. Richard Bennett *BEAN* Georgia State Phi Beta Lambda(PBL) Secretary personal e-mail: rbennett at southlink.us Windows Messenger(or MSN messenger): ichabodsparrow at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tward1978 at earthlink.net Thu Jun 15 18:37:17 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Thu, 15 Jun 2006 13:37:17 -0400 Subject: [AGDev-newbies] menu error In-Reply-To: <007a01c6907c$4ef373c0$c9ad1c42@gadolum18z9hrn> References: <007a01c6907c$4ef373c0$c9ad1c42@gadolum18z9hrn> Message-ID: <44919ACD.9030308@earthlink.net> On the surface of it the code looks fine. I'm not sure what the actual problem is but I suspect the line you gave isn't the line with the real error in it. Richard Bennett wrote: > Hey listers, I am trying to understand the menus because they seem to > be better in game play. But am running into some problems. I just > tried to create a basic menu, no game here, because I just wanted to > see if I could get a menu to work. I tried to fix this error, to no > avail. Here is the error(I am getting 2 of these errors for menu up > and menu down 1 error in each module): > 77 C:\Documents and Settings\Richard\My Documents\Game Designs\Free > Games\dipNSpit\main.cpp ISO C++ forbids comparison between pointer and > integer > > here is the line of code that is being talked about: > if(screen == gAnswer && gLocation > 2) > maybe someone can help me figure this out, if not then I will work on > it some more and try to get it. > > > Richard Bennett *BEAN* > Georgia State Phi Beta Lambda(PBL) Secretary > personal e-mail: > rbennett at southlink.us > Windows Messenger(or MSN messenger): > ichabodsparrow at hotmail.com > ------------------------------------------------------------------------ > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.4/364 - Release Date: 6/14/2006 > From rbennett at southlink.us Thu Jun 15 22:05:05 2006 From: rbennett at southlink.us (Richard Bennett) Date: Thu, 15 Jun 2006 17:05:05 -0400 Subject: [AGDev-newbies] game libraries Message-ID: <016b01c690bf$6117f0b0$c9ad1c42@gadolum18z9hrn> Hey Newbies and vets, I was wondering if there are any good game libraries out there, to be used for development of games? I was just wanting someone's opinion on the best one if there are multiple ones out there. Thanks Richard Bennett *BEAN* Georgia State Phi Beta Lambda(PBL) Secretary personal e-mail: rbennett at southlink.us Windows Messenger(or MSN messenger): ichabodsparrow at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tward1978 at earthlink.net Fri Jun 16 02:53:49 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Thu, 15 Jun 2006 21:53:49 -0400 Subject: [AGDev-newbies] game libraries In-Reply-To: <016b01c690bf$6117f0b0$c9ad1c42@gadolum18z9hrn> References: <016b01c690bf$6117f0b0$c9ad1c42@gadolum18z9hrn> Message-ID: <44920F2D.5050300@earthlink.net> Hi, Richard. Can you be more specific what kind of game libraries you are looking for? There are lots of game library choices, and allot depends on programming language, operating system, etc. Below is a list of common game programming libraries, supported operating systems, and web sites for more information. 1. SDK: Microsoft DirectX OS: Microsoft Windows98-XP site: www.microsoft.com/directx Supported languages: C++, C#, and Visual Basic Description: Contains libraries for rendering 3D graphics, high quality audio, networked gaming, support for game input devices, and more. 2. SDK: LibSDL OS: FreeBSD, Linux, Mac OS, Windows site: www.libsdl.org Supported languages: C, C++, Perl Description:A multiplatform game development library designed by Loki Games, and made open source. It has support for keyboards, mice, some joysticks, can do simple 2D graphics, and audio for games. 3. SDK: OpenAL OS: FreeBSD, Linux, Mac OS, and Windows Site: www.openal.org Supported Languages: C, C++ Description: A multiplatform open source audio library which renders high quality audio playback for games, stereo panning, audio effects playback, virtual 3D, and more. I don't know if you are looking for multiplatform graphics libraries but Mesa 3D and OpenGL are good sdks for graphics rendering, and OpenGL is rapidly passing DirectX up. f From rbennett at southlink.us Fri Jun 16 03:01:01 2006 From: rbennett at southlink.us (Richard Bennett) Date: Thu, 15 Jun 2006 22:01:01 -0400 Subject: [AGDev-newbies]Allegro game libraries References: <016b01c690bf$6117f0b0$c9ad1c42@gadolum18z9hrn> <44920F2D.5050300@earthlink.net> Message-ID: <01e701c690e8$b8e02eb0$c9ad1c42@gadolum18z9hrn> Hey man, thanks for those. I am looking for ones that will support c/c++ and you have yet again provided these. You be da man, Tom, you be da man. Thanks a great deal. I just care about ones that will allow for at least keyboard and audio, I am thinking I could program the rest of the stuff I might need, however, until I get to that point, I don't actually know. It is just that I am extremely getting fed up with Allegro and fastly. It is doing something majorly weird and I don't know why. It is giving me this linker error about there is no such thing as allegro, when it is installed and everything and I have included it, who knows. So that is why I was looking for one that is probably more stable. I just hate to change since this is what I learned with, but I think I must step out of my "comfort zone" and find something more stable. Thanks again for this help. BEAN From rbennett at southlink.us Fri Jun 16 19:13:53 2006 From: rbennett at southlink.us (Richard Bennett) Date: Fri, 16 Jun 2006 14:13:53 -0400 Subject: [AGDev-newbies] menu sound error Message-ID: <00d401c69170$a0524a30$c9ad1c42@gadolum18z9hrn> Hey List, I am sorry for posting to this list so much recently, but I am just trying to get some menus or actually a single menu to work. I have posted the code below that deals with the menus. The problem is that it compiles fine with no errors, plays the first sound which a question asking do you want to play, then it will play the second sound which is "select the option you want", but then it stops running and carries me back to my IDE. I don't understand why this is and must have a while loop or something in the wrong area, but can't figure out where it should go if indeed I do have it in the wrong place. Can someone help? All I am trying to do is learn how to do menus, and I think this is the final step in me learning this, but so far, I am stuck in this area. Any help will be appreciated. BEAN *** code here*** /* select menu option */ void SelectMenuOption() { while(key[KEY_ENTER]) { if(g_menu == g_answer) { if(g_location == 1) { allegro_message("This would be the yes module"); } if(g_location == 2) { allegro_message("This would be the no module"); } } } } /* speak the menu option */ void SpeakMenuOption() { if(g_menu == g_answer) { if(g_location == 0) { play_sample(sounds[MENUCHOICE], VOLUME, PAN, PITCH, FALSE); rest(4000); } if(g_location == 1) { play_sample(sounds[YESANSWER], VOLUME, PAN, PITCH, FALSE); rest(2000); } if(g_location == 2) { play_sample(sounds[NOANSWER], VOLUME, PAN, PITCH, FALSE); rest(2000); } } } /* menu down module */ void MenuDown() { g_location=g_location + 1; while(key[KEY_DOWN]) { if(g_menu == g_answer && g_location >2) { g_location=1; } SpeakMenuOption(); } } /* menu up module */ void MenuUp() { while(key[KEY_UP]) { g_location=g_location -1; if(g_menu == g_answer && g_location < 1) { g_location =2; } SpeakMenuOption(); } } /* open first question */ void OpenFirst() { g_menu=g_answer; g_location=0; SpeakMenuOption(); } -------------- next part -------------- An HTML attachment was scrubbed... URL: From tward1978 at earthlink.net Sat Jun 17 00:25:18 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Fri, 16 Jun 2006 19:25:18 -0400 Subject: [AGDev-newbies]Allegro game libraries In-Reply-To: <01e701c690e8$b8e02eb0$c9ad1c42@gadolum18z9hrn> References: <016b01c690bf$6117f0b0$c9ad1c42@gadolum18z9hrn> <44920F2D.5050300@earthlink.net> <01e701c690e8$b8e02eb0$c9ad1c42@gadolum18z9hrn> Message-ID: <44933DDE.1000804@earthlink.net> Hi, Richard. My guess you are getting linker errors with Allegro is because it can not find your libs. As for Allegro being used for game programming frankly I am not sure where your class came up with it. It is definately not a standard set of headers and libraries for game development.Generally, C++ game devs use one of two choices. A Windows game developer almost always uses Microsoft DirectX as it is superior to most sdks out there, ships with Windows, and is very quite powerful. A multiplatform developer uses SDL. SDL ships with almost all the non-Windows operating systems like FreeBSD and Linux right out of the box, and is becoming the DirectX of the open source world. Of course the really really big game engines use OpenGL and OpenAL for graphics and audio, and SDL for networking, input, and other esentual game functionality that is needed. Richard Bennett wrote: > Hey man, thanks for those. I am looking for ones that will support > c/c++ and you have yet again provided these. You be da man, Tom, you > be da man. Thanks a great deal. I just care about ones that will allow > for at least keyboard and audio, I am thinking I could program the > rest of the stuff I might need, however, until I get to that point, I > don't actually know. It is just that I am extremely getting fed up > with Allegro and fastly. It is doing something majorly weird and I > don't know why. It is giving me this linker error about there is no > such thing as allegro, when it is installed and everything and I have > included it, who knows. So that is why I was looking for one that is > probably more stable. I just hate to change since this is what I > learned with, but I think I must step out of my "comfort zone" and > find something more stable. Thanks again for this help. > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From tward1978 at earthlink.net Sat Jun 17 00:40:59 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Fri, 16 Jun 2006 19:40:59 -0400 Subject: [AGDev-newbies] menu sound error In-Reply-To: <00d401c69170$a0524a30$c9ad1c42@gadolum18z9hrn> References: <00d401c69170$a0524a30$c9ad1c42@gadolum18z9hrn> Message-ID: <4493418B.7040606@earthlink.net> Hi, Richard. I am sorry to say, but the code below has me stumped. For one thing it is not at all like the way I write my menus, and much less like how I acquire data from the keyboard. I could in theory write you a Menu program in C++, but I doubt it would help you much since I use Microsoft's Visual C++ compiler, and not the bloodshed and other free compilers. If you have not already done so I highly suggest grabbing a free copy of MS Visual C++ Express 2005 which is a superior Windows compiler to the one you are using. The only catch22, and I expect this is the case, your class has taught you nothing of Win32 API programming which is esentual for writing high quality, killer, awesome, cool games for MS Windows. Smile. Richard Bennett wrote: > Hey List, I am sorry for posting to this list so much recently, but I > am just trying to get some menus or actually a single menu to work. I > have posted the code below that deals with the menus. The problem is > that it compiles fine with no errors, plays the first sound which a > question asking do you want to play, then it will play the second > sound which is "select the option you want", but then it stops running > and carries me back to my IDE. I don't understand why this is and must > have a while loop or something in the wrong area, but can't figure out > where it should go if indeed I do have it in the wrong place. Can > someone help? All I am trying to do is learn how to do menus, and I > think this is the final step in me learning this, but so far, I am > stuck in this area. Any help will be appreciated. > BEAN > *** code here*** > /* select menu option */ > void SelectMenuOption() > { > while(key[KEY_ENTER]) > { > if(g_menu == g_answer) > { > if(g_location == 1) > { > allegro_message("This would be the yes > module"); > } > if(g_location == 2) > { > allegro_message("This would > be the no module"); > } > } > } > } > > /* speak the menu option */ > void SpeakMenuOption() > { > if(g_menu == g_answer) > { > > if(g_location == 0) > { > > play_sample(sounds[MENUCHOICE], VOLUME, PAN, PITCH, FALSE); > > rest(4000); > } > > if(g_location == 1) > { > play_sample(sounds[YESANSWER], VOLUME, PAN, PITCH, FALSE); > rest(2000); > } > if(g_location == 2) > { > play_sample(sounds[NOANSWER], VOLUME, PAN, PITCH, FALSE); > rest(2000); > } > } > } > > > /* menu down module */ > void MenuDown() > { > g_location=g_location + 1; > while(key[KEY_DOWN]) > { > > if(g_menu == g_answer && g_location >2) > { > g_location=1; > } > SpeakMenuOption(); > } > } > > /* menu up module */ > void MenuUp() > { > while(key[KEY_UP]) > { > g_location=g_location -1; > if(g_menu == g_answer && g_location < 1) > { > g_location =2; > } > SpeakMenuOption(); > } > } > > /* open first question */ > void OpenFirst() > { > g_menu=g_answer; > g_location=0; > SpeakMenuOption(); > } > > ------------------------------------------------------------------------ > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.4/364 - Release Date: 6/14/2006 > From rbennett at southlink.us Sat Jun 17 04:01:31 2006 From: rbennett at southlink.us (Richard Bennett) Date: Fri, 16 Jun 2006 23:01:31 -0400 Subject: [AGDev-newbies] menu sound error References: <00d401c69170$a0524a30$c9ad1c42@gadolum18z9hrn> <4493418B.7040606@earthlink.net> Message-ID: <019801c691ba$560fd2e0$c9ad1c42@gadolum18z9hrn> Hey Thomas, you are exactly correct in that assumption. When people mention win32 API, I am not even sure what you guys are talking about, and was afraid to ask because I didn't want to seem dumb, so I just didn't ask. Thanks for the help and I think I know what is wrong with the menu, it isn't even going to the menu down or menuUp modules, but I don't know how to code it in so that it will go to those lines, oh well. BEAN From rbennett at southlink.us Sat Jun 17 14:50:59 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sat, 17 Jun 2006 09:50:59 -0400 Subject: [AGDev-newbies] microsoft visual C++ 2005 express Message-ID: <006001c69215$11203610$c9ad1c42@gadolum18z9hrn> Hey Tom, I am currently downloading the microsoft visuall C++ 2005 express edition, since you suggested it. The question I have is this: Is it alot better than the bloodshed DevCpp IDE that I was using? also will it work with jaws 4.51? since that is the version that I am currently running? I mean when I begin to write games for retail, I want the game play to be totally awesome and want to make one of the best games out there possible. I know that allegro was a decent library and that is what I learned with. How much harder is it to get sounds and all to play with microsoft's Visual C++? One more question that I can think of right now, would I really need to download a game library to go with this since it is capable of playing sounds, I wouldn't think that I would need to download a game library now since this will play sounds since I wouldn't need graphics and such other things like that. I will apprecinate any input on this IDE since I know nothing about it. Thanks, Richard Bennett *BEAN* Georgia State Phi Beta Lambda(PBL) Secretary personal e-mail: rbennett at southlink.us Windows Messenger(or MSN messenger): ichabodsparrow at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tward1978 at earthlink.net Sun Jun 18 02:29:23 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sat, 17 Jun 2006 21:29:23 -0400 Subject: [AGDev-newbies] Win 32 API. In-Reply-To: <019801c691ba$560fd2e0$c9ad1c42@gadolum18z9hrn> References: <00d401c69170$a0524a30$c9ad1c42@gadolum18z9hrn> <4493418B.7040606@earthlink.net> <019801c691ba$560fd2e0$c9ad1c42@gadolum18z9hrn> Message-ID: <4494AC73.8090009@earthlink.net> Hi, Richard and all. Before I explain what the Win32 API is I'd like to state that admitting you don't know something does not make you sound dumb, look dumb, etc. In fact it shows some inteligence that you are willing to point out where you do not understand, and helps the instructer, in this case me, know where you need help. Remember I also had to learn this stuff as well. Ten years ago before I cracked open a programming book I didn't know what anything was, how it worked, and didn't know one programming language from another much less know the names of APIs. As for the Win32 API it is a core set of header files and libraries which is used in all major Windows software written in C++. For example the file windows.h is widely used for the dialog boxes, buttons, etc you see in your Windows applications. Anyone who wants to use C++ to write true Microsoft Windows compatible software needs to learn the Win32 API. Especially, if you need more complex things like dialog boxes, Windows, buttons, checkboxes, etc. One reason the .net framework and applications is spreading so rapidly now is the fact that a developer does not need to know Win32 to write in C# .net, and VB .net, which speeds up learning and development. However, if you are going to use C++, unmanaged code, then you need to know the actual nuts and bolts of how Windows applications work and how they are written. I can tell you the Win32 programmers guide is more than 1000 pages, and that is pretty much the complete Win32 API specification. Richard Bennett wrote: > Hey Thomas, you are exactly correct in that assumption. When people > mention win32 API, I am not even sure what you guys are talking about, > and was afraid to ask because I didn't want to seem dumb, so I just > didn't ask. Thanks for the help and I think I know what is wrong with > the menu, it isn't even going to the menu down or menuUp modules, but > I don't know how to code it in so that it will go to those lines, oh > well. > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From rbennett at southlink.us Sun Jun 18 03:08:38 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sat, 17 Jun 2006 22:08:38 -0400 Subject: [AGDev-newbies] visual C++ Message-ID: <004801c6927c$1de191c0$c9ad1c42@gadolum18z9hrn> Hey Thomas and all. I finally got the Microsoft Visual C++ 2005 express edition downloaded and installed. How do I write a basic program in there? I tried to write a "hello world" program in there but couldn't get anything done. I have Jaws 4.51 as my screen reader and couldn't get anything figured out with the Visual C++ IDE. Is there some way that I need to set up the Microsoft Visual C++ IDE? Please help cause I am not understanding this IDE whatsoever. Thanks, Richard Bennett *BEAN* Georgia State Phi Beta Lambda(PBL) Secretary personal e-mail: rbennett at southlink.us Windows Messenger(or MSN messenger): ichabodsparrow at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbennett at southlink.us Sun Jun 18 03:10:32 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sat, 17 Jun 2006 22:10:32 -0400 Subject: [AGDev-newbies] Win 32 API. References: <00d401c69170$a0524a30$c9ad1c42@gadolum18z9hrn> <4493418B.7040606@earthlink.net><019801c691ba$560fd2e0$c9ad1c42@gadolum18z9hrn> <4494AC73.8090009@earthlink.net> Message-ID: <004901c6927c$61c183f0$c9ad1c42@gadolum18z9hrn> Hey Thomas, thanks for explaining that to me. So if we want to use dialogue boxes in our programs we need the windows.h file and if we do not want to use the dialogue boxes in our programs then we don't need the windows.h file. That is what I am thinking, but want to make sure of that. Also thanks for not making me feel dumb. Guess it goes to say the only stupid question is the one that you don't ask. Anyways thanks again man for your help. BEAN From tward1978 at earthlink.net Sun Jun 18 03:19:24 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sat, 17 Jun 2006 22:19:24 -0400 Subject: [AGDev-newbies] microsoft visual C++ 2005 express In-Reply-To: <006001c69215$11203610$c9ad1c42@gadolum18z9hrn> References: <006001c69215$11203610$c9ad1c42@gadolum18z9hrn> Message-ID: <4494B82C.6090905@earthlink.net> Hi, Richard. See my answers below in the body of your message. Richard Bennett wrote: > Hey Tom, I am currently downloading the microsoft visuall C++ 2005 > express edition, since you suggested it. That is cool. It is one of my favorite C++ compilers for Windows. > The question I have is this: Is it alot better than the bloodshed > DevCpp IDE that I was using? For Windows programming absolutely. Visual C++ 2005 is able to let you do Win32 Console applications, Win32 Windows applications, MFC applications, as well as .net 2.0 applications. Allot of choices where to go with your code. Not only that you can link up with something like Directx 9. > also will it work with jaws 4.51? since that is the version that I am > currently running? Uh, I don't know for sure, but I strongly doubt it. I wouldn't honestly say you will get much support if you don't Have Jaws 6 or higher and Jaws 7 recommended. I am using Window Eyes 5.5 and I have noticed Window Eyes 5.5 support is superior to that of Jaws 7. I'd hate to see how bad 4.5.1 would do. > I mean when I begin to write games for retail, I want the game play to > be totally awesome and want to make one of the best games out there > possible. Well, Visual C++ has the best opertunities on the Windows platform. However, if you are thinking multiplatform probably not the compiler of choice. > I know that allegro was a decent library and that is what I learned > with. How much harder is it to get sounds and all to play with > microsoft's Visual C++? Well, it isn't teribly hard. You will have to learn how to program with the Microsoft DirectX 9 sdk to get sound and keyboard input for games. > One more question that I can think of right now, would I really need > to download a game library to go with this since it is capable of > playing sounds, Absolutely. Microsoft's DirectX libraries and sdk is the official multimedia portion of MS Windows. The Win32 api does support sound playing, keyboard event handling, mouse event handling, etc, but frankly it is not capable of doing the same level of stuff you can get from DirectX. There is just no comparison. > I wouldn't think that I would need to download a game library now > since this will play sounds since I wouldn't need graphics and such > other things like that. Guess again. Smile. Now, you are using the same stuff the real pros use. Visual C++ and MS DirectX is the real pro grade stuff. The only difference is you are using the Express addition, and not Pro, but you can do just as good a job. From tward1978 at earthlink.net Sun Jun 18 03:51:49 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sat, 17 Jun 2006 22:51:49 -0400 Subject: [AGDev-newbies] visual C++ In-Reply-To: <004801c6927c$1de191c0$c9ad1c42@gadolum18z9hrn> References: <004801c6927c$1de191c0$c9ad1c42@gadolum18z9hrn> Message-ID: <4494BFC5.30304@earthlink.net> Hi, richard. See comments below in the body of your message. Richard Bennett wrote: > Hey Thomas and all. I finally got the Microsoft Visual C++ 2005 > express edition downloaded and installed. A: That is a good start. > How do I write a basic program in there? A: You have to create a new project. Depending on how it is setup you might have to create the new project from the start screen or you can start a new one from the file menu. Such as file, new, project. Then, you are shown a dialog box where you name the application, select the project type if it is win32 console, win32 Windows Application, .net application, etc. If your install is setup with the start screen you have to tab to the new project button, press space, and the new project dialog appears. Works the same as above. > I tried to write a "hello world" program in there but couldn't get > anything done. A: as mentioned above you have to create a new project. In this case a hello world app is a console program. After you create it you have to go to the project menu, select the project explorer, and open hello.cpp to begin coding. > I have Jaws 4.51 as my screen reader and couldn't get anything figured > out with the Visual C++ IDE. A: No wonder. Your version of JFW is simply ancient. You might need to go to the fredom scientific site, and download the demo version of Jaws 7 or 7.1 to get any reasonable access to Visual C++ 2005. > Is there some way that I need to set up the Microsoft Visual C++ IDE? A: there are certain Windows you can turn off or undock that will improve access. For Jaws in particular it can't stomach them as well as Window Eyes 5.5 can. Still I am concerned your version of Jaws is simply uncompatible with current IDEs. I know for a long time Jaws drug there feet with support for Visual C++ 2002, 2003, 2005 and they have some access for Visual C++ 2005 in Jaws 7, and well 4.5.1 is ancient. > Please help cause I am not understanding this IDE whatsoever. > Thanks, > Richard Bennett *BEAN* > Georgia State Phi Beta Lambda(PBL) Secretary > personal e-mail: > rbennett at southlink.us > Windows Messenger(or MSN messenger): > ichabodsparrow at hotmail.com > ------------------------------------------------------------------------ > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006 > From tward1978 at earthlink.net Sun Jun 18 04:00:55 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sat, 17 Jun 2006 23:00:55 -0400 Subject: [AGDev-newbies] Win 32 API. In-Reply-To: <004901c6927c$61c183f0$c9ad1c42@gadolum18z9hrn> References: <00d401c69170$a0524a30$c9ad1c42@gadolum18z9hrn> <4493418B.7040606@earthlink.net><019801c691ba$560fd2e0$c9ad1c42@gadolum18z9hrn> <4494AC73.8090009@earthlink.net> <004901c6927c$61c183f0$c9ad1c42@gadolum18z9hrn> Message-ID: <4494C1E7.8040108@earthlink.net> Hi, Richard. That is kind of a simplistic way of looking at it. As I mentioned before Win32 is a huge number of headers and libraries that comes with Visual C++ for writing Windows based applications. Windows.h is a very small part of Win32 programming, but is an important one. Weather you need it for a dialog box or not is kind of mute. You will need it for drawing Windows even if you want them to be empty. An example is if you were working for game company x they would need a drawing surface for graphics. What they do is create an empty Window. They then use their favorite graphics rendering libraries OpenGL or DirectX and draw to that Window. Since you and I don't give a hoot about graphics we simply create an empty Window and leave it empty. Some devs in the accessible games market draw something to the Window like name of the game, who it is registered to, etc just to have something there. Richard Bennett wrote: > Hey Thomas, thanks for explaining that to me. So if we want to use > dialogue boxes in our programs we need the windows.h file and if we do > not want to use the dialogue boxes in our programs then we don't need > the windows.h file. That is what I am thinking, but want to make sure > of that. Also thanks for not making me feel dumb. Guess it goes to say > the only stupid question is the one that you don't ask. Anyways thanks > again man for your help. > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From rbennett at southlink.us Sun Jun 18 14:07:09 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sun, 18 Jun 2006 09:07:09 -0400 Subject: [AGDev-newbies] microsoft visual C++ 2005 express References: <006001c69215$11203610$c9ad1c42@gadolum18z9hrn> <4494B82C.6090905@earthlink.net> Message-ID: <000901c692d8$1b9ec8e0$c9ad1c42@gadolum18z9hrn> Hey Tom, thanks for answering my questions that I had about Visual C++. Just to let you know, JAWS 4.51 works ok with Visual C++, or at least I can figure out how to do some things in there. I am just now trying to get it configured so that it will work better and trying to write a small program to see how it works. BTW, loved your "guess again" it made me laugh early this morning. Thanks, BEAN From rbennett at southlink.us Sun Jun 18 14:23:24 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sun, 18 Jun 2006 09:23:24 -0400 Subject: [AGDev-newbies] visual C++ References: <004801c6927c$1de191c0$c9ad1c42@gadolum18z9hrn> <4494BFC5.30304@earthlink.net> Message-ID: <007301c692da$60ffa3d0$c9ad1c42@gadolum18z9hrn> Hey Thomas, thanks for these answers as well. I am currently in the process of getting an upgrade to JAWS 7.0 or 7.1 for school use as well as personal use. So hopefully that will improve the accessibility of the IDE. I know it is ancient, but with little money I can't afford an upgrade, and must deal with what I have, lol. Even when it is as ancient as what I have, lol. Thanks again, BEAN From rbennett at southlink.us Sun Jun 18 20:12:54 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sun, 18 Jun 2006 15:12:54 -0400 Subject: [AGDev-newbies] finally got it Message-ID: <00d001c6930b$33f18f30$c9ad1c42@gadolum18z9hrn> Hey listers, after much work on just a basic menu program, I FINALLY GOT IT!!! I m so happy that I figured this out finally. It isn't how I had planned to get it to work, but hey, it works, lol. I just wanted to let everyone know that I got it to work. What I had to do is create a for loop and let a variable increment through the limits that I set for it, but it works, finally. It isn't pretty coding, but now that I have it working, I can play around with it and get it to look pretty, hopefully. I am now finally going to work on a free game that I want to create. Which means I will be sending another e-mail to the list shortly asking question on how to do something else, lol. Maybe I won't have to, now I am gonna try and figure that problem out. Thanks to everyone who helped me try and figure this out. Richard Bennett *BEAN* Georgia State Phi Beta Lambda(PBL) Secretary personal e-mail: rbennett at southlink.us Windows Messenger(or MSN messenger): ichabodsparrow at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From seanpm at triad.rr.com Sun Jun 18 21:04:14 2006 From: seanpm at triad.rr.com (Sean Mealin) Date: Sun, 18 Jun 2006 16:04:14 -0400 Subject: [AGDev-newbies] microsoft visual C++ 2005 express In-Reply-To: <4494B82C.6090905@earthlink.net> Message-ID: <005501c69312$5f6e5b00$0505a8c0@music17> Hi, Uhh.... tom? I am using the express addition of Visual C++ 2005 and it will only let me create Win32 Console applications. Is it just me? Am I missing something? Thanks -----Original Message----- From: agdev-newbies-bounces at lists.agdev.org [mailto:agdev-newbies-bounces at lists.agdev.org] On Behalf Of Thomas Ward Sent: Saturday, June 17, 2006 10:19 PM To: Friendly informal list for those new to AG development Subject: Re: [AGDev-newbies] microsoft visual C++ 2005 express Hi, Richard. See my answers below in the body of your message. Richard Bennett wrote: > Hey Tom, I am currently downloading the microsoft visuall C++ 2005 > express edition, since you suggested it. That is cool. It is one of my favorite C++ compilers for Windows. > The question I have is this: Is it alot better than the bloodshed > DevCpp IDE that I was using? For Windows programming absolutely. Visual C++ 2005 is able to let you do Win32 Console applications, Win32 Windows applications, MFC applications, as well as .net 2.0 applications. Allot of choices where to go with your code. Not only that you can link up with something like Directx 9. > also will it work with jaws 4.51? since that is the version that I am > currently running? Uh, I don't know for sure, but I strongly doubt it. I wouldn't honestly say you will get much support if you don't Have Jaws 6 or higher and Jaws 7 recommended. I am using Window Eyes 5.5 and I have noticed Window Eyes 5.5 support is superior to that of Jaws 7. I'd hate to see how bad 4.5.1 would do. > I mean when I begin to write games for retail, I want the game play to > be totally awesome and want to make one of the best games out there > possible. Well, Visual C++ has the best opertunities on the Windows platform. However, if you are thinking multiplatform probably not the compiler of choice. > I know that allegro was a decent library and that is what I learned > with. How much harder is it to get sounds and all to play with > microsoft's Visual C++? Well, it isn't teribly hard. You will have to learn how to program with the Microsoft DirectX 9 sdk to get sound and keyboard input for games. > One more question that I can think of right now, would I really need > to download a game library to go with this since it is capable of > playing sounds, Absolutely. Microsoft's DirectX libraries and sdk is the official multimedia portion of MS Windows. The Win32 api does support sound playing, keyboard event handling, mouse event handling, etc, but frankly it is not capable of doing the same level of stuff you can get from DirectX. There is just no comparison. > I wouldn't think that I would need to download a game library now > since this will play sounds since I wouldn't need graphics and such > other things like that. Guess again. Smile. Now, you are using the same stuff the real pros use. Visual C++ and MS DirectX is the real pro grade stuff. The only difference is you are using the Express addition, and not Pro, but you can do just as good a job. _______________________________________________ AGDev-newbies mailing list AGDev-newbies at lists.agdev.org http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies From seanpm at triad.rr.com Sun Jun 18 22:50:54 2006 From: seanpm at triad.rr.com (Sean Mealin) Date: Sun, 18 Jun 2006 17:50:54 -0400 Subject: [AGDev-newbies] visual C++ In-Reply-To: <004801c6927c$1de191c0$c9ad1c42@gadolum18z9hrn> Message-ID: <005f01c69321$4657c980$0505a8c0@music17> Hi, Here is how to write a program in Visual C++ 2005 Express Edition Please excuse the grammer, I quickly put this together. Open Visual C++ 2005 Express Edition Press alt Go to file menu Press right arrow on new Press enter on "new project" (Note there should be three things in that menu; make sure that it is the first option) Make sure that win32 is selected in the first tree view Press tab Make sure that Win32 Console Application is selected Press tab In the name box, change "" to anything you want. I put mine as "Tutorial 1" Press tab Put the location where you want it. Default is C:\Documents and Settings\\My Documents\Visual Studio 2005\Projects Where is your login name. (Who would have thought? ;-)) Press tab Tab pass the brows button (unless you need it; I am not going over how to use a dialog like that; because I really don't want to right now. ;-)) Press tab Change your solution name to anything you want. (Mine is Tutorial 1 because that is what I put in the project box) Press tab Ignore the "create directory for solution" check box if you want. Default is checked Press tab Press spacebar on "OK" button. Use your jaws curser to left click on "Next >" button. (For some reason, spacebar does not work) Use your Jaws curser to check the box that says "Empty project" (Make sure that you do this) Use your Jaws curser to click on the "Finish" button Press the right arrow key to open the tree view and go to "source files" Press your applications key Go to "Add" Press right arrow Go to "New Item..." Press enter Make sure that code is selected in the first tree view Press tab Make sure that C++ file *.CPP is selected Press tab Change the name from "" to something you want. I put it as "CPP file 1" Press tab Change the location to something you want. Default is "C:\Documents and Settings\\My Documents\Visual Studio 2005\Projects\Tutorial 1\Tutorial 1" Where is your login name. Press tab Ignore the "Browse..." button if you want. Press tab Press spacebar on "Add" button. Press Right arrow on "source files" Go to CPP File 1.CPP (Or what ever you put for your CPP file name as) Press enter In the file, type this code: // the include statements. #include #include using namespace std; int main () { // this is going to be a little odd; for some reason, as soon as you //run the program, it will exit so fast, that Jaws does not see it. So, //we are going to get some user input to slow it down. cout << "Hello World" << "!\n"; string YourName; cout << "What is your name" << "?\n"; getline (cin, YourName); cout << "Hello " << YourName << ".\n"; cout << "type exit to exit!" << "\n"; string GoodBy; cin >> GoodBy; //watch, when you run the program, you will not see this next line cout << "Good by " << YourName; return 0; } Press alt Go to the debug menu Press down Go to "start debugging" Press enter Press enter again. Run through the program. That's more or less it. If you have any questions, just ask! -------------- next part -------------- An HTML attachment was scrubbed... URL: From seanpm at triad.rr.com Sun Jun 18 22:58:14 2006 From: seanpm at triad.rr.com (Sean Mealin) Date: Sun, 18 Jun 2006 17:58:14 -0400 Subject: [AGDev-newbies] visual C++ In-Reply-To: <005f01c69321$4657c980$0505a8c0@music17> Message-ID: <006a01c69322$4ce44fc0$0505a8c0@music17> Hahaha, as you can tell, I was really bored when I wrote this. I hope it helps someone! _____ From: agdev-newbies-bounces at lists.agdev.org [mailto:agdev-newbies-bounces at lists.agdev.org] On Behalf Of Sean Mealin Sent: Sunday, June 18, 2006 5:51 PM To: 'Friendly informal list for those new to AG development' Subject: RE: [AGDev-newbies] visual C++ Hi, Here is how to write a program in Visual C++ 2005 Express Edition Please excuse the grammer, I quickly put this together. Open Visual C++ 2005 Express Edition Press alt Go to file menu Press right arrow on new Press enter on "new project" (Note there should be three things in that menu; make sure that it is the first option) Make sure that win32 is selected in the first tree view Press tab Make sure that Win32 Console Application is selected Press tab In the name box, change "" to anything you want. I put mine as "Tutorial 1" Press tab Put the location where you want it. Default is C:\Documents and Settings\\My Documents\Visual Studio 2005\Projects Where is your login name. (Who would have thought? ;-)) Press tab Tab pass the brows button (unless you need it; I am not going over how to use a dialog like that; because I really don't want to right now. ;-)) Press tab Change your solution name to anything you want. (Mine is Tutorial 1 because that is what I put in the project box) Press tab Ignore the "create directory for solution" check box if you want. Default is checked Press tab Press spacebar on "OK" button. Use your jaws curser to left click on "Next >" button. (For some reason, spacebar does not work) Use your Jaws curser to check the box that says "Empty project" (Make sure that you do this) Use your Jaws curser to click on the "Finish" button Press the right arrow key to open the tree view and go to "source files" Press your applications key Go to "Add" Press right arrow Go to "New Item..." Press enter Make sure that code is selected in the first tree view Press tab Make sure that C++ file *.CPP is selected Press tab Change the name from "" to something you want. I put it as "CPP file 1" Press tab Change the location to something you want. Default is "C:\Documents and Settings\\My Documents\Visual Studio 2005\Projects\Tutorial 1\Tutorial 1" Where is your login name. Press tab Ignore the "Browse..." button if you want. Press tab Press spacebar on "Add" button. Press Right arrow on "source files" Go to CPP File 1.CPP (Or what ever you put for your CPP file name as) Press enter In the file, type this code: // the include statements. #include #include using namespace std; int main () { // this is going to be a little odd; for some reason, as soon as you //run the program, it will exit so fast, that Jaws does not see it. So, //we are going to get some user input to slow it down. cout << "Hello World" << "!\n"; string YourName; cout << "What is your name" << "?\n"; getline (cin, YourName); cout << "Hello " << YourName << ".\n"; cout << "type exit to exit!" << "\n"; string GoodBy; cin >> GoodBy; //watch, when you run the program, you will not see this next line cout << "Good by " << YourName; return 0; } Press alt Go to the debug menu Press down Go to "start debugging" Press enter Press enter again. Run through the program. That's more or less it. If you have any questions, just ask! -------------- next part -------------- An HTML attachment was scrubbed... URL: From tward1978 at earthlink.net Sun Jun 18 23:22:08 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sun, 18 Jun 2006 18:22:08 -0400 Subject: [AGDev-newbies] microsoft visual C++ 2005 express In-Reply-To: <000901c692d8$1b9ec8e0$c9ad1c42@gadolum18z9hrn> References: <006001c69215$11203610$c9ad1c42@gadolum18z9hrn> <4494B82C.6090905@earthlink.net> <000901c692d8$1b9ec8e0$c9ad1c42@gadolum18z9hrn> Message-ID: <4495D210.6010102@earthlink.net> Hi, Richard. Good to hear you are getting somewhere with it. If it makes you feel better this isn't recommended by MS, but once I create my project files I often export the files and edit with notepad or something, and then open them with VC++, and compile. The down side is the Visual C++ editor does all the formatting for you, and if you don't continue formatting code while you are in notepad your code will visually look like crap. Especially, when you view it on a braille display. Richard Bennett wrote: > Hey Tom, thanks for answering my questions that I had about Visual > C++. Just to let you know, JAWS 4.51 works ok with Visual C++, or at > least I can figure out how to do some things in there. I am just now > trying to get it configured so that it will work better and trying to > write a small program to see how it works. BTW, loved your "guess > again" it made me laugh early this morning. > Thanks, > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From tward1978 at earthlink.net Sun Jun 18 23:24:35 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sun, 18 Jun 2006 18:24:35 -0400 Subject: [AGDev-newbies] visual C++ In-Reply-To: <007301c692da$60ffa3d0$c9ad1c42@gadolum18z9hrn> References: <004801c6927c$1de191c0$c9ad1c42@gadolum18z9hrn> <4494BFC5.30304@earthlink.net> <007301c692da$60ffa3d0$c9ad1c42@gadolum18z9hrn> Message-ID: <4495D2A3.2010209@earthlink.net> Hi, Richard. Oh, I know about money being tight. However, in the future I should keep tabs of what people are using before I open my trap and suggest products. Allot of them now days need screen reader version x as well as operating system version x. Missing one or both of those requirements end up with less than desirable results. Richard Bennett wrote: > Hey Thomas, thanks for these answers as well. I am currently in the > process of getting an upgrade to JAWS 7.0 or 7.1 for school use as > well as personal use. So hopefully that will improve the accessibility > of the IDE. I know it is ancient, but with little money I can't afford > an upgrade, and must deal with what I have, lol. Even when it is as > ancient as what I have, lol. Thanks again, > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From tward1978 at earthlink.net Sun Jun 18 23:48:02 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sun, 18 Jun 2006 18:48:02 -0400 Subject: [AGDev-newbies] finally got it In-Reply-To: <00d001c6930b$33f18f30$c9ad1c42@gadolum18z9hrn> References: <00d001c6930b$33f18f30$c9ad1c42@gadolum18z9hrn> Message-ID: <4495D822.2060302@earthlink.net> Hi, Richard. I know others have asked for this, but do you want me to work on a simple game in C++ which will show you how to use DirectX etc in your games after I release the Monty demo? I think you and others here will learn much from a heavily commented free arcade game like space invaders or chopper command or something which shows the concepts. Richard Bennett wrote: > Hey listers, after much work on just a basic menu program, I FINALLY > GOT IT!!! I m so happy that I figured this out finally. It isn't how I > had planned to get it to work, but hey, it works, lol. I just wanted > to let everyone know that I got it to work. What I had to do is create > a for loop and let a variable increment through the limits that I set > for it, but it works, finally. It isn't pretty coding, but now that I > have it working, I can play around with it and get it to look pretty, > hopefully. I am now finally going to work on a free game that I want > to create. Which means I will be sending another e-mail to the list > shortly asking question on how to do something else, lol. Maybe I > won't have to, now I am gonna try and figure that problem out. Thanks > to everyone who helped me try and figure this out. > > Richard Bennett *BEAN* > Georgia State Phi Beta Lambda(PBL) Secretary > personal e-mail: > rbennett at southlink.us > Windows Messenger(or MSN messenger): > ichabodsparrow at hotmail.com > ------------------------------------------------------------------------ > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006 > From tward1978 at earthlink.net Sun Jun 18 23:55:08 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sun, 18 Jun 2006 18:55:08 -0400 Subject: [AGDev-newbies] visual C++ In-Reply-To: <005f01c69321$4657c980$0505a8c0@music17> References: <005f01c69321$4657c980$0505a8c0@music17> Message-ID: <4495D9CC.4080109@earthlink.net> Hi, Sean. If you are wondering why the program runs and quits so fast is because it is meant to be run from a Dos box. It has no Window of it's own. So if you go to run, type command, and then run the program from location x you can then see it printed to the screen perfectly. From tward1978 at earthlink.net Mon Jun 19 00:46:22 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Sun, 18 Jun 2006 19:46:22 -0400 Subject: [AGDev-newbies] microsoft visual C++ 2005 express In-Reply-To: <005501c69312$5f6e5b00$0505a8c0@music17> References: <005501c69312$5f6e5b00$0505a8c0@music17> Message-ID: <4495E5CE.6040006@earthlink.net> Hmmm.... That is interesting. Now, I use Pro for my major game projects, but I could sware that Visual C++ Express has the Win32 Windows Application project type.I know it does for C#.net and VB.net express. I'm going to be doing some product recoveries this week and after I do I plan to install Express, and I will check it out. Sean Mealin wrote: > Hi, > Uhh.... tom? I am using the express addition of Visual C++ 2005 and it will > only let me create Win32 Console applications. Is it just me? Am I missing > something? > Thanks > From seanpm at triad.rr.com Mon Jun 19 02:36:35 2006 From: seanpm at triad.rr.com (Sean Mealin) Date: Sun, 18 Jun 2006 21:36:35 -0400 Subject: [AGDev-newbies] visual C++ In-Reply-To: <4495D9CC.4080109@earthlink.net> Message-ID: <007b01c69340$cd8037c0$0505a8c0@music17> Ahh, I thought it might be something like that. Thanks -----Original Message----- From: agdev-newbies-bounces at lists.agdev.org [mailto:agdev-newbies-bounces at lists.agdev.org] On Behalf Of Thomas Ward Sent: Sunday, June 18, 2006 6:55 PM To: Friendly informal list for those new to AG development Subject: Re: [AGDev-newbies] visual C++ Hi, Sean. If you are wondering why the program runs and quits so fast is because it is meant to be run from a Dos box. It has no Window of it's own. So if you go to run, type command, and then run the program from location x you can then see it printed to the screen perfectly. _______________________________________________ AGDev-newbies mailing list AGDev-newbies at lists.agdev.org http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies From rbennett at southlink.us Mon Jun 19 03:06:26 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sun, 18 Jun 2006 22:06:26 -0400 Subject: [AGDev-newbies] finally got it References: <00d001c6930b$33f18f30$c9ad1c42@gadolum18z9hrn> <4495D822.2060302@earthlink.net> Message-ID: <016601c69344$f9620e50$c9ad1c42@gadolum18z9hrn> Hey Thomas, I would absolutely love that. That is the way that I basically taught myself how to program in the past 2 game programming classes. By typing in the code examples in the book, they were heavily commented and then the author would go back and cover the code snipits with explanations of what they do and why. So yes sir, I would love for you to do this. Thanks for offering to do this. BEAN From seanpm at triad.rr.com Mon Jun 19 03:53:51 2006 From: seanpm at triad.rr.com (Sean Mealin) Date: Sun, 18 Jun 2006 22:53:51 -0400 Subject: [AGDev-newbies] finally got it In-Reply-To: <4495D822.2060302@earthlink.net> Message-ID: <008c01c6934b$a84e6ca0$0505a8c0@music17> Hay hay! Go Tom! Hehehe..... that means I like that idea for anyone who does not speak HavingTroubleWithDirectX language. -----Original Message----- From: agdev-newbies-bounces at lists.agdev.org [mailto:agdev-newbies-bounces at lists.agdev.org] On Behalf Of Thomas Ward Sent: Sunday, June 18, 2006 6:48 PM To: Friendly informal list for those new to AG development Subject: Re: [AGDev-newbies] finally got it Hi, Richard. I know others have asked for this, but do you want me to work on a simple game in C++ which will show you how to use DirectX etc in your games after I release the Monty demo? I think you and others here will learn much from a heavily commented free arcade game like space invaders or chopper command or something which shows the concepts. Richard Bennett wrote: > Hey listers, after much work on just a basic menu program, I FINALLY > GOT IT!!! I m so happy that I figured this out finally. It isn't how I > had planned to get it to work, but hey, it works, lol. I just wanted > to let everyone know that I got it to work. What I had to do is create > a for loop and let a variable increment through the limits that I set > for it, but it works, finally. It isn't pretty coding, but now that I > have it working, I can play around with it and get it to look pretty, > hopefully. I am now finally going to work on a free game that I want > to create. Which means I will be sending another e-mail to the list > shortly asking question on how to do something else, lol. Maybe I > won't have to, now I am gonna try and figure that problem out. Thanks > to everyone who helped me try and figure this out. > > Richard Bennett *BEAN* > Georgia State Phi Beta Lambda(PBL) Secretary > personal e-mail: > rbennett at southlink.us > Windows Messenger(or MSN messenger): > ichabodsparrow at hotmail.com > ------------------------------------------------------------------------ > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006 > _______________________________________________ AGDev-newbies mailing list AGDev-newbies at lists.agdev.org http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies From rbennett at southlink.us Mon Jun 19 04:07:35 2006 From: rbennett at southlink.us (Richard Bennett) Date: Sun, 18 Jun 2006 23:07:35 -0400 Subject: [AGDev-newbies] finally got it References: <008c01c6934b$a84e6ca0$0505a8c0@music17> Message-ID: <01bd01c6934d$84876b30$c9ad1c42@gadolum18z9hrn> well I don't know anything about coding for directx or any coding for direct for that matter. I am awaiting this learning time. Bring it on! From tward1978 at earthlink.net Mon Jun 19 05:39:20 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Mon, 19 Jun 2006 00:39:20 -0400 Subject: [AGDev-newbies] finally got it In-Reply-To: <016601c69344$f9620e50$c9ad1c42@gadolum18z9hrn> References: <00d001c6930b$33f18f30$c9ad1c42@gadolum18z9hrn> <4495D822.2060302@earthlink.net> <016601c69344$f9620e50$c9ad1c42@gadolum18z9hrn> Message-ID: <44962A78.4070209@earthlink.net> Hi. Ok, well, sounds like a fun little project. I can rewrite some simple arcade clasic like chopper command or missile command at the same time get the rust off of my C++ skills. I'll need the refresher course myself. Grin. I've been working with C#.net so long some of the Win32 programming, creating timers, and other things I have if not forgotten have certainly become rather fuzzy. In fact if I get fuzzy on something you can perhaps remind me of a thing or two. Richard Bennett wrote: > Hey Thomas, I would absolutely love that. That is the way that I > basically taught myself how to program in the past 2 game programming > classes. By typing in the code examples in the book, they were heavily > commented and then the author would go back and cover the code snipits > with explanations of what they do and why. So yes sir, I would love > for you to do this. Thanks for offering to do this. > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From tward1978 at earthlink.net Mon Jun 19 05:46:01 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Mon, 19 Jun 2006 00:46:01 -0400 Subject: [AGDev-newbies] finally got it In-Reply-To: <008c01c6934b$a84e6ca0$0505a8c0@music17> References: <008c01c6934b$a84e6ca0$0505a8c0@music17> Message-ID: <44962C09.7040702@earthlink.net> Hi, Sean. Huh? DirectX is not a language it is a development kit. One fortunately able to be used by many different languages. Sean Mealin wrote: > Hay hay! Go Tom! > Hehehe..... that means I like that idea for anyone who does not speak > HavingTroubleWithDirectX language. > From seanpm at triad.rr.com Mon Jun 19 06:28:44 2006 From: seanpm at triad.rr.com (Sean Mealin) Date: Mon, 19 Jun 2006 01:28:44 -0400 Subject: [AGDev-newbies] finally got it In-Reply-To: <44962C09.7040702@earthlink.net> Message-ID: <009401c69361$3c369a40$0505a8c0@music17> Naa..... Never mind. I know it is a SDK but I meant to imply that I was having trouble with it. I just messed up the fraising. Just ignore me.... smile. (Also, check the spelling. That might make it a little clearer. Or, maybe not! Maybe I should have put, "the language of: HavingTroubleWithDirectX.") Shrug. Well, short answer is I like your idea. -----Original Message----- From: agdev-newbies-bounces at lists.agdev.org [mailto:agdev-newbies-bounces at lists.agdev.org] On Behalf of Thomas Ward Sent: Monday, June 19, 2006 12:46 AM To: Friendly informal list for those new to AG development Subject: Re: [AGDev-newbies] finally got it Hi, Sean. Huh? DirectX is not a language it is a development kit. One fortunately able to be used by many different languages. Sean Mealin wrote: > Hay hay! Go Tom! > Hehehe..... that means I like that idea for anyone who does not speak > HavingTroubleWithDirectX language. > _______________________________________________ AGDev-newbies mailing list AGDev-newbies at lists.agdev.org http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies From tward1978 at earthlink.net Mon Jun 19 08:09:04 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Mon, 19 Jun 2006 03:09:04 -0400 Subject: [AGDev-newbies] finally got it In-Reply-To: <009401c69361$3c369a40$0505a8c0@music17> References: <009401c69361$3c369a40$0505a8c0@music17> Message-ID: <44964D90.2010906@earthlink.net> Hmmm... Upon reading your original post I think it might have been best to say "I am having trouble with DirectX with my language or with C++." Either way I now know what you mean and it is cool. From k4nkz at comcast.net Mon Jun 19 08:12:38 2006 From: k4nkz at comcast.net (K4NKZ Jim Ardin) Date: Mon, 19 Jun 2006 03:12:38 -0400 Subject: [AGDev-newbies] finally got it References: <009401c69361$3c369a40$0505a8c0@music17> <44964D90.2010906@earthlink.net> Message-ID: <000301c6936f$bfa1c220$6401a8c0@DH305Q91> tom! what are you doing up? go to bed! ----- Original Message ----- From: "Thomas Ward" To: "Friendly informal list for those new to AG development" Sent: Monday, June 19, 2006 3:09 AM Subject: Re: [AGDev-newbies] finally got it > Hmmm... Upon reading your original post I think it might have been best to > say "I am having trouble with DirectX with my language or with C++." > Either way I now know what you mean and it is cool. > > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > __________ NOD32 1.1606 (20060617) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > From tward1978 at earthlink.net Mon Jun 19 08:16:51 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Mon, 19 Jun 2006 03:16:51 -0400 Subject: [AGDev-newbies] Sample game. In-Reply-To: <009401c69361$3c369a40$0505a8c0@music17> References: <009401c69361$3c369a40$0505a8c0@music17> Message-ID: <44964F63.8050209@earthlink.net> Hi, guys. Since I am going to be writing a sample project I am thinking a really cool game to use would be Asteroids. Only thing is the game would be far from simple from a beginners standpoint. For example there is some calculus involved in calculating vectors for the different game objects, asteroids multiply when shot, and well I would also probably want to use a 3D surround sound feel to it. the game would be cooler than all heck, but I might be jumping ahead of myself. I can see a good side and bad side to this. If I did Asteroids it would largely show you guys what a real game looks like in the inside math, sound, input, and all. On the bad side since most of you have never programmed before I feel the tutorial program would be massively overwelming. Would you like me to attempt a more complex game like Asteroids, or something far simpler like Missile command? Thanks. From z2004a1 at columbus.rr.com Mon Jun 19 16:00:56 2006 From: z2004a1 at columbus.rr.com (Tim) Date: Mon, 19 Jun 2006 11:00:56 -0400 Subject: [AGDev-newbies] Sample game. In-Reply-To: <44964F63.8050209@earthlink.net> References: <009401c69361$3c369a40$0505a8c0@music17> <44964F63.8050209@earthlink.net> Message-ID: <7.0.1.0.2.20060619105949.022b5d58@columbus.rr.com> I think Asteroids would be cool to see and learn from. it could lead us to other types of games, and how it looks together. At 03:16 AM 6/19/2006, you wrote: >Hi, guys. >Since I am going to be writing a sample project I am thinking a >really cool game to use would be Asteroids. Only thing is the game >would be far from simple from a beginners standpoint. For example >there is some calculus involved in calculating vectors for the >different game objects, asteroids multiply when shot, and well I >would also probably want to use a 3D surround sound feel to it. the >game would be cooler than all heck, but I might be jumping ahead of myself. >I can see a good side and bad side to this. If I did Asteroids it >would largely show you guys what a real game looks like in the >inside math, sound, input, and all. On the bad side since most of >you have never programmed before I feel the tutorial program would >be massively overwelming. >Would you like me to attempt a more complex game like Asteroids, or >something far simpler like Missile command? >Thanks. > >_______________________________________________ >AGDev-newbies mailing list >AGDev-newbies at lists.agdev.org >http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies From rbennett at southlink.us Mon Jun 19 16:10:13 2006 From: rbennett at southlink.us (Richard Bennett) Date: Mon, 19 Jun 2006 11:10:13 -0400 Subject: [AGDev-newbies] finally got it References: <00d001c6930b$33f18f30$c9ad1c42@gadolum18z9hrn> <4495D822.2060302@earthlink.net><016601c69344$f9620e50$c9ad1c42@gadolum18z9hrn> <44962A78.4070209@earthlink.net> Message-ID: <001e01c693b2$79ba1da0$c9ad1c42@gadolum18z9hrn> Hey Tom, I can remind you of the stuff that I know, which is a few basic things, but maybe they can help if you get fuzzy. Anyways looking forward to it, my friend, looking forward to it. BEAN From tward1978 at earthlink.net Tue Jun 20 00:55:53 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Mon, 19 Jun 2006 19:55:53 -0400 Subject: [AGDev-newbies] finally got it In-Reply-To: <001e01c693b2$79ba1da0$c9ad1c42@gadolum18z9hrn> References: <00d001c6930b$33f18f30$c9ad1c42@gadolum18z9hrn> <4495D822.2060302@earthlink.net><016601c69344$f9620e50$c9ad1c42@gadolum18z9hrn> <44962A78.4070209@earthlink.net> <001e01c693b2$79ba1da0$c9ad1c42@gadolum18z9hrn> Message-ID: <44973989.4020300@earthlink.net> Hi, Richard. One thing I am noticing when you learn several different programming languages, too many languages, you begin to blend and forget things specific to that language. Some C++ programmers might laugh at this, but there is a logical explanation about what I am going to say next. For the last year or so I have been doing major development projects in C#.NET. Well, it looks like C++ in many ways, but you will find sometimes the little differences can become big problems if you forget them. Ok, so today I started on a quick skeliton project for my free game. Ran it through Visual C++ to see if it builds. Had a stream of errors as long as your arm. What was the problem? Well, in all of my classes I left off the cemmi at the end of the class. You se in C#.NET you do not use a cemmi to terminate a class, but in C++ it is necessary. So my months of C#.NET has conditioned me not to use them, I forget, and of course Visual C++ was quick to remind me, "Hey, idiot! You forgot something major!" So if I do a C++ project for you guys it will largely be a refresher course for myself. I know he nuts and bolts of what I am doing, but I might have to look something up now and then to remember how to do something. Richard Bennett wrote: > Hey Tom, I can remind you of the stuff that I know, which is a few > basic things, but maybe they can help if you get fuzzy. Anyways > looking forward to it, my friend, looking forward to it. > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From rbennett at southlink.us Tue Jun 20 16:58:45 2006 From: rbennett at southlink.us (Richard Bennett) Date: Tue, 20 Jun 2006 11:58:45 -0400 Subject: [AGDev-newbies] sounds and code protection Message-ID: <011201c69482$6954c3e0$c9ad1c42@gadolum18z9hrn> Hey listers, I am currently planning a free game that will give me experience in sound gaming, menus, and other such lovely things. Here is the question that I have. Do audio game programmers use dat files to protect their sound files from being stolen, or do you just let people have your sounds? With Allegro(this is what I am currently using) it comes with something to help protect sounds, graphics, and other such things like that. But what I was wanting to know is if most audio game programmers use something to protect their sounds or not. Also how does one protect their code when distrubuting their games? Richard Bennett *BEAN* Georgia State Phi Beta Lambda(PBL) Secretary personal e-mail: rbennett at southlink.us Windows Messenger(or MSN messenger): ichabodsparrow at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From k4nkz at comcast.net Tue Jun 20 18:59:23 2006 From: k4nkz at comcast.net (K4NKZ Jim Ardin) Date: Tue, 20 Jun 2006 13:59:23 -0400 Subject: [AGDev-newbies] is any one a lyve out their Message-ID: <000301c69493$43676230$6401a8c0@DH305Q91> just seeing if any one is a lyve out their from someone that is not! *** --- *** --- *** Have A Nice Day, From Jim Ardin eMail = K4NKZ at comcast.net From rbennett at southlink.us Tue Jun 20 21:17:33 2006 From: rbennett at southlink.us (Richard Bennett) Date: Tue, 20 Jun 2006 16:17:33 -0400 Subject: [AGDev-newbies] is any one a lyve out their References: <000301c69493$43676230$6401a8c0@DH305Q91> Message-ID: <015801c694a6$91f125e0$c9ad1c42@gadolum18z9hrn> oh yeah I am here just working on a small game. It is quite difficult to type correctly though when I use certain keys that my pinky hits when somehow I have cut my pinky and keep hitting that certain spot everytime I need to hit those keys, lol, but have to keep going. BEAN From rbennett at southlink.us Tue Jun 20 21:19:56 2006 From: rbennett at southlink.us (Richard Bennett) Date: Tue, 20 Jun 2006 16:19:56 -0400 Subject: [AGDev-newbies] finally got it References: <00d001c6930b$33f18f30$c9ad1c42@gadolum18z9hrn> <4495D822.2060302@earthlink.net><016601c69344$f9620e50$c9ad1c42@gadolum18z9hrn> <44962A78.4070209@earthlink.net><001e01c693b2$79ba1da0$c9ad1c42@gadolum18z9hrn> <44973989.4020300@earthlink.net> Message-ID: <015901c694a6$e637b3d0$c9ad1c42@gadolum18z9hrn> Yo Tom, I definitely noticed that quarter before last when I was trying to learn C++(game design 1) while taking advanced VB6(waste of my time and credit hours) I would put simicolons at the end of each line in VB6 and would have so many errors, it was pathetic. No matter what the only function I could get to work constantly in VB666, oops meant VB6,*grin* was the quit function. Ya know the: private sub end end sub that is the only one that would work the first time, everytime, *grin* BEAN From tward1978 at earthlink.net Tue Jun 20 23:35:59 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Tue, 20 Jun 2006 18:35:59 -0400 Subject: [AGDev-newbies] sounds and code protection In-Reply-To: <011201c69482$6954c3e0$c9ad1c42@gadolum18z9hrn> References: <011201c69482$6954c3e0$c9ad1c42@gadolum18z9hrn> Message-ID: <4498784F.7070401@earthlink.net> Hi, Richard. Ok, I'll start with your original question about sound effects. There are several ways to do this effectively, but each does have security breeches as well. As far as the accessible game comunity using sound protection I've seen mixed results. For example Draconis Entertainment uses *.esp files to attempt to protect it's sound files on games like Pinball, Monkey Business, etc. However, some of there titles like Aliens in the Outback have no protection on the effects and you can edit them etc. GMA has the same kind of setup. Older games like Trek 2000 and Lonewolf have no protection where SOD, Tank Commander, etc do have sound protection. So protecting your sounds largely is your decision alone. However, in both cases what Draconis and GMA won't tell you is while the sounds seam secure the methods they use are pretty common, and can be pretty easily hacked. I don't think either company would like if I would disclose the methods to crack there protection schemas publically so I won't, but I will say it doesn't take much to get past the protection they have in place, and get at the sound effects. That said there are methods that will make your sound effects pretty secure, and since you are using C++ you can actually use higher quality protection on your files. For example one thing you can do is add your sound effects as a build resource. I don't think open source compilers can do this, but in Visual C++ I know you can add your sound files to the *.rc resource scripts, and it will then be compiled directly in to your *.exe file. The security is obvious. Once compiled in no one can get at it without allot of work, but there is still one way to steel your sounds that there is no protection against. I know in most cracking and steeling circles if the cracker can't get directly to your files, and then all they need to do is turn waveout recording on in the volume control, and record the game, and then trim the files and still have your sounds. In other words if someone wants it bad enough there is 0 ways to totally secure your sounds. So I figured why go through the trouble of securing sounds when I can't insure no one can steall them anyway. As for protecting your programs can you explain further what you mean. Are you talking about licensing software, are you talking encrypting your binary, encrypting your settings, etc? From rbennett at southlink.us Wed Jun 21 02:47:12 2006 From: rbennett at southlink.us (Richard Bennett) Date: Tue, 20 Jun 2006 21:47:12 -0400 Subject: [AGDev-newbies] sounds and code protection References: <011201c69482$6954c3e0$c9ad1c42@gadolum18z9hrn> <4498784F.7070401@earthlink.net> Message-ID: <01a601c694d4$9f48be00$c9ad1c42@gadolum18z9hrn> Hey Tom, I am talking about my source code, how would I be able to stop people from getting and being able to view source code and changing it and modifying the code and selling it as a new improved game. I see what you are talking about with the sound files and probably won't protect them and just give them to people with the download. But I do however want to protect my source code. Does this explain what I am trying to ask? lol, It does to me, because I know what I am asking, I don't always know how to explain myself cause I know what I am trying to say and there is usually a pebcak error(pebcak=problem exists between char and keyboard) BEAN From tward1978 at earthlink.net Thu Jun 22 03:40:57 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Wed, 21 Jun 2006 22:40:57 -0400 Subject: [AGDev-newbies] sounds and code protection In-Reply-To: <01a601c694d4$9f48be00$c9ad1c42@gadolum18z9hrn> References: <011201c69482$6954c3e0$c9ad1c42@gadolum18z9hrn> <4498784F.7070401@earthlink.net> <01a601c694d4$9f48be00$c9ad1c42@gadolum18z9hrn> Message-ID: <449A0339.8050706@earthlink.net> Hi, Richard. As far as source code security goes this really depends on the language in question. Let me give you some different problems and fixes. With Java and .NET languages to be portable across platforms they are compiled to an intermediate state which can be hacked and restored to readable source code. That is why there are programs called obfuscation tools which scrambles the il code in such a way the jre or .net framework can run the code, but it is so scrambled it can not be restored to readable source code. With languages like C++ they do have some grater security. Unlike .net and Java languages C++ apps are compiled down to assembly, and then converted to binary. Well, a cracker can't bring the code all the way back from binary to C++, but they can use a dissasembler to convert it to assembly which can be edited assuming the person doing the cracking knows the assembly language and reassemble. This is obviously allot harder to get at than the .NET languages. However, is not 100% secure. For that reason there are tools like Molebox and other similar products that will encrypt your program, and run as an exe file, but actually contain your original binary, and sometimes be able to pack your sound effects, etc inside the Molebox file which would have to be cracked before they could then crack your binary file. I have recently seen some sort of binary obfuscation tools that somehow scrambled the binary code like it does IL code so that the binary can not be reversed in to assembly. Does that answer your questions? Richard Bennett wrote: > Hey Tom, I am talking about my source code, how would I be able to > stop people from getting and being able to view source code and > changing it and modifying the code and selling it as a new improved > game. I see what you are talking about with the sound files and > probably won't protect them and just give them to people with the > download. But I do however want to protect my source code. Does this > explain what I am trying to ask? lol, It does to me, because I know > what I am asking, I don't always know how to explain myself cause I > know what I am trying to say and there is usually a pebcak > error(pebcak=problem exists between char and keyboard) > BEAN > _______________________________________________ > AGDev-newbies mailing list > AGDev-newbies at lists.agdev.org > http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies > > From rbennett at southlink.us Thu Jun 22 03:46:26 2006 From: rbennett at southlink.us (Richard Bennett) Date: Wed, 21 Jun 2006 22:46:26 -0400 Subject: [AGDev-newbies] sounds and code protection References: <011201c69482$6954c3e0$c9ad1c42@gadolum18z9hrn> <4498784F.7070401@earthlink.net><01a601c694d4$9f48be00$c9ad1c42@gadolum18z9hrn> <449A0339.8050706@earthlink.net> Message-ID: <01b401c695a6$1da01ce0$c9ad1c42@gadolum18z9hrn> yes sir, most definitely it answered my question, but raised another one. I am new at this protecting code stuff and want to learn how to protect the source code. Where does one get the obfuscation programs? Also how do they work? I doubt they are free, so how much does one cost? Sorry for so many questions, but I want to learn this stuff. lol. Talk with everyone possibly over the next week, but more than likely next wednesday since I will be going on a school trip for PBL and will be competiting nationally in C++, so wish me luck, lol. BEAN From tward1978 at earthlink.net Thu Jun 22 05:32:30 2006 From: tward1978 at earthlink.net (Thomas Ward) Date: Thu, 22 Jun 2006 00:32:30 -0400 Subject: [AGDev-newbies] sounds and code protection In-Reply-To: <01b401c695a6$1da01ce0$c9ad1c42@gadolum18z9hrn> References: <011201c69482$6954c3e0$c9ad1c42@gadolum18z9hrn> <4498784F.7070401@earthlink.net><01a601c694d4$9f48be00$c9ad1c42@gadolum18z9hrn> <449A0339.8050706@earthlink.net> <01b401c695a6$1da01ce0$c9ad1c42@gadolum18z9hrn> Message-ID: <449A1D5E.6080302@earthlink.net> Hi, Richard. Well, there is several different options out there for obfuscation for IL type languages, and several kinds of exe encryption and resource packing programs for binary programs. As you suspected they are not free, and usually are not cheap. I have seen such tools range from $200 or so up to $2000. Here is a few products I know about and have heard by reputation are good to look at. Molebox resource packing tool. This program packs your entire file in to a single *.exe file which is encrypted, and is dificult to crack your binaries, steell graphics, steel sounds, etc. Works best for C++ programs which I know you are using. http://www.molebox.com Preemtive solutions. They make the worlds best known obfuscation tools for Java and .NET runtime applications. They do have a free comunity addition of there obfuscation tools such as Dotfuscator, but I have heard they lack the security of dotfuscator Pro and Dotfuscator Enterprise. Don't quote me on this, but I believe there site is http://www.preemtive.com Strong Bit Technologies. They create products for .NET IL languages as well as for C++ binary applications. Of most interest to you Richard would be the exe encrypter which encrypts your binary exe files an dll files so they can not be converted back in to assembly. They also make hardkey license manager for licensing your software with product keys. There site is obviously http://www.strongbit.com