Re: BGT help please.

2016-07-06 Thread AudioGames . net Forum — Developers room : Ishan Dhami via Audiogames-reflector


  


Re: BGT help please.

Hi sneak! I have sent the intro message in Skype please accept my request. ThanksIshan

URL: http://forum.audiogames.net/viewtopic.php?pid=267079#p267079





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-06 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

My skype is alexander16262, feel free to add me.

URL: http://forum.audiogames.net/viewtopic.php?pid=267012#p267012





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-06 Thread AudioGames . net Forum — Developers room : Ishan Dhami via Audiogames-reflector


  


Re: BGT help please.

Hi sneak! I am pretty much interested in programming can you help me through Skype? not you even any game developer please if any game developer is here or have Skype then please write down I will not want to creat a rubbish topics to asking a question over and over So please how it will be cool to contact any gamedev from Skype and any other service where both can talk and share Ideas. What do you think? ThanksIshan

URL: http://forum.audiogames.net/viewtopic.php?pid=266957#p266957





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-04 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

In English, when you write something someone is saying, it's called a quote. You put a quotation mark at the beginning and end of the words the person is saying. Much in the same way you do when coding. I think what you are getting hung up on is it saying left quote. This is possibly a screen-reader feature that is meant to help you keep track of them all. To use quotes all you have to do is put an opening quote like this, ", press shift ', and then to end it just put another one, ".

URL: http://forum.audiogames.net/viewtopic.php?pid=266770#p266770





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-03 Thread AudioGames . net Forum — Developers room : Ishan Dhami via Audiogames-reflector


  


Re: BGT help please.

Hi sneak! are you available in Skype and other sites? because I find that this topic is growing day by day. If I started posting the same question maybe the mods will kick me out. I think it will be good if I can contact you off list. well as for my question. I want to know that how to perform the left quote. I only know the quote symbol which can be used by pressing shift and ' ThanksIshan

URL: http://forum.audiogames.net/viewtopic.php?pid=266729#p266729





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-03 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

Ishan, can you clarify your question on post 13? I don't follow what you're asking. If you want to know how to perform a return, I can do that, but I'm not sure what the " you put in there is suppose to mean.

URL: http://forum.audiogames.net/viewtopic.php?pid=266724#p266724





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-03 Thread AudioGames . net Forum — Developers room : Trajectory via Audiogames-reflector


  


Re: BGT help please.

I wouldn't use MS Word; it's not designed for programming and will likely add formatting and other garbage which will cause problems for the script interpreter. You can simply use Notepad and save the files with a .bgt extention.The files do not have to be in BGT's install directory; you can simply hit enter on the script file to run it, or right-click (press applications) for more options.

URL: http://forum.audiogames.net/viewtopic.php?pid=266695#p266695





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-03 Thread AudioGames . net Forum — Developers room : nibar via Audiogames-reflector


  


Re: BGT help please.

hi, thanks for the tipsnow an other question, can i write the scripts in a word document and must it be in the bgt derectory before i can run it with the compiler?

URL: http://forum.audiogames.net/viewtopic.php?pid=266672#p266672





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : Ishan Dhami via Audiogames-reflector


  


Re: BGT help please.

at post 12 Honestly I feel that this manual is a good one If I am not able to understand it is my fault not the incorrectness of manual.

URL: http://forum.audiogames.net/viewtopic.php?pid=266651#p266651





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : Ishan Dhami via Audiogames-reflector


  


Re: BGT help please.

Hi sneak. I think this will few more time to get a stupid question again. How to type left quote?if I want to use this function with the return statement then how can I do that?  ThanksIshan

URL: http://forum.audiogames.net/viewtopic.php?pid=266650#p266650





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : Trajectory via Audiogames-reflector


  


Re: BGT help please.

@Nibar honestly the BGT manual is probably the best you'll find. It explains everything in detail from the basics of programming all the way to building and optimizing a game. You should be starting with the language tutorial, not the reference section. Take your time, don't copy and paste examples (but actually write them out) and feel free to ask questions when you don't understand something.Don't be discouraged if it takes you several months (or more) to really get the hang of it.

