Re: [Audyssey] another error with the game.
Hi muhammed. Copying random bits of code won't magically make a game like, just like throwing random things in a bowl won't bake you a cake. Logically think out what you want the game to do, then see how it should be done and then copy the code if you must, but idealy you should understand what should happen. On 3/27/2010 12:02 AM, Muhammed Deniz wrote: I coppyed abit from Phils script. Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed - Original Message - From: "Andy" To: "Gamers Discussion list" Sent: Friday, March 26, 2010 10:00 PM Subject: Re: [Audyssey] another error with the game. Hi, This... Is a mess. Firstly, to load your sounds you have to make them sound objects, I believe. So: sound gunsound; gunsound.load("gun4.wav"); gunsound.play(); Etc etc. In line 6 (excluding all blank lines): double y_position=10.10 There should be a semicolon at the end of that line... In the first line of your void function: Show_game_window("City Attack");" There should not be a quotation mark aftr the semicolon... I'm not exactly sure what the rest of this is for, but I'll point out some flaws anyway. I noticed that in a lot of string variables, such as this one: String=City attack",...; The idea is to have the quotes around the text inside the string, and nothing else. Also make sure you're closing out your functions as well the right way. In line 15 (excluding blank lines), which is a left brace by itself, I'm not sure why that's there. There's a ton of other things here--I'd recommend reading this over, because some of this is a little whacky. Hope this helps a bit. Muhammed Deniz wrote: Ok. Here is the code. //City attack! //A fighting game for the blind. gun.wav; punch4.wav; double x_position=1.1; double y_position=10.10 bool falling=false; void main() { Show_game_window("City Attack");" // Play the introduction, allowing the user to press enter to skip String=City attack",...; "String= "name Muhammed Deniz",... ; Int age =11 ; { start_game(); gun.load("sounds/gun.wav if(gun.==false) sound_error("gun.wav"); } punch4.wav.("loadsounds/punch4.wav/") if(punch4.wav.active==false) sound_error("punch4.wav"); } Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed - Original Message - From: "Ryan Smith" To: "Gamers Discussion list" Sent: Friday, March 26, 2010 9:21 PM Subject: Re: [Audyssey] another error with the game. Hi Muhammed, It makes our job much easier if you posted the code along with the error messages. This allows us to explain the problem and help you fix the code. Usually, just posting an error message doesn't give us that much information on your problem. Thanks. -Ryan www.rsgames.co.nr On Fri, Mar 26, 2010 at 5:13 PM, Muhammed Deniz wrote: Hi guys, This is another error. The same one is at the very end as this is a long one. Section: Line: 4 (4) Error: Expected identifier Section: Line: 5 (7) Error: Expected identifier Section: Line: 23 (7) Error: Expected identifier Section: Line: 26 (1) Error: Unexpected token '}' Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers m
Re: [Audyssey] another error with the game.
Hi, Something else...you did not actually declar a string variable. If I wrote string = "Hayden", I am not defining a variable. However, if I were to write string MyName = "Hayden", that would be correct. HTH, Hayden -Original Message- From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On Behalf Of Andy Sent: Friday, March 26, 2010 5:00 PM To: Gamers Discussion list Subject: Re: [Audyssey] another error with the game. Hi, This... Is a mess. Firstly, to load your sounds you have to make them sound objects, I believe. So: sound gunsound; gunsound.load("gun4.wav"); gunsound.play(); Etc etc. In line 6 (excluding all blank lines): double y_position=10.10 There should be a semicolon at the end of that line... In the first line of your void function: Show_game_window("City Attack");" There should not be a quotation mark aftr the semicolon... I'm not exactly sure what the rest of this is for, but I'll point out some flaws anyway. I noticed that in a lot of string variables, such as this one: String=City attack",...; The idea is to have the quotes around the text inside the string, and nothing else. Also make sure you're closing out your functions as well the right way. In line 15 (excluding blank lines), which is a left brace by itself, I'm not sure why that's there. There's a ton of other things here--I'd recommend reading this over, because some of this is a little whacky. Hope this helps a bit. Muhammed Deniz wrote: > Ok. Here is the code. > //City attack! > > //A fighting game for the blind. > gun.wav; > punch4.wav; > double x_position=1.1; > double y_position=10.10 > bool falling=false; > > void main() > { > Show_game_window("City Attack");" > // Play the introduction, allowing the user to press enter to skip > String=City attack",...; > "String= "name Muhammed Deniz",... ; > Int age =11 ; > { > start_game(); > gun.load("sounds/gun.wav > if(gun.==false) > sound_error("gun.wav"); > } > punch4.wav.("loadsounds/punch4.wav/") > if(punch4.wav.active==false) > sound_error("punch4.wav"); > } > Contact info. > email: > muhamme...@googlemail.com > msn: > muhammed123...@hotmail.co.uk > Skype: > muhammed.deniz > Klango username. > muhammed > - Original Message - From: "Ryan Smith" > To: "Gamers Discussion list" > Sent: Friday, March 26, 2010 9:21 PM > Subject: Re: [Audyssey] another error with the game. > > >> Hi Muhammed, >> It makes our job much easier if you posted the code along with the error >> messages. This allows us to explain the problem and help you fix the >> code. >> Usually, just posting an error message doesn't give us that much >> information >> on your problem. >> >> Thanks. >> -Ryan >> www.rsgames.co.nr >> >> On Fri, Mar 26, 2010 at 5:13 PM, Muhammed Deniz >> wrote: >> >>> Hi guys, >>> This is another error. >>> The same one is at the very end as this is a long one. >>> Section: >>> Line: 4 (4) >>> Error: Expected identifier >>> >>> Section: >>> Line: 5 (7) >>> Error: Expected identifier >>> >>> Section: >>> Line: 23 (7) >>> Error: Expected identifier >>> >>> Section: >>> Line: 26 (1) >>> Error: Unexpected token '}' >>> >>> >>> Contact info. >>> email: >>> muhamme...@googlemail.com >>> msn: >>> muhammed123...@hotmail.co.uk >>> Skype: >>> muhammed.deniz >>> Klango username. >>> muhammed >>> --- >>> Gamers mailing list __ Gamers@audyssey.org >>> If you want to leave the list, send E-mail to >>> gamers-unsubscr...@audyssey.org. >>> You can make changes or update your subscription via the web, at >>> http://audyssey.org/mailman/listinfo/gamers_audyssey.org. >>> All messages are archived and can be searched and read at >>> http://www.mail-archive.com/gam...@audyssey.org. >>> If you have any questions or concerns regarding the management of >>> the list, >>> please send E-mail to gamers-ow...@audyssey.org. >>> >> --- >> Gamers mailing list __ Gamers@audyssey.org >> If you want to leave the list, send E-mail to >> gamers-unsubscr...@audyssey.org. >> You can make changes or update your subscription via the web, at >> http://audyssey.org/mailman/listinfo/gamers_audyssey.org. >> All messages are archived and can be searched and read at >> http://www.m
Re: [Audyssey] another error with the game.
I coppyed abit from Phils script. Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed - Original Message - From: "Andy" To: "Gamers Discussion list" Sent: Friday, March 26, 2010 10:00 PM Subject: Re: [Audyssey] another error with the game. Hi, This... Is a mess. Firstly, to load your sounds you have to make them sound objects, I believe. So: sound gunsound; gunsound.load("gun4.wav"); gunsound.play(); Etc etc. In line 6 (excluding all blank lines): double y_position=10.10 There should be a semicolon at the end of that line... In the first line of your void function: Show_game_window("City Attack");" There should not be a quotation mark aftr the semicolon... I'm not exactly sure what the rest of this is for, but I'll point out some flaws anyway. I noticed that in a lot of string variables, such as this one: String=City attack",...; The idea is to have the quotes around the text inside the string, and nothing else. Also make sure you're closing out your functions as well the right way. In line 15 (excluding blank lines), which is a left brace by itself, I'm not sure why that's there. There's a ton of other things here--I'd recommend reading this over, because some of this is a little whacky. Hope this helps a bit. Muhammed Deniz wrote: Ok. Here is the code. //City attack! //A fighting game for the blind. gun.wav; punch4.wav; double x_position=1.1; double y_position=10.10 bool falling=false; void main() { Show_game_window("City Attack");" // Play the introduction, allowing the user to press enter to skip String=City attack",...; "String= "name Muhammed Deniz",... ; Int age =11 ; { start_game(); gun.load("sounds/gun.wav if(gun.==false) sound_error("gun.wav"); } punch4.wav.("loadsounds/punch4.wav/") if(punch4.wav.active==false) sound_error("punch4.wav"); } Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed ----- Original Message - From: "Ryan Smith" To: "Gamers Discussion list" Sent: Friday, March 26, 2010 9:21 PM Subject: Re: [Audyssey] another error with the game. Hi Muhammed, It makes our job much easier if you posted the code along with the error messages. This allows us to explain the problem and help you fix the code. Usually, just posting an error message doesn't give us that much information on your problem. Thanks. -Ryan www.rsgames.co.nr On Fri, Mar 26, 2010 at 5:13 PM, Muhammed Deniz wrote: Hi guys, This is another error. The same one is at the very end as this is a long one. Section: Line: 4 (4) Error: Expected identifier Section: Line: 5 (7) Error: Expected identifier Section: Line: 23 (7) Error: Expected identifier Section: Line: 26 (1) Error: Unexpected token '}' Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or con
Re: [Audyssey] another error with the game.
Hi, This... Is a mess. Firstly, to load your sounds you have to make them sound objects, I believe. So: sound gunsound; gunsound.load("gun4.wav"); gunsound.play(); Etc etc. In line 6 (excluding all blank lines): double y_position=10.10 There should be a semicolon at the end of that line... In the first line of your void function: Show_game_window("City Attack");" There should not be a quotation mark aftr the semicolon... I'm not exactly sure what the rest of this is for, but I'll point out some flaws anyway. I noticed that in a lot of string variables, such as this one: String=City attack",...; The idea is to have the quotes around the text inside the string, and nothing else. Also make sure you're closing out your functions as well the right way. In line 15 (excluding blank lines), which is a left brace by itself, I'm not sure why that's there. There's a ton of other things here--I'd recommend reading this over, because some of this is a little whacky. Hope this helps a bit. Muhammed Deniz wrote: Ok. Here is the code. //City attack! //A fighting game for the blind. gun.wav; punch4.wav; double x_position=1.1; double y_position=10.10 bool falling=false; void main() { Show_game_window("City Attack");" // Play the introduction, allowing the user to press enter to skip String=City attack",...; "String= "name Muhammed Deniz",... ; Int age =11 ; { start_game(); gun.load("sounds/gun.wav if(gun.==false) sound_error("gun.wav"); } punch4.wav.("loadsounds/punch4.wav/") if(punch4.wav.active==false) sound_error("punch4.wav"); } Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed ----- Original Message ----- From: "Ryan Smith" To: "Gamers Discussion list" Sent: Friday, March 26, 2010 9:21 PM Subject: Re: [Audyssey] another error with the game. Hi Muhammed, It makes our job much easier if you posted the code along with the error messages. This allows us to explain the problem and help you fix the code. Usually, just posting an error message doesn't give us that much information on your problem. Thanks. -Ryan www.rsgames.co.nr On Fri, Mar 26, 2010 at 5:13 PM, Muhammed Deniz wrote: Hi guys, This is another error. The same one is at the very end as this is a long one. Section: Line: 4 (4) Error: Expected identifier Section: Line: 5 (7) Error: Expected identifier Section: Line: 23 (7) Error: Expected identifier Section: Line: 26 (1) Error: Unexpected token '}' Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] another error with the game.
Ok. Here is the code. //City attack! //A fighting game for the blind. gun.wav; punch4.wav; double x_position=1.1; double y_position=10.10 bool falling=false; void main() { Show_game_window("City Attack");" // Play the introduction, allowing the user to press enter to skip String=City attack",...; "String= "name Muhammed Deniz",... ; Int age =11 ; { start_game(); gun.load("sounds/gun.wav if(gun.==false) sound_error("gun.wav"); } punch4.wav.("loadsounds/punch4.wav/") if(punch4.wav.active==false) sound_error("punch4.wav"); } Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed - Original Message - From: "Ryan Smith" To: "Gamers Discussion list" Sent: Friday, March 26, 2010 9:21 PM Subject: Re: [Audyssey] another error with the game. Hi Muhammed, It makes our job much easier if you posted the code along with the error messages. This allows us to explain the problem and help you fix the code. Usually, just posting an error message doesn't give us that much information on your problem. Thanks. -Ryan www.rsgames.co.nr On Fri, Mar 26, 2010 at 5:13 PM, Muhammed Deniz wrote: Hi guys, This is another error. The same one is at the very end as this is a long one. Section: Line: 4 (4) Error: Expected identifier Section: Line: 5 (7) Error: Expected identifier Section: Line: 23 (7) Error: Expected identifier Section: Line: 26 (1) Error: Unexpected token '}' Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] another error with the game.
Hi Muhammed, It makes our job much easier if you posted the code along with the error messages. This allows us to explain the problem and help you fix the code. Usually, just posting an error message doesn't give us that much information on your problem. Thanks. -Ryan www.rsgames.co.nr On Fri, Mar 26, 2010 at 5:13 PM, Muhammed Deniz wrote: > Hi guys, > This is another error. > The same one is at the very end as this is a long one. > Section: > Line: 4 (4) > Error: Expected identifier > > Section: > Line: 5 (7) > Error: Expected identifier > > Section: > Line: 23 (7) > Error: Expected identifier > > Section: > Line: 26 (1) > Error: Unexpected token '}' > > > Contact info. > email: > muhamme...@googlemail.com > msn: > muhammed123...@hotmail.co.uk > Skype: > muhammed.deniz > Klango username. > muhammed > --- > Gamers mailing list __ Gamers@audyssey.org > If you want to leave the list, send E-mail to > gamers-unsubscr...@audyssey.org. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/gam...@audyssey.org. > If you have any questions or concerns regarding the management of the list, > please send E-mail to gamers-ow...@audyssey.org. > --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
Re: [Audyssey] another error with the game.
Hi, I can't really help you if I can't see any code. You are getting errors because you're not conforming to the proper syntax, although without the code I've no idea what's going wrong. Granted, I'm not a programmer myself, however I've read quite a bit of code, from various sources in various languages, and can follow it ok. So, the code would be helpful indeed. Muhammed Deniz wrote: Hi guys, This is another error. The same one is at the very end as this is a long one. Section: Line: 4 (4) Error: Expected identifier Section: Line: 5 (7) Error: Expected identifier Section: Line: 23 (7) Error: Expected identifier Section: Line: 26 (1) Error: Unexpected token '}' Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.
[Audyssey] another error with the game.
Hi guys, This is another error. The same one is at the very end as this is a long one. Section: Line: 4 (4) Error: Expected identifier Section: Line: 5 (7) Error: Expected identifier Section: Line: 23 (7) Error: Expected identifier Section: Line: 26 (1) Error: Unexpected token '}' Contact info. email: muhamme...@googlemail.com msn: muhammed123...@hotmail.co.uk Skype: muhammed.deniz Klango username. muhammed --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.