Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : Liam via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

That would work, or making sure that all your keyboard logic repeatedly fires. have a game loop, and each interation of that game loop you can have key logic being checked.

URL: https://forum.audiogames.net/post/440235/#p440235




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

If you just use a if condition without using a while loop to repeat the checking, whether the key is pressed is only controlled once in a tiny time frame. Afterwards, the if condition fails and the program moves on without ever looking again at the if. So, what you probably want to do is surrounding the if condition with:while (!key_pressed(KEY_ESCAPE)) {}Now your if condition is checked again and again and again until you press the escape key.

URL: https://forum.audiogames.net/post/440203/#p440203




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

If you just use a if condition without using a while loop to repeat the checking, whether the key is pressed is only controlled once in a tiny time frame. Afterwards, the if condition fails and the program moves on without ever looking again at the if. So, what you probably want to do is surrounding the if condition with:while (!key_pressed(KEY_ESCAPE) {}Now your if condition is checked again and again and again until you press the escape key.

URL: https://forum.audiogames.net/post/440203/#p440203




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : Liam via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

I was actually about to mention that. It helps having an output of what errors are generated.

URL: https://forum.audiogames.net/post/440199/#p440199




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : nuno69 via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

And, every time you ask a question it's recommended you paste the information generated by the language interpreter, as it might help us narrow down the issues in more complicated programs, which you might be posting later

URL: https://forum.audiogames.net/post/440172/#p440172




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : Liam via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

First have you declare knife as a sound?sound knife;knife.load("knife.ogg");Second. The wait function only pauses in the millisecond range. I would suggest wait(3000) this is 3 seconds, or better yet, I believe tts_voice has speak_wait or something similar.Unsure what speech.bgt is as it's not a standard library so I can't comment on it.

URL: https://forum.audiogames.net/post/440124/#p440124




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : simter via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

@11, it's simteraplications

URL: https://forum.audiogames.net/post/440100/#p440100




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : simter via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

@17, thumps up. @16, he included a speach.bgt if that contains the speak(string) funktion, that can work. The dynamic menu class does not support speaking through nvda. How ever there is a dynamic_menu_pro class which also contains some other usefull stuff like speaking and so. You can find it in masons open source titles. This also supports background music, paning of sounds, and speaking through nvda.

URL: https://forum.audiogames.net/post/440089/#p440089




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : Ahng via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Alright, I am a beginner in bgt and I don't have something to lose. If you think I should try python, then no, it's just too hard trying to find manules and stuff. I don't know what to code in, other than bgt.

URL: https://forum.audiogames.net/post/440067/#p440067




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : nuno69 via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

@Paul, my first post was just an informatic one, he could've missed the announcements posted earlier, I have written:nuno69 wrote:Yeah. Please share your code and someone will definitely help you.My kind advice is to abandon BGT and learn something else, as BGT is archaic and you will be getting less and less support, as more and more people are changing technologies to something that might actually be usefulWhat is annoying in this behavior?

URL: https://forum.audiogames.net/post/440060/#p440060




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : Ahng via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Alright. So I fixed it. One problem, is it refuses to speak with nvda. How do i make it speak with nvda? Another thing, When I am trying the if (key_pressed(KEY_T)) for example, and adding {knife.play();}would not work. Why is that? greetings. Ps, I might ask one billion questions here, so sorry about that.

URL: https://forum.audiogames.net/post/440048/#p440048




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

First, you have to use "voice.speak()", not just "speak()" because you use the tts-object here. And you forgot the parentesis when calling "install_keyhook;". It must be "install_keyhook();".Third, "dynamic_menu menu" is an object declaration and doesn't need parentesis at the end.One small question: You mentioned in another thread that you've just began to learn BGT and have seen "alert", "question" and "dynamic_menu". This is the game programming tutorial. Have you first learned the BGT language tutorial. If not, make sure to learn that first because the game programming tutorial takes the concepts discussed in the language tutorial and combines them with game programming.

URL: https://forum.audiogames.net/post/440043/#p440043




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

lol nuno, you seriously are getting annoying. You don't like BGT? I get it. But let people use what they like, it's their choice after all.

URL: https://forum.audiogames.net/post/440045/#p440045




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

First, you have to use "voice.speak()", not just "speak()" because you use the tts-object here. And you forgot the parentesis when calling "install_keyhook;". It must be "install_keyhook();".

URL: https://forum.audiogames.net/post/440043/#p440043




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


Re: Why does my bgt file keep crashing?

2019-06-10 Thread AudioGames . net Forum — Developers room : Ahng via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Hey guys, sorry I didn';t reply earlier. After I posted this topic i fell asleep and woke up at 2AM. Anyway, here's the code. #include "speech.bgt"#include "dynamic_menu.bgt"#include "sound_pool.bgt"sound menuenter;void main(){tts_voice voice;sound_pool pool;show_game_window("ARA. V0.1");menuenter.load("menuenter.wav");speak("DRACOMALFOY");wait(10);speak("TESTINGTesting222");wait(5);install_keyhook;dynamic_menu menu();menuenter.play_looped();menu.add_item_tts("twang");menu.add_item_tts("manu.");menu.wrap = true;menu.allow_escape = true;menu.run("A R a. v1.",true);}

URL: https://forum.audiogames.net/post/440038/#p440038




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : Ty via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Agree with liam and ivan here.While python will probably make better games, if they want to learn bgt, let them. That's they're choice. Just because you don't like it, they might. It's like the fucking ipod touch 7 again. Some people don't like it, so they throw a fucking shitfit.

URL: https://forum.audiogames.net/post/439946/#p439946




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : ivan_soto via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Agreed with Liam. If someone asks for help about BGT, you go off on them to learn a nee language. Its sad, but at this point you should be happy that they're actually learning it to begin with and not stealing sourcecode.

URL: https://forum.audiogames.net/post/439930/#p439930




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : Liam via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

I think there have been enough tests to prove that Python when optomized correctly can be just as efficient as BGT. And that's not what this topic is even about. Why is it when someone asks a BGT question you all have to get in to a pissing match over which is better? If someone wants to use it and be ham stringed by it's limitations then let them.

URL: https://forum.audiogames.net/post/439920/#p439920




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : mazen via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Hey Centre. What is your git hub username? 

URL: https://forum.audiogames.net/post/439919/#p439919




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : simter via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

@6you by your self never released an own program, so you should not throw accusations arround that all my code is based of stolen source.

URL: https://forum.audiogames.net/post/439918/#p439918




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : Ty via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Python is a lot slower to learn then bgt, but it's waay more flexable, and still being updated.About the code, I see nothing wrong with it, but I don't have the hole code. as i believe post 6 said, you have to define the tts voice.

URL: https://forum.audiogames.net/post/439910/#p439910




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : SkyLord via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

@4, python isn't really fast, i assure you that it's slower than bgt.But python is way way  more flexible than bgt, that's true.

URL: https://forum.audiogames.net/post/439909/#p439909




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Did you define a tts voice and use it for speak? Sorry, I haven't touched BGT for a long time, but you have to define your voice with "tts_voice voice;" and then "voice.speak("text");"

URL: https://forum.audiogames.net/post/439867/#p439867




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : nuno69 via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Lol, your BGT is more difficult than Python, or... maybe not? Cause you cannot learn and you don't have any code to still?

URL: https://forum.audiogames.net/post/439856/#p439856




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : simter via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

python is difficult. I also don't see the problem with the code, but when i don't have the full code i can not say a thing.

URL: https://forum.audiogames.net/post/439855/#p439855




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : giorgi elbaqidze via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

yeah bro if you can learn python. It's so very fast, and popular at this time

URL: https://forum.audiogames.net/post/439825/#p439825




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : nuno69 via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Yeah. Please share your code and someone will definitely help you.My kind advice is to abandon BGT and learn something else, as BGT is archaic and you will be getting less and less support, as more and more people are changing technologies to something that might actually be useful

URL: https://forum.audiogames.net/post/439788/#p439788




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


Re: Why does my bgt file keep crashing?

2019-06-09 Thread AudioGames . net Forum — Developers room : Liam via Audiogames-reflector


  


Re: Why does my bgt file keep crashing?

Well. Without code it's impossible to troubleshoot.

URL: https://forum.audiogames.net/post/439781/#p439781




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


Why does my bgt file keep crashing?

2019-06-08 Thread AudioGames . net Forum — Developers room : Ahng via Audiogames-reflector


  


Why does my bgt file keep crashing?

hey, everyone. Got a question. I've began trying to code from yesterday and have now learned some stuff, like dynamic menues, soundplaying, alerts/questions etc. 1 Problem is that When i set a wait timer, like. I'm not givving the hole code since i don't have it. This. speak("test");wait(10);speak("this is a test");It will crash. I don't see the problem with the code, it's fine but it just crashes. gotta go, Thanks.

URL: https://forum.audiogames.net/post/439743/#p439743




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