URL: http://forum.audiogames.net/viewtopic.php?pid=266646#p266646





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : nibar via Audiogames-reflector


  


Re: BGT help please.

hiso i tried the bbgt totoryal but can't get to understand something, the manual doesn't explain why you should do things, and it just give shit examples of code that can't be understand. if there is an other manual or something i want to read it. this doesn't explain the things i want to understand. i even have the problem with the basics of coding.

URL: http://forum.audiogames.net/viewtopic.php?pid=266630#p266630





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

You only should ever have one void main() line in your script.the alert function only takes two pieces of data, what will be displayed in the title bar, and what the dialogue box will say. These arguements are both strings. The line below might be able to help you understand a little better.alert(string titleBar, string message);A string is just another variable type that can hold any kind of data, letters, numbers, symbols. The best part about these types of variables is that they can be concatinated to create longer strings. Kind of like when you do 1+1, it would equal 2, but if you tried doing '"Purple "+"eggs", it' would equal "Purple eggs".I'll write the void main loop two different ways to show you the benefits of concatinating.Int apples=5;Int mangos=4;//Void main, the only void main in this script.void main(){//The opening left brace for our main function.//The line below is the first alert function. We provided the following as the titleBar message, "Mangos". We then provided the following as the dialogue message, "You have "+mangos+" Mangos". This line takes three pieces of information and concatenates it into one string of information. So when it displays it will read out You have 4 Mangos. You concatenate two variables together by adding them together like so, “Hello”+” world”alert("Mangos", "You have "+mangos+" mangos");//Same as above, just using apples instead of mangos.alert("Apples", "You have "+apples+" apples");//Same as before, just using mangos and apples along with different strings to create a new message.alert(“All fruits”, “You have a total of “+mangos+apples+” fruit in your basket”);}//The closing brace for our main function.//Now that we understand concatenation, let’s see if we can’t combine all three of those alert functions into one message.Int apples=5;Int mangos=4;Int fruitBasket=apples+mangos;//the only main function defined in our example.Void main(){//Our opening left brace for the main function.Alert(“Fruit basket”< “You have “+mangos+” mangos. You have “+apples+” apples. All together in your basket you have “+fruitBasket+” fruits”);}//The closing right brace to the main functions opening left-brace.I hope this helps.

URL: http://forum.audiogames.net/viewtopic.php?pid=266549#p266549





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

You only should ever have one void main() line in your script.the alert functions only takes two pieces of data, what will be displayed in the title bar, and what the dialogue box will say. These arguements are both strings. The line below might be able to help you understand a little better.alert(string titleBar, string message);A string is just another variable type that can hold any kind of data, letters, numbers, symbols. The best part about these types of variables is that they can be concatinated to create longer strings. Kind of like when you do 1+1, it would equal 2, but if you tried doing '"Purple "+"eggs", it' would equal "Purple eggs".I'll write the void main loop two different ways to show you the benefits of concatinating.Int apples=5;Int mangos=4;//Void main, the only void main in this script.void main(){//The opening left brace for our main function.//The line below is the first alert function. We provided the following as the titleBar message, "Mangos". We then provided the following as the dialogue message, "You have "+mangos+" Mangos". This line takes three pieces of information and concatenates it into one string of information. So when it displays it will read out You have 4 Mangos. You concatenate two variables together by adding them together like so, “Hello”+” world”alert("Mangos", "You have "+mangos+" mangos");//Same as above, just using apples instead of mangos.alert("Apples", "You have "+apples+" apples");//Same as before, just using mangos and apples along with different strings to create a new message.alert(“All fruits”, “You have a total of “+mangos+apples+” fruit in your basket”);}//The closing brace for our main function.//Now that we understand concatenation, let’s see if we can’t combine all three of those alert functions into one message.Int apples=5;Int mangos=4;Int fruitBasket=apples+mangos;//the only main function defined in our example.Void main(){//Our opening left brace for the main function.Alert(“Fruit basket”< “You have “+mangos+” mangos. You have “+apples+” apples. All together in your basket you have “+fruitBasket+” fruits”);}//The closing right brace to the main functions opening left-brace.I hope this helps.

