Re: BGT game code

2019-09-17 Thread AudioGames . net Forum — Developers room : MasterOfDeath via Audiogames-reflector
Re: BGT game code 7, the language is hungarian. URL: https://forum.audiogames.net/post/462475/#p462475 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT game code

2019-09-17 Thread AudioGames . net Forum — Developers room : simter via Audiogames-reflector
Re: BGT game code @4, it's possible. It's not recomended in some chases cause you are really just restarting the program. You can of course make some variables to tell the funktion what it shouldn't do again but it makes things just more complicated then they need to be. URL: https

Re: BGT game code

2019-09-17 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
Re: BGT game code Rastislav is right, you can never check for a key press without a loop. It doesn't work reliably. Besides, why do you check for 3 different key presses but always say the same thing, no matter which key was pressed? Couldn't that be simplified somehow? I think you may

Re: BGT game code

2019-09-07 Thread AudioGames . net Forum — Developers room : Rastislav Kiss via Audiogames-reflector
Re: BGT game code Few things here, although you didn't specified which key:1. Line 37, I guess you meaned jatek=false?2. You're missing a wait command in your loops. When you want to make an infinite loop for example to catch keys, you need to include call for wait on its end, because

Re: BGT game code

2019-09-07 Thread AudioGames . net Forum — Developers room : tdani via Audiogames-reflector
Re: BGT game code The fact that I did not use the name voice instead of v is because the second one is shorter.I didn't write what my problem was. I have to press that key many times when the money falls and for some reason do not properly check whether it was correct or not. URL: https

Re: BGT game code

2019-09-07 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector
Re: BGT game code You're calling the main function in your game function again. I haven't worked with BGT a long time, but I would say that isn't allowed because then you're practically starting your program a second time. But correct me if I'm wrong. What you want to do is: Replace

Re: BGT game code

2019-09-07 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector
Re: BGT game code You're calling the main function in your game function again. I haven't worked with BGT a long time, but I would say that isn't allowed because then you're practically starting your program a second time. But correct me if I'm wrong. URL: https://forum.audiogames.net

Re: BGT game code

2019-09-07 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: BGT game code @2 that does not change anything. URL: https://forum.audiogames.net/post/460239/#p460239 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: BGT game code

2019-09-07 Thread AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector
Re: BGT game code what you ment was.tts_voice voice;nottts_voice v; URL: https://forum.audiogames.net/post/460236/#p460236 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

BGT game code

2019-09-07 Thread AudioGames . net Forum — Developers room : tdani via Audiogames-reflector
BGT game code Hey everyone!I want ask that what's problem in my code?:#include "sound_pool.bgt"tts_voice v;bool jatek=true;sound money;int m;void main(){show_game_window("Hearing Money");install_keyhook();v.speak_interrupt("Hearing Money!");wh