Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement no you didn't discourage me, I am actually very greatful you and others here have helped me with habits I hadn't thought about. This is just a lot to take in at once, and I am unsure of how and when I will improve these habits

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement no you didn't discourage me, I am actually very greatful you and others here have helped me with habits I hadn't thought about. This is just a lot to take in at once, and I am unsure of how and when I will improve these habits

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement @40I think I did say, somewhere here, that if you can't get rid of globals now, that's fine, you should just be aware that it's bad to have them and try to get rid of them.  But maybe it's worth saying that explicitly.  But what throws most

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement @39 aaa!So much my brain can't compute. I need more growth before I understand a lot of this. Of course I am going to try understanding but I don't think I will get these concepts down correctly until my brain physically ages more. I am

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement @39 aaa!So much my brain can't compute. I need more growth before I understand a lot of this. Of course I am going to try understanding but I don't think I will get these concepts down correctly until my brain physically ages more. I am

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement @39 aaa!How much my brain can't compute. I need more growth before I understnd a lot of this. O course I am going to try understanding but I don't think I will get these concepts down correctly until my brain physically ages more. I am

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement @38Settings probably belong on Game, assuming you have a Game object.  Alternatively they belong on Player.  It depends how you set things up.I wouldn't say that you "put things in a dependency injection".  Dependency injection i

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I have put all of my global variables in a dependency injection. I hope that will do the trick for now. I should focus on settings next. I know they are going to be a dictionary, but should the dictionary be global? Or in its own class? I

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I have put all of my global variables in a dependency injection. I hope that will do the trick for now. I should focus on settings next. I know they are going to be a dictionary, but should the dictionary be global? Or in its own class? I

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I have put all of my global variables in a dependency injection. I hope that will do the trick for now. I should focus on settings next. I know they are going to be a dictionary, but should the dictionary be global? Or in its own class? I

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I have put all of my global variables in a dependency injection. I hope that will do the trick for now. I should focus on settings next. I know they are going to be a dictionary, but should the dictionary be global? Or in its own class? I

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I have put all of my global variables in a dependency injection. I hope that will do the trick for now. I should focus on settings next. I know they are going to be a dictionary, but should the dictionary be global? Or in its own class? I

Re: issue with multiple variables in if statement

2020-06-17 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I have put all of my global variables in a dependency injection. I hope that will do the trick for now. I should focus on settings next. I know they are going to be a dictionary, but should the dictionary be global? Or in its own class? I

Re: issue with multiple variables in if statement

2020-06-16 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement @36A module is literally just putting code in another file and importing it. URL: https://forum.audiogames.net/post/542050/#p542050 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin

Re: issue with multiple variables in if statement

2020-06-16 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement @32 yes but don't use the current one I have provided. I am going to take the advice I have received on this thread and make one that won't result in conflicts later down the line, um hopefully. I feel most comfortable with classes and just

Re: issue with multiple variables in if statement

2020-06-16 Thread AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector
Re: issue with multiple variables in if statement To hopefully help, and not make things more of a mess, I've made some changes to Lucia's bass_example.py found in examples/3D. All you need to run this are Lucia, a file called audio.ogg and paste this into a file. If you have lucia from

Re: issue with multiple variables in if statement

2020-06-16 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement @31That's two strategies. Alsop variables in functions are called keyword parameters.  You can find lots of Python tutorials covering them.  Note that they're different than declaring a variable inside a function.  That is:def func(param

Re: issue with multiple variables in if statement

2020-06-16 Thread AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector
Re: issue with multiple variables in if statement Ummm? URL: https://forum.audiogames.net/post/541912/#p541912 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: issue with multiple variables in if statement

2020-06-16 Thread AudioGames . net Forum — Developers room : Jaidon Of the Caribbean via Audiogames-reflector
Re: issue with multiple variables in if statement Just to clarify here, I haven't red all the posts in hrere, but Zarvox, its OKAY for me to use this in public projects? Or only private tests? Cheers. URL: https://forum.audiogames.net/post/541906/#p541906 -- Audiogames-reflector

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement after reading a few times, let's see if I understand this correctly. The best way to get rid of globals is putting them as default keyword parameters of functions. If you can't do that, use a dependency injection so that at least

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement after reading a few times, let's see if I understand this correctly. The best way to get rid of globals is putting them as keyword parameters. If you can't do that, use a dependency injection so that at least the program  won't be able

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement That is interesting, thanks for the analogies. I ask lots of questions, sometimes dumb ones, but if I don't start asking, I can never learn. And since python is a mainstream language unlike bgt, I have a lot more resources to ask for help

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement That is interesting, thanks for the analogies. I ask lots of questions, sometimes dumb ones, but if I don't start asking, I can never learn. And since python is a mainstream language unlike bgt, I have a lot more resources to ask for help

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement That is interesting, thanks for the analogies. I ask lots of questions, sometimes dumb ones, but if I don't start asking, I can never learn. And since python is a mainstream language unlike bgt, I have a lot more resources to ask for help

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement That is interesting, thanks for the analogies. I ask lots of questions, sometimes dumb ones, but if I don't start asking, I can never learn. And since python is a mainstream language unlike bgt, I have a lot more resources to ask for help

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement That is interesting, thanks for the analogies. I ask lots of questions, sometimes dumb ones, but if I don't start asking, I can never learn. And since python is a mainstream language unlike bgt, I have a lot more resources to ask for help

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement That is interesting, thanks for the analogies. I ask lots of questions, sometimes dumb ones, but if I don't start asking, I can never learn. And since python is a mainstream language unlike bgt, I have a lot more resources to ask for help

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement Also, here is a really good way to look at why I'm so against globals.  Say you come to us for help.  And you give us something like:import globals as gb # 30 lines of stuff using gbAnd you say "It's broken, I want it to do X, but it

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement @27No. But users shouldn't be doing that anyway.  If a user wants to change the defaults, they can just:def my_dialog(message): return dialog(message, my_setting=bla, my_other_setting=bla)And then use my_dialog instead wherever

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement If I put the variables inside the function itself, will users be able to modify the values and the values stay? For example, in the options, the user sets the default duration to 1500, the extend time to 1500, and wants auto scroll enabled

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement @25To eliminate the globals in your example, take this part:default_duration=3000 auto_disappear=True disable_auto_for_message=False extend_time=3000 request_extra=False def dialog(message):And turn it into:def dialog(message

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement @24 I didn't understand much of your message, can you please explain in simpler terms? I did understand that I shouldn't use a module for my globals, so how should I do it then? URL: https://forum.audiogames.net/post/541733/#p541733

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement @23That's much better.  But pulling those globals from the top of the file into function parameters as I demonstrated would make this both more flexible and more readable simultaneously, as you would also gain the ability for anything using

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement here is my redo of the msg, now called dialog. Also I decided not to put this function into the main script, just call msg.dialog()default_duration=3000 auto_disappear=True disable_auto_for_message=False extend_time=3000 request_extra=False

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement here is my redo of the msg, now called dialog. Also I decided not to put this function into the main script, just call msg.dialog()default_duration=3000 auto_disappear=True disable_auto_for_message=False extend_time=3000 request_extra=False

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement here is my redo of the msg, now called dialog. Also I decided not to put this function into the main script, just call msg.dialog()default_duration=3000 auto_disappear=True disable_auto_for_message=False extend_time=3000 request_extra=False

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement @21Unpacking is a bad idea with respect to naming because you must then remember what functions are and aren't returning tuples, and what the order of the returned fields is.  Generally you don't unpack in Python when developing bigger

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector
Re: issue with multiple variables in if statement I mean I think you're overthinking it a bit. I would also map things to dictionaries where it would make sense. Also packing variables where it makes sense.Doing that and unpacking from function, like if I had a function that I knew would

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: issue with multiple variables in if statement You will get better at this through practice, but for starters separate "words" with _.  When using abbreviations,  this makes it clear what is and isn't separated: for example automsg vs. auto_msg.  Note that some o

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I need lots of help with better variable names. Obviously there are a lot of variables, how would you come up with a very very descriptive name for each one? How long does it have to be? How specific do I have to get? How do I label my

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I need lots of help with better variable names. Obviously there are a lot of variables, how would you come up with a very very descriptive name for each one? How long does it have to be? How specific do I have to get? How do I label my

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I need lots of help with better variable names. Obviously there are a lot of variables, how would you come up with a very very descriptive name for each one? How long does it have to be? How specific do I have to get? How do I label my

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I need lots of help with better variable names. Obviously there are a lot of variables, how would you come up with a very very descriptive name for each one? How long does it have to be? How specific do I have to get? How do I label my

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: issue with multiple variables in if statement "code" in square brackets, followed by your code, then closed with "/code" in square brackets. URL: https://forum.audiogames.net/post/541661/#p541661 -- Audiogames-reflector mailing list Audiogames-reflector@saba

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement Ok, I will try. I installed vs code, will give it a try. What is the bb code block to display my indentation correctly? URL: https://forum.audiogames.net/post/541659/#p541659 -- Audiogames-reflector mailing list Audiogames-reflector

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement Ok, I ill try. I installed vs code, will give it a try. What is the bb code block to fix my indentation? URL: https://forum.audiogames.net/post/541659/#p541659 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector
Re: issue with multiple variables in if statement The first and easiest step is to simply not use so many abbreviations. time_duration, extend_time, enable_autoscroll, request_time are precise and clear names, for example. As said before, this looks like writing lots and lots

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector
Re: issue with multiple variables in if statement It is its own code editor, there's every reason to use it and really no downside to it. URL: https://forum.audiogames.net/post/541633/#p541633 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement does vs code work with regular notepad, and what is the syntax for this bbc block to fix my indentation? What variable names are confusing to y'all, are any of them clear? Which ones are good, which ones aren't URL: https

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Lucas1853 via Audiogames-reflector
Re: issue with multiple variables in if statement Lets see:def func1(): if not True: print("This will never trigger!") #Now we switch indenting schemes to see if it works with spaces. def func2(): if True: print("This will always trigger!&quo

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Lucas1853 via Audiogames-reflector
Re: issue with multiple variables in if statement Lets see:def func1(): if not True: print("This will never trigger!") #Now we switch indenting schemes to see if it works with spaces. def func2(): if True: print("This will always trigger

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector
Re: issue with multiple variables in if statement I didn't know if the code thing did anything here. I've used it before, but on other forums, it makes a scrollable box and sometimes gives line numbers and stuff. Here, there is no noticeable effect that I could see. URL: https

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector
Re: issue with multiple variables in if statement not to mention that using more descriptive names doesnt even take more hassle. just use an editor that has autocompletion. vs code is super accessible and great support for python. you just need to write the whole variable name once

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Lucas1853 via Audiogames-reflector
Re: issue with multiple variables in if statement When pasting/writing source code, the forum provides a BBCode block you can enclose it in. Just a note to solve all this indenting stuff. URL: https://forum.audiogames.net/post/541585/#p541585 -- Audiogames-reflector mailing list

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector
Re: issue with multiple variables in if statement Yes, the indentation is wrong, also there is no colon after the def main() line.Oh and a small tip: If I were you, I would use much more expressive variable names. When you or another person comes back to this in a year or so, it's very

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: issue with multiple variables in if statement For naming conventions, it’s not just about you. It’s about us when we have to help you. I have difficulty following your code because there is no indenting and because of the nonsensical variable names.  It’s not a question of if you

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector
Re: issue with multiple variables in if statement it wasn't indented at all inside that function block, not talking about tavs vs. spaces or which level of indent you used, after that function definition, it was flat.If you know a variable is going to be a boolean, or something

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement anyway back to the original question, why are multiple conditions blocked in my if statement during a while loop unless there is a key_pressed function before it? URL: https://forum.audiogames.net/post/541497/#p541497 -- Audiogames

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector
Re: issue with multiple variables in if statement That is of course your decision in the end, but giving clear variable names is one of the first rules of writing clean code (professionally). I think it's often better to start using widely accepted conventions very early, instead of having

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: issue with multiple variables in if statement Hm... From what I can tell, the auto-delay code doesn't actually do anything. reqx is initially set to False, and there's a bit at the start of the msg() function that checks that if reqx is True to extend the delay. But in the while loop

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I added a tab instead of space for first level, but now it shows up as 3 spaces for first level, and 2 spaces for second. If that confuses you even more let me know.I tried the not equal to instead of == and it made no difference. URL

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement I added a tab instead of space for first level, but now it shows up as 3 spaces for first level, and 2 spaces for second. If that confuses you even more let me know URL: https://forum.audiogames.net/post/541441/#p541441 -- Audiogames

issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
issue with multiple variables in if statement I built a function in python that allows the user to receive a message like dlg in bgt. They can press enter or space to continue, or they can set a diration for it to automatically disappear. The manual method works, however the auto method

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement #post 3 the indentation is wrong in the post because I use spaces not tab and one level indentation on the forum does not like that for some reason. I didn't paste the actual main function I am using, that is an example main, but I will add

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: issue with multiple variables in if statement #post 3 the indentation is wrong in the post because I use spaces not tab and one level indentation on the forum does not like that for some reason. I didn't paste the actual main function I am using, that is an example main, but I will add

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector
Re: issue with multiple variables in if statement Yes, the indentation is wrong, also there is no colon after the def main() line.Oh and a small tip: If I were you, I would use much more expressive variable names. When you or another person comes back to this in a year or so, it's very

Re: issue with multiple variables in if statement

2020-06-14 Thread AudioGames . net Forum — Developers room : ironcross32 via Audiogames-reflector
Re: issue with multiple variables in if statement looks like no indent in your def (msg):Also you can do if not thing: as well so you don't need to do if thing == bla or oif thing != bla.Could be more but I only glanced. URL: https://forum.audiogames.net/post/541399/#p541399

issue with multiple variables in if statement

2020-06-14 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
issue with multiple variables in if statement I built a function in python that allows the user to receive a message like dlg in bgt. They can press enter or space to continue, or they can set a diration for it to automatically disappear. The manual method works, however the auto method

issue with multiple variables in if statement

2020-06-14 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
issue with multiple variables in if statement I built a function in python that allows the user to receive a message like dlg in bgt. They can press enter or space to continue, or they can set a diration for it to automatically disappear. The manual method works, however the auto method

issue with multiple variables in if statement

2020-06-14 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
issue with multiple variables in if statement I built a function in python that allows the user to receive a message like dlg in bgt. They can press enter or space to continue, or they can set a diration for it to automatically disappear. The manual method works, however the auto method