URL: http://forum.audiogames.net/viewtopic.php?pid=266549#p266549





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

You only should ever have one void main() line in your script.the alert functions only takes two pieces of data, what will be displayed in the title bar, and what the dialogue box will say. These arguements are both strings. The line below might be able to help you understand a little better.alert(string titleBar, string message);A string is just another variable type that can hold any kind of data, letters, numbers, symbols. The best part about these types of variables is that they can be concatinated to create longer strings. Kind of like when you do 1+1, it would equal 2, but if you tried doing '"Purple "+"eggs", it' would equal "Purple eggs".I'll write the void main loop two different ways to show you the benefits of concatinating.//Void main, the only void main in this script.Int apples=5;Int mangos=4;void main(){//The opening left brace for our main function.//The line below is the first alert function. We provided the following as the titleBar message, "Mangos". We then provided the following as the dialogue message, "You have "+mangos+" Mangos". This line takes three pieces of information and concatenates it into one string of information. So when it displays it will read out You have 4 Mangos. You concatenate two variables together by adding them together like so, “Hello”+” world”alert("Mangos", "You have "+mangos+" mangos");//Same as above, just using apples instead of mangos.alert("Apples", "You have "+apples+" apples");//Same as before, just using mangos and apples along with different strings to create a new message.alert(“All fruits”, “You have a total of “+mangos+apples+” fruit in your basket”);}//The closing brace for our main function.//Now that we understand concatenation, let’s see if we can’t combine all three of those alert functions into one message.Int apples=5;Int mangos=4;Int fruitBasket=apples+mangos;//the only main function defined in our example.Void main(){//Our opening left brace for the main function.Alert(“Fruit basket”< “You have “+mangos+” mangos. You have “+apples+” apples. All together in your basket you have “+fruitBasket+” fruits”);}//The closing right brace to the main functions opening left-brace.I hope this helps.

URL: http://forum.audiogames.net/viewtopic.php?pid=266549#p266549





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : Ishan Dhami via Audiogames-reflector


  


Re: BGT help please.

Hi lukis I have assigned all of the values  with the comments. but I am getting this error again. I am only stuck in another alert function. please consider these sintacs and help me please. void main() { alert("hello", "I am a BGT script!"); }// mangoes has the value of four. int mangoes=4;// apples have the value of fiveint apples=5;// the fruit basket is a variable which has the value of mangoes plus apples. int fruit_basket=mangoes+apples; void main(){ alert( "fruit count", "the fruit basket has following fruits "mangoes+mangoes", "apples+apples", "in total", the fruit basket contains the following fruits ". "+fruit_basket+fruit in the basket); }and what I get is a Compilation errorFile: E:\sample.bgtOn line: 11 (162)Line: { alert( "fruit count", "the fruit basket has fo
 llowing fruits "mangoes+mangoes", "apples+apples", "in total", the fruit basket contains the following fruits ". "+fruit_basket+fruit in the basket); }Error: Non-terminated string literal

URL: http://forum.audiogames.net/viewtopic.php?pid=266545#p266545





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : Hrvoje via Audiogames-reflector


  


Re: BGT help please.

Also, you must declare variable before you can use it. If you try to use the variable before you declare it's type and define it's values, you will of course get an error.

URL: http://forum.audiogames.net/viewtopic.php?pid=266538#p266538





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-02 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector


  


Re: BGT help please.

// means that this line is a comment. BGT will not try to interpret it.Lukas

URL: http://forum.audiogames.net/viewtopic.php?pid=266532#p266532





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-01 Thread AudioGames . net Forum — Developers room : Ishan Dhami via Audiogames-reflector


  


Re: BGT help please.

Hi sneak very well I will write this code. what do you mean by /  or // in this example? ThanksIshan

URL: http://forum.audiogames.net/viewtopic.php?pid=266524#p266524





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-07-01 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

