Re: a little assistance with BGT
Re: a little assistance with BGT Yup, zarvox is correct. URL: https://forum.audiogames.net/post/452563/#p452563 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT I put the load line in my first post. You can put it directly above the play line. Make sure you have braces after key pressed since now you are loading and playing URL: https://forum.audiogames.net/post/452543/#p452543 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT You have two options there. You can either, 1: load the sounds at the start of the function, I recommend this, or stream them when the key is pressed to play the sound. The only problem with the streaming option is it might cause high cpu usage on some machines. URL: https://forum.audiogames.net/post/452534/#p452534 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT You can either load them when the function is called (recommended), or stream them when the keys are pressed, may cause high CPU usage. URL: https://forum.audiogames.net/post/452532/#p452532 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT Sorry about double posting, but I received another error, something about my sounds not being declared. Do I have to load the sounds when the user performs the key press, or must I load the sounds upon calling up void piano?Thanks! URL: https://forum.audiogames.net/post/452529/#p452529 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT I was coding the game with my QWERTY keyboard, but I thought I could edit it with my BrailleSense Polaris.When I did, it messed with quotes and other stuff. That's what I mean by the question mark thing. I'm not doing that again anytime soon. LOL URL: https://forum.audiogames.net/post/452527/#p452527 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT Yeah, braille does that. While coding, i recommend using a qwerty keyboard, unless typing text, like dialogs. URL: https://forum.audiogames.net/post/452522/#p452522 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT Hi,The question mark explanation: I'm typing using a braille display, and a quote is dots 2-3-6. It is also a question mark. When I typed dots 2-3-6, I forgot to specify it was a quote, so it read it as a question mark. URL: https://forum.audiogames.net/post/452515/#p452515 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT Yeah, i noticed that too. URL: https://forum.audiogames.net/post/452392/#p452392 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT Sorry about double post, but also, NP tunmi. URL: https://forum.audiogames.net/post/452393/#p452393 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT piano0.load("piancC.wav");piano0.play();I also noticed you have a question mark instead of the first quotation mark for the sound URL: https://forum.audiogames.net/post/452384/#p452384 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT Wow. and All this time i've been stressing over that area. Thanks a lot, Ty and redfox. URL: https://forum.audiogames.net/post/452383/#p452383 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT One issue I saw is that when you tell it to play, your not supposed to give the filename too, piano1.play();, the play function takes no arguments, you allready told it what sound to play. URL: https://forum.audiogames.net/post/452378/#p452378 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT ok, first, i get this when trying to download Not FoundThe requested URL /IP.bgt was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache/2.4.39 (Ubuntu) Server at tunmi13.jc-hosting.me Port 443second, you'd probably want, an if statement saying that if the key is pressed, play the sound, piano1.opay("paino1.wav") URL: https://forum.audiogames.net/post/452376/#p452376 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
a little assistance with BGT
a little assistance with BGT Hey guys,So I'm coding my first BGT project, and it's a simple dynamic menu with key mapping. Unfortunately, I'm struggling with some areas.I'm going to paste a link here giving access to the file in my GDrive, but anyways here's where I'm having issues.1. Playing sounds. I specified for example, if(!key_pressed(KEY-A)); I was able to open a brace.What I want it to do is to play piano0, the first note, assignedtothe A key. So I opened and typed like this.{piano0.play(?piancC.wav") // The wave file assigned to that sound.Now, am I doing something insanely wrong here, or do I need to fix things?To look at the full BGT file, use this link:https://drive.google.com/file/d/17Texb_ … p=drivesdkIf you are having issues with that link, you can download it from my site here:http://tunmi13.jc-hosting.me/IP.bgtThanks! URL: https://forum.audiogames.net/post/452374/#p452374 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector