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" <musicproa...@gmail.com>
To: "Gamers Discussion list" <gamers@audyssey.org>
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" <computerwi...@gmail.com>
To: "Gamers Discussion list" <gamers@audyssey.org>
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
<muhamme...@googlemail.com>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.


---
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.

Reply via email to