Re: redfox's bgt questions?

2018-11-28 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: redfox's bgt questions? get matcher.bgt from oriol gomez.com it is very useful for checking missing quotes, brackets, and parentheses URL: http://forum.audiogames.net/post/395712/#p395712 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https

Re: redfox's bgt questions?

2018-11-24 Thread AudioGames . net Forum — Developers room : lukas via Audiogames-reflector
Re: redfox's bgt questions? Oh, my god. This thread is becoming so confused and convoluted already, with contradicting replies and whatnot. Some of the advice you've been given shouldn't even be considered in the first place.Why don't you just give up on the idea of learning from someone

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: redfox's bgt questions? as i said, check all your if statements. make sure they have all there ( ) { } "" signs. URL: http://forum.audiogames.net/post/394819/#p394819 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: redfox's bgt questions? litterally the only thing i changed was the grave wping thing, plus adding int wping; somewhere near the top with the huge list of ints that the source has URL: http://forum.audiogames.net/post/394814/#p394814 -- Audiogames-reflector mailing list

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: redfox's bgt questions? Non-terminated string literals are a pain to find, because it means a mismatched quote somewhere. Without a tool to find a line with an odd number of quotes, you'd just have to ctrl + f " and check all of them manually. If you can narrow down where it

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: redfox's bgt questions? cause it's what's used in the source, and there's a lot of it so i'm not going threw and changing it, and also because some of the sound i don't want to play at the char's position, like bullets hitting a wall URL: http://forum.audiogames.net/post/394754

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: redfox's bgt questions? hi, check your key presses. they should have all the required signs.and if i might ask, why not just use the stationary method of the sound_pool instead of using the 2d method? it just waists so much time.p.play_stationary("pingon.ogg",false);an

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: redfox's bgt questions? alright, wen pasting this in it gives a vvary peculiar error, and i'll let yall know that I'm using Mason's Zombie Arena, just to learn, for this, so maybe that'll help something:On line: 367 (20)Line: alert("devices list",dev);Error: Non-termina

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: redfox's bgt questions? Not quite. As you have it now, it will turn it off again the next time your key-checking runs, which is probably like 5-20ms later. What you want is more like:if(key_pressed(KEY_GRAVE)) { if(wping<=0; { speak("wping on!"); p.play_2d("wpin

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: redfox's bgt questions? Not quite. As you have it now, it will turn it off again the next time your key-checking runs, which is probably like 5-20ms later. What you want is more like:if(key_pressed(KEY_GRAVE)) { if(wping<=0; { speak("wping on!"); p.play_2d("wpin

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : Merin via Audiogames-reflector
Re: redfox's bgt questions? if(key_pressed(KEY_GRAVE){if(wping = 0){speak("wping on!");p.play_2d("wpingon.ogg",me.x,me.y, me.x,me.y,false");wping==1;}else{speak("wping off!");p.play_2d("wpingoff.ogg",me.x,me.y, me.x,me.y,false);wping==0;}}

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: redfox's bgt questions? @12, I'm working on python, but I'm doing this as a side thing.so like this?if(key_pressed(KEY_GRAVE) and wping<=0; { speak("wping on!"); p.play_2d("wpingon.ogg",me.x,me.y, me.x,me.y,false"); wping==1; } else { speak("wping off!

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: redfox's bgt questions? @12, I'm working on python, but I'm doing this as a side thing.so like this?if(key_pressed(KEY_GRAVE) and wping<=0; { speak("wping on!"); p.play_2d("wpingon.ogg",me.x,me.y, me.x,me.y,false"); wping==1; } else { speak("wping off!

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : zenothrax via Audiogames-reflector
Re: redfox's bgt questions? Here's a piece of advice fox. Don't use BGT. Python is much easier to use and there are quite a few good libraries for it. The ones you'll need are accessible_output and sound_lib, and maybe keyboard_handler and game_utils to make things easier.Peace out. URL

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: redfox's bgt questions? like if(key_pressed(KEY_`) <=0){code}else{code}that should work URL: http://forum.audiogames.net/post/394712/#p394712 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mail

Re: redfox's bgt questions?

2018-11-23 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: redfox's bgt questions? To abstract it a bit, what you have now is like:if (a and b) c;if (a and d) e;What you want instead is:if (a) {  if (b) c;  else if (d) e;}Since both of your ifs start with the same condition, you can just make one if for that, then do the rest inside. The else

Re: redfox's bgt questions?

2018-11-22 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: redfox's bgt questions? could you give some examples of how I would do it? I'll look at the else thingm but if I can't figure it out then hmmm URL: http://forum.audiogames.net/post/394643/#p394643 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: redfox's bgt questions?

2018-11-22 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: redfox's bgt questions? 6: Key_pressed only works once per press. What you should do is have one if for the key press, then decide what to do with the ping inside that. Also, this is where you'd want to use else, since if you only move the key_pressed, you'll always get it turning

Re: redfox's bgt questions?

2018-11-21 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: redfox's bgt questions? hi! i have more problems, but the forum doesn't like it wen I paiste bgt code into it, so i've put it into a text file, witch can be found here. thanks in advance! URL: http://forum.audiogames.net/post/394515/#p394515 -- Audiogames-reflector mailing list

Re: redfox's bgt questions?

2018-11-21 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector
Re: redfox's bgt questions? hi, what's the problem with this code? I'm trying to get it to do what redspot does with the weapon ping, like, if wping is off, in this case 0, it would turn on and go back to one wen i hit grave, It's only turning it on though, am I missing something, o

Re: redfox's bgt questions?

2018-11-09 Thread AudioGames . net Forum — Developers room : ivan_soto via Audiogames-reflector
Re: redfox's bgt questions? I think you should learn the manual so you can understand the answers we give you. Do you even know how to use dictionaries or know what the string_to_number function does? URL: http://forum.audiogames.net/post/392267/#p392267 -- Audiogames-reflector

Re: redfox's bgt questions?

2018-11-07 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: redfox's bgt questions? Pausing really depends on how your game is set up. The simplest way would be to make a pause function with a while loop that lasts until the player unpauses.The way I'd rather do it is with a variable that tracks what part of the system the program is in—what