Here is how I would write what I think you are trying to do here.//Declares a variable called mangos and asigns 4 as the value.int' mangoes=4;//Declares a variable called apples, and asigns 5 as the value.int apples=5;//Declares a variable called fruit_basket and has the value set to mangos plus apples, which is 9 according to our previous declarations.int fruit_basket=mangoes+apples; //This is our main function, a function is a portion of code that is only executed when the function is called. The main function is the very first function that is run after a program is compiled, it's the master function in a way. To tell the compiler what things go inside of the function you use { and }. You just put your code within those two braces as shown in the example below.void main() { alert("hello", "I am a BGT script!");alert("Counting Fruit", "The contents of the fruit basket 
 are as follows, there are "+apples+" apples, and "+mangos+" mangos. In total there are "+fruit_basket+" fruits in the basket.");}

URL: http://forum.audiogames.net/viewtopic.php?pid=266460#p266460





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-06-30 Thread AudioGames . net Forum — Developers room : Ishan Dhami via Audiogames-reflector


  


Re: BGT help please.

Hi sneak. I write this code void main() { alert("hello", "I am a BGT script!"); }int' mangoes=4;int apples=5;int fruit_basket=mangoes+apples; { alert( "add these two numbers"); }and what I get isFile: E:\sample.bgtOn line: 3 (4)Line: int' mangoes=4;Error: Expected identifierFile: E:\sample.bgtOn line: 3 (4)Line: int' mangoes=4;Error: Instead found ''Thanks

URL: http://forum.audiogames.net/viewtopic.php?pid=266435#p266435





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-06-30 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

Consider the following code.int x=0;int y=1;int z=2;void main(){x+y+z;}Now consider the following code and note the differences between the two.int x=0;int y=1;int z=2;void main(){alert("Sum of variables.", "The sum of vairables X, Y, and Z = "+x+y+z);}The difference between these two is that the second one uses an alert function to tell the user what the result of x+y+z is.If you tried to run the first example, it wouldn't appear to be doing anything, but really it's just calculating what x+y+z is and then exiting without displaying the results.

URL: http://forum.audiogames.net/viewtopic.php?pid=266372#p266372





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-06-30 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

Consider the following code.int x=0;int y=1;int z=2;void main(){x+y+z;}Now consider the following code and note the differences between the two.int x=0;int y=1;int z=2void main(){alert("Sum of variables.", "The sum of vairables X, Y, and Z = "+x+y+z);}The difference between these two is that the second one uses an alert function to tell the user what the result of x+y+z is.If you tried to run the first example, it wouldn't appear to be doing anything, but really it's just calculating what x+y+z is and then exiting without displaying the results.

URL: http://forum.audiogames.net/viewtopic.php?pid=266372#p266372





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-06-30 Thread AudioGames . net Forum — Developers room : sneak via Audiogames-reflector


  


Re: BGT help please.

No, consider the following code.int x=0;int y=1;int z=2;void main(){x+y+z;}Now consider the following code and note the differences between the two.int x=0;int y=1;int z=2void main(){alert("Sum of variables.", "The sum of vairables X, Y, and Z = "+x+y+z);}The difference between these two is that the second one uses an alert function to tell the user what the result of x+y+z is.If you tried to run the first example, it wouldn't appear to be doing anything, but really it's just calculating what x+y+z is and then exiting without displaying the results.

URL: http://forum.audiogames.net/viewtopic.php?pid=266372#p266372





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT help please.

2016-06-30 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector


  


Re: BGT help please.

Variables can be used anywhere. If it is in your main function, in a call to the alert function, globally outside any specific function, that doesn't matter. You can do all the things with variables like the ones described in the tutorial anywhere in your code. That's pretty much one of the main points of the variables' existence in the first place. :-)Hope this helps,Lukas

URL: http://forum.audiogames.net/viewtopic.php?pid=266366#p266366





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

BGT help please.

2016-06-30 Thread AudioGames . net Forum — Developers room : Ishan Dhami via Audiogames-reflector


  


