Re: what is the problem with this bgt code

2019-10-20 Thread AudioGames . net Forum — Developers room : patrickthepatshit via Audiogames-reflector
Re: what is the problem with this bgt code I wanted to help him out, because I was board and had nothing else to do. URL: https://forum.audiogames.net/post/469699/#p469699 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: what is the problem with this bgt code

2019-10-20 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: what is the problem with this bgt code lmfao, was trying to see if he could figure it out on his own, but that works too. URL: https://forum.audiogames.net/post/469681/#p469681 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: what is the problem with this bgt code

2019-10-20 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: what is the problem with this bgt code And you could also make it a bit more secure like this:void notepad() { string ntitle=v.input("enter the title of your note."); if (ntitle=="") { mainmenu(); } string ntext=v.input("enter the text of your note."); if (ntext=="") { mainmenu(); }

Re: what is the problem with this bgt code

2019-10-20 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: what is the problem with this bgt code And you could also make it a bit more secure like this:void notepad() { string ntitle=v.input("enter the title of your note."); if (ntitle=="") { mainmenu(); } string ntext=v.input("enter the text of your note."); if (ntext=="") { mainmenu(); }

Re: what is the problem with this bgt code

2019-10-19 Thread AudioGames . net Forum — Developers room : rory-games via Audiogames-reflector
Re: what is the problem with this bgt code correct, you would want them global. here is the actual correct versionstring ntext;file f;string ntitle;void notepad(){ntitle=v.input("enter the title of your note.");if (ntitle=="") mainmenu();ntext=v.input("enter the text of your note.");if

Re: what is the problem with this bgt code

2019-10-19 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: what is the problem with this bgt code @3, the same error would occur because of the locally stated variable in the input boxes. URL: https://forum.audiogames.net/post/469594/#p469594 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: what is the problem with this bgt code

2019-10-19 Thread AudioGames . net Forum — Developers room : patrickthepatshit via Audiogames-reflector
Re: what is the problem with this bgt code Another thing is you don't have to have else and the extra braces going with it.Here is the correct version of you're code.file f;void notepad(){string ntitle=v.input("enter the title of your note.");if (ntitle=="") mainmenu();string

Re: what is the problem with this bgt code

2019-10-19 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: what is the problem with this bgt code Your issue is that the string you created is only alive while that function is alive.Variables come in two fashions: personal and global. Personal isn't the right term for it but I'm tired ok?Personal variables are variables created in the midst

what is the problem with this bgt code

2019-10-19 Thread AudioGames . net Forum — Developers room : bopitmaster34 via Audiogames-reflector
what is the problem with this bgt code Hi guys. So I know that bgt basically doesn't exist, but I am using it anyway. I am making a suite of programs, and rite now, I am trying to make a notepad where it lets you write some text and it puts it in a file in a folder called notes. here is

Re: What is the problem with this bgt code

2019-10-05 Thread AudioGames . net Forum — Developers room : Rastislav Kiss via Audiogames-reflector
Re: What is the problem with this bgt code this error normally indicates, that curly brackets get messed somewhere.In your case, it's in the main function, just check its bottom boundary. There is one condition with its own codeblock and then immediately other function begins without

Re: What is the problem with this bgt code

2019-10-05 Thread AudioGames . net Forum — Developers room : marko via Audiogames-reflector
Re: What is the problem with this bgt code What is wrong with this code again? Please someone help me quickly. Here is the code and the error:#include "dynamic_menu.bgt"sound bat;sound batkil;sound idi;sound weapon;dynamic_menu menu;tts_voice voice;timer batti;timer apua;int bat_

Re: What is the problem with this bgt code

2019-10-01 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector
Re: What is the problem with this bgt code wait(50)? Oh man that will add a big lag. URL: https://forum.audiogames.net/post/465533/#p465533 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: What is the problem with this bgt code

2019-10-01 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: What is the problem with this bgt code wait(5) will do nicely, though I just fixed his code, I am certaninly not gonna add stuff to it URL: https://forum.audiogames.net/post/465517/#p465517 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: What is the problem with this bgt code

2019-10-01 Thread AudioGames . net Forum — Developers room : Rastislav Kiss via Audiogames-reflector
Re: What is the problem with this bgt code heh, may be I'm embarrassing with it, but I would also add wait(5); or wait(50); to end of the while loop to save cpu.Best regardsRastislav URL: https://forum.audiogames.net/post/465468/#p465468 -- Audiogames-reflector mailing list

Re: What is the problem with this bgt code

2019-09-30 Thread AudioGames . net Forum — Developers room : bgt lover via Audiogames-reflector
Re: What is the problem with this bgt code Yeah, that's exactly what I'd have done to that code.I would have done it sometime today anyway, but thank you for doing it sooner, this way I needn't overstress my poor laptop from it's first day in a long period of repair, change components,

Re: What is the problem with this bgt code

2019-09-30 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: What is the problem with this bgt code I believe I fixed most of these issues:#include "dynamic_menu.bgt" sound bat; sound batkil; sound idi; dynamic_menu menu; tts_voice voice; timer batti; int bat_hp=100; void main() { bat.load("bat.wav"); batkil.load("batkil.wav");

Re: What is the problem with this bgt code

2019-09-30 Thread AudioGames . net Forum — Developers room : bgt lover via Audiogames-reflector
Re: What is the problem with this bgt code Sorry to say this, but you applyed them wrongly.Wait untill tomorrow and I'll correct your code properly with my computer, so stay tooned. URL: https://forum.audiogames.net/post/465361/#p465361 -- Audiogames-reflector mailing list

Re: What is the problem with this bgt code

2019-09-30 Thread AudioGames . net Forum — Developers room : marko via Audiogames-reflector
Re: What is the problem with this bgt code Hello! At 3, sorry, but your tips didn't work. Here is my modified code. The problem i have now, is that the sound won't play at all. Can someone help me?Here is the code:#include "dynamic_menu.bgt"void main(){sound bat;sound batkil;dynamic_menu

Re: What is the problem with this bgt code

2019-09-30 Thread AudioGames . net Forum — Developers room : bgt lover via Audiogames-reflector
Re: What is the problem with this bgt code Note that I can not provide you with any code example because my computer is mallfunctioning again, so I have to post on my iphone, but if you don't understand my indications below, please wait untill tomorrow when I get my computer back and will

Re: What is the problem with this bgt code

2019-09-30 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector
Re: What is the problem with this bgt code Hi. So you're declaring a timer inside a while loop? That's exactly what you should not do. Of course it won't work because it keeps making the timer everytime it iterates through the loop. So it even doesn't get to 1000. You should declare the

Re: What is the problem with this bgt code

2019-09-30 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector
Re: What is the problem with this bgt code Hi. So you're declaring a timer inside a while loop? That's exactly what you should not do. Of course it won't work because it keeps making the timer everytime it iterates through the loop. So it even don't get to 1000. You should declare the

What is the problem with this bgt code

2019-09-30 Thread AudioGames . net Forum — Developers room : marko via Audiogames-reflector
What is the problem with this bgt code Hello! I am trying to create a game where you'll have to kill an enemy, and you have 1 minute time to kill it before you die. But my problem is, when i start the game it works fine, but the die function never comes. The sound i set just keeps playing