BGT help please.

Hi audio game developers! I am learning BGT I really think I can but there is a problem. the problem is that I want to add some variables as Philip add in his manual of BGT. in language sintacs you have read that in heading 5 he explained the variables sections. I understand it theoritacally but I don't know how to perform it. should I use alert function or I have to creat another function to calculate them? or add them? ThanksIshan

URL: http://forum.audiogames.net/viewtopic.php?pid=266361#p266361





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Strangeness function bgt? ;Help please!

2015-03-07 Thread AudioGames . net Forum — Developers room : stewie via Audiogames-reflector


  


Re: Strangeness function bgt? ;Help please!

Try adding a } before void game_play() { You dont have a closing } for the class, so its thinking that game_play is part of the enemy class. Forgive me if Im wrong, but I have limited time to check this. Also I think you dont have the correct number of closes on the void_play function.

URL: http://forum.audiogames.net/viewtopic.php?pid=207760#p207760




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Strangeness function bgt? ;Help please!

2015-03-07 Thread AudioGames . net Forum — Developers room : stewie via Audiogames-reflector


  


Re: Strangeness function bgt? ;Help please!

Try adding a } before void game_play() { You dont have a closing } for the class, so its thinking that game_play is part of the enemy class. Forgive me if Im wrong, but I have limited time to check this. Also I think you dont have the correct number of } on the void_play function.

URL: http://forum.audiogames.net/viewtopic.php?pid=207760#p207760




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Strangeness function bgt? ;Help please!

2015-03-07 Thread AudioGames . net Forum — Developers room : burak via Audiogames-reflector


  


Re: Strangeness function bgt? ;Help please!

Why would it give an error if it wouldnt be a mess?If you type like game(); and dont define void game () it will give you that error. Note: I didnt look at the code, I just told you why the error accured.

URL: http://forum.audiogames.net/viewtopic.php?pid=207723#p207723




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Strangeness function bgt? ;Help please!

2015-03-07 Thread AudioGames . net Forum — Developers room : jonikster via Audiogames-reflector


  


Strangeness function bgt? ;Help please!

Hello!;Here is the error code that the compiler produces:File: C:\Call of duty blinde\Call of duty blinde\Game.bgtOn line: 36 (1)Information: Compiling void main()File: C:\Call of duty blinde\Call of duty blinde\Game.bgtOn line: 85 (1)Line: game_play();Error: No matching signatures to game_play()And here is the code of the game, in which everything is written correctly:#include dynamic_menu.bgt#include sound_pool.bgtint player_hp = 100;int level = 1;int pposition = 5;int player_position = 1;int rezult = 500;const int board = 50;timer steper;sound_pool rus;sound_pool pool;sound new;sound wepo;sound_pool wep;sound zvan;sound zvan_ser;sound zvan_no;sound zvan_star_ser;sound v1;sound v2;sound v3;sound v4;sound v5;sound v6;sound v7;sound v8;sound v9;sound v10;sound v11;sound step;sound start;sound fon;sound music;sound german;void main(){fon.stop();new.load(Sounds\\new.wav);zvan.load(Sounds\\zvan.wav);zvan_ser.load(Sounds\\zvan_ser.wav);zvan_no.load(Sounds\\zvan_no.wav);zvan_star_ser.load(Sounds\\zvan_star_ser.wav);v1.load(Sounds\\v1.wav);v1.pan = (-30);v2.load(Sounds\\v2.wav);v2.pan = (30);v3.load(Sounds\\v3.wav);v3.pan = (-30);v4.load(Sounds\\v4.wav);v4.pan = (30);v5.load(Sounds\\v5.wav);v5.pan = (-30);v6.load(Sounds\\v6.wav);v7.load(Sounds\\v7.wav);v7.pan = (-30);v8.load(Sounds\\v8.wav);v9.load(Sounds\\v9.wav);v9.pan = (30);v10.load(Sounds\\v10.wav
 );v11.load(Sounds\\v11.wav);v11.pan = (30);wepo.load(Sounds\\vin.wav);fon.load(Sounds\\fon.wav);fon.volume = -10;step.load(Sounds\\step.wav);step.volume = 50;dynamic_menu my_menu;int menu_result;show_game_window(Call Of Duty: Blinde);my_menu.add_item_tts(Start game.);my_menu.add_item_tts(Exit.);menu_result=my_menu.run(choose an option., true);if(menu_result==-1){alert(Error, There was an error loading the menu.);exit();}if(menu_result==0){exit();}if(menu_result==1){game_play();}if(menu_result==2){exit();}}class enemy{int hp;int position;timer time;timer enemyy;int speed;int ammo = 1000;enemy(){hp = 10;position =
  50;speed = 300;}void move() {if(time.elapsed=speed) {if(positionplayer_position) position--;if(positionplayer_position){position++;pool.play_1d(sounds/step.wav, player_position, position, false);}time.restart();time.resume();}if(absolute(player_position-this.position)=10 and this.ammo0) {if(enemyy.elapsed1000){wep.play_1d(Sounds/vin.wav, player_position, position, false);this.ammo--;player_hp-=10;enemyy.restart();}}}void game_play(){start.load(Sounds\\start.wav);start.play_wait();v1.play_wait();v2.play_wait();v3.play_wait();v4.play_wait();v5.play_wait();v6.play_wait();v7.play_wait();v8.play_wait();v9.play_wait();v10.play_wait();v11.play_wait();while(true){fon.play_looped();if
 (steper.elapsed=300){if(key_down(KEY_LEFT)){player_position--;step.play();}if(key_down(KEY_RIGHT)){player_position++;step.play();}steper.restart();}if(player_position=0){step.stop();player_position++;}if(player_positionboard){step.stop();player_position--;}if((player_position=10)and(not german.playing)and(level==1)){int g_rand = random(1, 8);german.load(Sounds\\german_propaganda+g_rand+.wav);german.play();}if(key_pressed(KEY_X)){exit();}if(player_position==50){l2();}}}void l2(){german.stop();level = 2;player_position = 1;position_sound_1d(new, player_position, pposition, 1, 1);new.play();while(true){if(steper.elapsed=300){if(key_down(KEY_L
 EFT)){player_position--;step.play();position_sound_1d(new, player_position, pposition, 1, 1);}if(key_down(KEY_RIGHT)){player_position++;step.play();position_sound_1d(new, player_position, pposition, 1, 1);}steper.restart();}if(player_position=0){step.stop();player_position++;}if(player_positionboard){step.stop();player_position--;}if((key_pressed(KEY_SPACE))and(player_position==5)){wepo.play();rezult = 100;}if((key_pressed(KEY_SPACE))and(player_position==4)){wepo.play();rezult = 50;}if((key_pressed(KEY_SPACE))and(player_position==6)){wepo.play();rezult = 50;}if(key_pressed(KEY_SPACE)){wepo.play();rezult = 10;}if((rezult==100)or(rezult==50)or(rezult==10)){zvan.play_wait();}if(rezult==100)<br /
 >{zvan_star_ser.play_wait();main();}if(rezult==50){zvan_ser.play_wait();main();}if(rezult==10){zvan_no.play_wait();main();}if(key_pressed(KEY_X)){exit();Thats not true, or is it a bug bgt?

URL: http://forum.audiogames.net/viewtopic.php?pid=207708#p207708




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Strangeness function bgt? ;Help please!

2015-03-07 Thread AudioGames . net Forum — Developers room : ogomez92 via Audiogames-reflector


  


Re: Strangeness function bgt? ;Help please!

Your code is a mess, my friend.

URL: http://forum.audiogames.net/viewtopic.php?pid=207712#p207712




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Strangeness function bgt? ;Help please!

2015-03-07 Thread AudioGames . net Forum — Developers room : jonikster via Audiogames-reflector


  


Re: Strangeness function bgt? ;Help please!

no

URL: http://forum.audiogames.net/viewtopic.php?pid=207717#p207717




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector