Re: command line issues with unit tests java/node

2021-03-13 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: command line issues with unit tests java/node You can also pipe output to a text file, for example npm test 2> errors.txt to pipe stderr to a text file. For stdout, just use > instead of 2>. URL: https://forum.audiogames.net/post/622520/#p622520 -- Audiogames-reflector mailing

Re: command line issues with unit tests java/node

2021-03-13 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: command line issues with unit tests java/node You can also pipe output to a text file, for example npm test 2> errors.txt URL: https://forum.audiogames.net/post/622520/#p622520 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: problem with Note function mush client

2021-03-06 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: problem with Note function mush client Hey, this is an issue with mushclient combined with mush reader. I've had this issue before, I think if you use print instead of note it doesn't trigger it. URL: https://forum.audiogames.net/post/620534/#p620534 -- Audiogames-reflector

Re: problem with Note function mush client

2021-03-06 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: problem with Note function mush client Hey, this is a issue with mushclient combined with mush reader. I've had this issue before, I think if you use print instead of note it doesn't trigger it. URL: https://forum.audiogames.net/post/620534/#p620534 -- Audiogames-reflector

Re: Extended PEMDAS.

2021-02-28 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Extended PEMDAS. Hey regarding the randomization of the dice result (that is using a random number between the minimum and maximum possible dice roll), you should avoid doing that. This is because it changes the probability distribution of the results.For example say you rolled 2d6.

Re: Extended PEMDAS.

2021-02-28 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Extended PEMDAS. Hey regarding the randomization of the dice result (that is using a random number between the minimum and maximum possible dice roll), you should avoid doing that. This is because it changes the probability distribution of the results.For example say you rolled 2d6.

Re: Any tips for using Wireshark?

2020-12-18 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Any tips for using Wireshark? What do you need to do with it? In general though you can hit alt to access the menu bar and start capturing from there and I believe all of the settings screens/etc are accessible. Once you've started capturing, tab from display filter and then hit down

Re: A Collision Tutorial and some important points

2020-11-27 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: A Collision Tutorial and some important points I think he was using l as the array size (length). URL: https://forum.audiogames.net/post/593365/#p593365 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: Assistance with my settings class (Python)

2020-11-20 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Assistance with my settings class (Python) @tunmi13 you only initialize sd within the try block so when that try block ends sd goes out of scope. Your later code tries to use it and then errors as a result. Your excepts are using the pass statement so you aren't seeing any errors.

Re: Question about lexing

2020-11-11 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Question about lexing Do you have another token for the subtraction operation that's matching the - first? That could be interfering with it. URL: https://forum.audiogames.net/post/588701/#p588701 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: Question about lexing

2020-11-11 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Question about lexing Do you have another token for the negative operation that's matching the - first? That could be interfering with it. URL: https://forum.audiogames.net/post/588701/#p588701 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: how to let a python class accept more than 1 instent going?

2020-11-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: how to let a python class accept more than 1 instent going? hey make sure that any method you have on a class has self as the first parameter (the name technically doesn't matter, but the convention is self). This value (self) is used to refer to the class (self.somevar, etc). for

Re: how to let a python class accept more than 1 instent going?

2020-11-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: how to let a python class accept more than 1 instent going? hey make sure that any method you have on a class has self as the first parameter (the name technically doesn't matter, but the convention is self). This value (self) is used to refer to the class (self.somevar, etc). for

Re: Pyglet help

2020-09-26 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Pyglet help hey for python strings you can check using endswith, for example a.endswith('.flac') URL: https://forum.audiogames.net/post/574589/#p574589 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: NVDA Addon assistance

2020-09-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: NVDA Addon assistance split by default splits on ' '. Because a space is the separator, the spaces aren't included in the list. So with the example of "  ln 1", the list you get from split is ['ln', '1']. Also try value instead of name, though I'm not too sure on that one. URL:

Re: NVDA Addon assistance

2020-09-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: NVDA Addon assistance split by default splits on ' '. Because a space is the separator, the spaces aren't included in the list. So with the example of "  ln 1", the list you get from split is ['ln', '1']. URL: https://forum.audiogames.net/post/568757/#p568757 --

Re: Reviewing Pyglet

2020-07-22 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Reviewing Pyglet From what I've seen, Pyglet doesn't lag. A lot of tutorials I saw in the past initialized the audio library with an audio buffer that is way too large which I think is what people were referring to. URL: https://forum.audiogames.net/post/554772/#p554772 --

Re: sound positioning calculation not getting

2020-07-18 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: sound positioning calculation not getting Pan step is pretty much how many units of panning you get per unit of distance. So for example moving 1 step to the right might move the pan by 5 or something (5*1) URL: https://forum.audiogames.net/post/553426/#p553426 --

Re: onclick attribute with innerHTML?

2020-06-05 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: onclick attribute with innerHTML? Each of the choices should look similar to this.choicesDiv.innerHTML = "Begin exploring."; URL: https://forum.audiogames.net/post/537827/#p537827 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: onclick attribute with innerHTML?

2020-06-05 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: onclick attribute with innerHTML? Each of the choices should look like this.choicesDiv.innerHTML = "Begin exploring."; URL: https://forum.audiogames.net/post/537827/#p537827 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: onclick attribute with innerHTML?

2020-06-05 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: onclick attribute with innerHTML? \" is the escape string yeah, but you're escaping the " in _javascript_, not for the innerHTML also. So when you use the \" in _javascript_, _javascript_ gets a " character, which is then added to the html string. When the html itself is parsed, it

Re: onclick attribute with innerHTML?

2020-06-05 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: onclick attribute with innerHTML? I think the problem is that you aren't escaping the quotes correctly within the attributes on the generated buttons. For example, this code:choicesDiv.innerHTML = "Begin exploring.";This would generate the following html:Begin exploring.So the browser

Re: If statements in Inform 7

2020-05-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: If statements in Inform 7 There are two forms of if statements. One of them reqres spacial indentation, for example. Note the : instead of semicolon after the ifif the player holds the backpack:    say "Now that you have your backpack, you 're ready to enter!";    Now the player is in

Re: If statements in Inform 7

2020-05-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: If statements in Inform 7 There are two forms of if statements. One of them reqres spacial indentation, for example. Note the : instead of semicolon after the ifif the player holds the backpack:    say "Now that you have your backpack, you 're ready to enter!";    Now the player is in

Re: My problem in C

2020-04-24 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: My problem in C You have a space after the * but not before (that is, you have a* (b+c)). Try doing a*(b+c) or a * (b + c) URL: https://forum.audiogames.net/post/522319/#p522319 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: My problem in C

2020-04-24 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: My problem in C You have a space after the * (that is, you have a* (b+c)). Try doing a*(b+c) or a * (b + c) URL: https://forum.audiogames.net/post/522319/#p522319 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: C input?

2020-02-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: C input? Yeah this is an annoying problem in C that comes up a lot. You could set getIntInput to return an int pointer, likeint *getIntInput() {...}then just alter main accordingly. Alternatively you could set up some kind of struct with another int signifying whether or not an error

Re: C input?

2020-02-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: C input? Yeah this is an annoying problem in C that comes up a lot. You could set getInput to return an int pointer, likeint *getInput() {...}then just alter main accordingly. Alternatively you could set up some kind of struct with another int signifying whether or not an error

Re: How learn in Python on blind

2019-12-05 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: How learn in Python on blind You need to run python scripts from the command line if you're blind (that is, windows r, cmd, enter. If you don't know how that program works you should learn at least the basics before python in my opinion. Scripts are then launched by python filename (or

Re: How learn in Python on blind

2019-12-05 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: How learn in Python on blind You need to run python scripts from the command line if you're blind (that is, windows r, cmd, enter. If you don't know how that program works you should learn at least the basics before python in my opinion. Scripts are then launched by python filename (or

Re: How learn in Python on blind

2019-12-05 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: How learn in Python on blind You need to run python scripts from the command line if you're blind (that is, windows r, cmd, enter. If you don't know how that program works you should learn at least the basics before python in my opinion. Scripts are then launched by python filename (or

Re: My problem in C

2019-10-05 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: My problem in C The above code is overly complicated and less efficient than a simple solution. You absolutely do not need a complicated sorting algorithm to find the minimum and maximum numbers in an array (besides, heapsort is O(n log n) and finding minimum and maximum of an array is

Re: Prototyping game for blind players and need feedback

2019-09-19 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Prototyping game for blind players and need feedback I feel like adding visual descriptors to descriptions is a good idea. It helps those who have had enough vision to visualize them. Blind people also have associations to words, for example they know which colors are brighter or that

Re: Prototyping game for blind players and need feedback

2019-09-19 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Prototyping game for blind players and need feedback I feel like adding visual descriptors to descriptions is a good idea. It helps those who have had enough vision to visualize them. Blind people also have associations to words, for example they know which colors or brighter or that

Re: My problem in C

2019-09-18 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: My problem in C Scanf does support negative number inputs. The same format specifiers (for the most part) that you'd pass to printf work for scanf in the same way. If you use %d (specifier for a normal signed int) it'll work. URL: https://forum.audiogames.net/post/462630/#p462630

Re: My problem in C

2019-09-18 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: My problem in C That code isn't quite right, the tirnary comparison thing is an _expression_ so you should return the whole thing, also it's written differentlyint minimum(int a, int b) {    return a < b ? a : b;}You don't need to do it this way, the more simple case is perfectly

Re: Another question about pythonic syntax, yea!

2019-05-27 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Another question about pythonic syntax, yea! @5 That is what is happening@3 That code is a list comprehension, which is kind of a for loop. The original list is not being changed directly by the list comprehension at all. This should be clearer with a slightly modified example.x =

Re: Another question about pythonic syntax, yea!

2019-05-27 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Another question about pythonic syntax, yea! @5 That is what is happening@3 That code is a list comprehension, which is kind of a for loop. The original list is not being changed directly by the list comprehension at all. This should be clearer with a slightly modified example.x =

Re: Another question about pythonic syntax, yea!

2019-05-27 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Another question about pythonic syntax, yea! you use [a for item instead of [item for item. Think of it like a for loop, the variable being referred to has to be the one looping through the list. Also keep in mind that you aren't removing anything from the list when using a list

Re: Another question about pythonic syntax, yea!

2019-05-27 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Another question about pythonic syntax, yea! you use [a for item instead of [item for item. Think of it like a for loop, the variable being referred to has to be the one looping through the list. URL: https://forum.audiogames.net/post/436860/#p436860 -- Audiogames-reflector

Re: error in python

2019-05-11 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: error in python @ethin that code is wrong. You use if i == 5, however i isn't declared anywhere and you should use count for that. Also you increment count after the if condition with the continue, so it will loop forever when count is 5 because count never increases. Your loop will

Re: Panning in IRR Klang

2019-03-27 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Panning in IRR Klang I don't know which of the sound classes you're using, but you can look at the setPan method herehttps://www.ambiera.com/irrklang/docu/c … 78df5e8531 URL: https://forum.audiogames.net/post/422939/#p422939 -- Audiogames-reflector mailing list

Re: Quite weird problem with a C# code

2019-03-19 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Quite weird problem with a C# code As far as I can tell, the call to write is occurring outside of the foreach loop, so it isn't actually writing each item to the file. URL: https://forum.audiogames.net/post/420481/#p420481 -- Audiogames-reflector mailing list

Re: Another question about sounds...

2019-02-23 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Another question about sounds... An imported module only  ever has a single instance. When another file imports a module, it's just given the reference to the already existing module instance. URL: https://forum.audiogames.net/post/414071/#p414071 -- Audiogames-reflector mailing

Re: I need help, again!

2019-02-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: I need help, again! I'm pretty sure iterating through the event queue is enough for pygame to handle it. URL: https://forum.audiogames.net/post/410508/#p410508 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: I need help, again!

2019-02-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: I need help, again! I did notice that in your code you call the pygame event pump function unnecessarily. It could be that function since you're calling it a lot. URL: https://forum.audiogames.net/post/410424/#p410424 -- Audiogames-reflector mailing list

Re: I need help, again!

2019-02-04 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: I need help, again! The loop problems from what I can see aren't caused by Tolk. There are a few logic errors.In the menu module you haven't imported pygame. For every module you import that module needs to import required modules. K_UP and K_DOWN are defined in the pygame module

Re: I need help, again!

2019-01-16 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: I need help, again! Normally the ^ operator is exponentiation (2^2 = 2 squared, 2^3 = 2 cubed, etc). In python though ^ is the bitwise  xor operation. Python's exponentiation operator is ** (as in, 2**2 or 2**3).You can't directly reverse the modulus operation unless you know the

Re: I need help, again!

2019-01-16 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: I need help, again! Normally the ^ operator is exponentiation (2^2 = 2 squared, 2^3 = 2 cubed, etc). In python though ^ is the bitwise  xor operation. Python's exponentiation operator is ** (as in, 2**2 or 2**3).You can't directly reverse the modulus operation unless you know the

Re: I need help, again!

2019-01-16 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: I need help, again! Ord takes a character as input and returns the ascii value of that character, which in python is an integer. You are transforming the integer for the cipher, which is fine. You then call str on the result, which just turns the number into a string without actually

Re: I need help, again!

2019-01-15 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: I need help, again! Ord takes a character as input and returns the ascii value of that character, which in python is an integer. You are transforming the integer for the cipher, which is fine. You then call str on the result, which just turns the number into a string without actually

Re: While loop doesn't work correctly in Python + Pygame

2019-01-12 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: While loop doesn't work correctly in Python + Pygame this line has a problem     while dlgAudio.isPlaying:You never actually call isPlaying as a function, so the while loop is just being passed the reference to the isPlaying function of the sound instance and not actually triggering

Re: While loop doesn't work correctly in Python + Pygame

2019-01-12 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: While loop doesn't work correctly in Python + Pygame this line has a problem     while dlgAudio.isPlaying:You never actually call isPlaying as a function, so the while loop is just being passed the reference to the isPlaying function of the sound instance and not actually triggering

Re: The Worst App in the World

2018-04-07 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: The Worst App in the World I believe collections in C# are indexed. Just iterate through the collection of voices and add each voice.VoiceInfo.Name to the combo box, then you can refer to the selected voice by just finding the current position of the user in the combo box. URL:

Re: Thaumistry and JAWS Compatibility

2018-02-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Thaumistry and JAWS Compatibility I have no problems with ssh and NVDA regarding the cursor now. I believe either the 2017.3 or 2017.4 release fixed it. URL: http://forum.audiogames.net/viewtopic.php?pid=351472#p351472 ___

Re: What is the most accessible way to develop iOS apps?

2017-10-27 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: What is the most accessible way to develop iOS apps? If you have to use a Java IDE for class, Eclipse is the most accessible one that I've found. URL: http://forum.audiogames.net/viewtopic.php?pid=335440#p335440 ___ Audiogames-reflector

Re: Is it me or is bgt really terrible with memory consumption

2017-03-07 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Is it me or is bgt really terrible with memory consumption In C89 you have to declare all variables at the start of the function. Also doing something like for (int c=0;c < 5;c++) {} will just not work. C99 and C++ changed this. URL:

Re: Is it me or is bgt really terrible with memory consumption

2017-03-06 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Is it me or is bgt really terrible with memory consumption I believe a character is 1 byte which is composed of 8 bits.If you have a dictionary of 8100 strings, your programming shouldn't be freezing. The reason your math was off: think of a multidimensional array as a list of lists.

Re: Python Help Needed

2017-02-20 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Python Help Needed Regarding the filename part, are you specifying the name as a program parameter? If so, spaces could be breaking it.I'm not sure if the forum is removing part of the code, but that code should be throwing runtime errors.    with open("{}".format(filename), "rb") as

Re: C# (C sharp question)

2017-02-18 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: C# (C sharp question) To get around the control issue, tab between the controls you added to the form. Hit f4 to edit one. Expand the location attribute and you can set its coordinates on the form manually. This can get annoying after a while, but there are controls that lay out

Re: Coding A Life Sim In Inform 7

2016-10-12 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Coding A Life Sim In Inform 7 It would be doable in Inform 7, but probably vastly more complicated than it would e in other languages. I recommend trying something like Python. Inform 7 can't easily handle arrays on objects/etc, the closest you can get to linking things together is via

Re: Coding A Life Sim In Inform 7

2016-10-12 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Coding A Life Sim In Inform 7 It would be doable in Inform 7, but probably vastly more complicated than it would e in other languages. I recommend trying something like Python. URL: http://forum.audiogames.net/viewtopic.php?pid=282654#p282654

Re: trigonometry in audio games, how do I apply the concept?

2016-08-11 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: trigonometry in audio games, how do I apply the concept? For a start, try this?https://www.khanacademy.org/math/geomet … igonometry URL: http://forum.audiogames.net/viewtopic.php?pid=273718#p273718 ___ Audiogames-reflector mailing list

Re: Luna Stories 3d Audio Game Open Source c#

2016-07-12 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Luna Stories 3d Audio Game Open Source c# Is there any chance you can put this on github or something? Keeping track of everything as a zip file is probably going to get convoluted and clunky as you go on. URL: http://forum.audiogames.net/viewtopic.php?pid=267805#p267805

Re: Codecademy's Python Course

2016-06-26 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Codecademy's Python Course I'm pretty sure the problem with that example is that the Codeacademy course is using Python2 whereas you're using Python3. Just change the print line to print(now) and it should work. Print in Python3 is a function, not a keyword so parentheses are

Re: Codecademy's Python Course

2016-06-26 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Codecademy's Python Course I'm pretty sure the problem with that example is that the Codeacademy course is using Python2 whereas you're using Python3. Just change the print line to print(now) and it should work. Print in Python3 is a function, not a keyword so parentheses are required.

Re: Codecademy's Python Course

2016-06-26 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Codecademy's Python Course I'm pretty sure the problem with that example is that the Codeacademy course is using Python2 where as you're using Python3. Just change the print line to print(now) and it should work. Print in Python3 is a function, not a keyword so parentheses are

Re: How to Determine a Column Conflict in Python

2016-03-25 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: How to Determine a Column Conflict in Python Just find the coordinates of the point and the queen. Find the difference in coordinates (say, dy for p2.y-p1.y) and the same for dx.Now you're subtracting one set from another, so you're essentially finding the location of the second queen

Re: How to Determine a Column Conflict in Python

2016-03-25 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: How to Determine a Column Conflict in Python Just find the coordinates of the point and the queen. Find the difference in coordinates (say, dy for p2.y-p1.y) and the same for dx.Now you're subtracting one set from another, so you're essentially finding the location of the second queen

Re: Some questions about bgt

2015-07-17 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Some questions about bgt Move all of the code to intisde of the main function. You cant execute anything like an if statement etc outside of one. URL: http://forum.audiogames.net/viewtopic.php?pid=224555#p224555 ___ Audiogames-reflector

Re: Python 2.7: name is not defined (when in fact it is)

2015-06-07 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Python 2.7: name is not defined (when in fact it is) The problem is that you defined the habla function after you call it. That function doesnt exist in a python script until you define it. URL: http://forum.audiogames.net/viewtopic.php?pid=219254#p219254

Re: BGT confusion

2015-03-22 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: BGT confusion Remember that programs run from top to bottom (kind of, at least in functions anyway).Your code is running the fleetmenu then commandmenu functions. Execution works something like this.Running fleetmenuRunning commandmenu (while still in fleetmenu)So you now have one

Re: Strangeness function bgt? ;Help please!

2015-03-07 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Strangeness function bgt? ;Help please! Try adding a } before void game_play() { You dont have a closing } for the class, so its thinking that game_play is part of the enemy class. Forgive me if Im wrong, but I have limited time to check this. Also I think you dont have the correct

Re: sounds stop

2015-03-07 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: sounds stop There sadly is no way to do this, you have to stop each sound manually. You could look into the sound_pool class however. URL: http://forum.audiogames.net/viewtopic.php?pid=207763#p207763 ___ Audiogames-reflector mailing list

Re: Strangeness function bgt? ;Help please!

2015-03-07 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Strangeness function bgt? ;Help please! Try adding a } before void game_play() { You dont have a closing } for the class, so its thinking that game_play is part of the enemy class. Forgive me if Im wrong, but I have limited time to check this. Also I think you dont have the correct

Re: The minimum environment for using VC++ compiler, cl.exe

2015-02-28 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: The minimum environment for using VC++ compiler, cl.exe I agree, thats kind of what I was pointing out. I kind of wish someone would draw this to the attention of Dark or something. URL: http://forum.audiogames.net/viewtopic.php?pid=206786#p206786

Re: The minimum environment for using VC++ compiler, cl.exe

2015-02-28 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: The minimum environment for using VC++ compiler, cl.exe Mortal Kombat.Round 1. Camlorn vs Ethin. Fight.Oh wait, this isnt about Mortal Kombat or conflict? [[wow]], what an odd concept. I can imagine a forum where pointless redundant arguments dont consume the original topics point.

Re: The minimum environment for using VC++ compiler, cl.exe

2015-02-28 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: The minimum environment for using VC++ compiler, cl.exe Mortal Kombat.Round 1. Camlorn vs Ethin. Fight.Oh wait, this isnt about Mortal Kombat or conflict? [[wow]], what an odd concept. I can imagine a forum where pointless redundant arguments dont consume the original topics point.

Re: programming a sidescroller game

2015-01-25 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: programming a sidescroller game You do not need math for a basic sidescroller. If your just starting out with something basic, you can just handle it with the 4 basic math operations. This includes 2 dimensions, but you probably wont get anything regarding angles, however its not

Re: BGT - a class question

2015-01-15 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: BGT - a class question That is class inheritance.Basically class inheritance allows for an object to based upon another, IE a webpage based upon a template possibly. the class inheriting from the base class now hsa access to the exact same methods and fields as the base class as they

Re: Collision detection in 2d games when turning is a thing?

2014-12-20 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Collision detection in 2d games when turning is a thing? I would personally use target_x-player_x, since if you do the reverse youll get the negative values of what they should be. URL: http://forum.audiogames.net/viewtopic.php?pid=197914#p197914

Re: Collision detection in 2d games when turning is a thing?

2014-12-20 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Collision detection in 2d games when turning is a thing? I would personally use target_x-player_x, since if you do the reverse youll get the negative values of what they should be. Also you could totate both the object and the point about 0 0 by the angle of the tested object, so that

Re: Collision detection in 2d games when turning is a thing?

2014-12-20 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Collision detection in 2d games when turning is a thing? I would personally use target_x-player_x, since if you do the reverse youll get the negative values of what they should be. Also you could rotate both the object and the point about 0 0 by the angle of the tested object, so that

Re: Collision detection in 2d games when turning is a thing?

2014-12-19 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Collision detection in 2d games when turning is a thing? Id personally do target_x-player_x, not the other way around because you can do the following.If you need to get the angle between an angle, you can use:angle = atan(sin(target_y-player_y)/cos(target_x-player_x))If you have a

Re: how to make guis in python or more like how to import tkenter

2014-12-04 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: how to make guis in python or more like how to import tkenter Regardless of your operating system, packages and libraries seem to work better if you install the 32 bit version of python. URL: http://forum.audiogames.net/viewtopic.php?pid=196480#p196480

Re: I want to get started with programming moos but I am not sure where to

2014-11-28 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: I want to get started with programming moos but I am not sure where to I honestly disagree with the points stated above. If you can get a simple core, such as lambdamoo, then you can start looking at how it works. If your looking for actual programs to run them, there are a number of

Re: how to make guis in python or more like how to import tkenter

2014-11-16 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: how to make guis in python or more like how to import tkenter The package I believe is TkInter, not tkenter. When your importing make sure the cases match, python packages are case sensitive. URL: http://forum.audiogames.net/viewtopic.php?pid=194991#p194991

Re: Help with a do loop

2014-11-15 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Help with a do loop Also.when you run the do loop, you dont actually call the menu for each loop iteration. so if you chose a result say 0, that do loop would execute forever and bog down your system. URL: http://forum.audiogames.net/viewtopic.php?pid=194944#p194944

Re: Help with a do loop

2014-11-15 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Help with a do loop Also.when you run the do loop, you dont actually call the menu for each loop iteration. so if you chose a result say 0 or -1 after hitting escape, that do loop would execute forever and bog down your system. URL:

Re: While parcing statement block error

2014-11-13 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: "While parcing statement block" error The first issue I can see is:else if(choice==3){speech.configure();}//This should be an else statement.{while(choice!=0 and choice!=4);/*This line of code will do nothing whatsoever. A while loop executes the code within its block, IE enclosed

Re: While parcing statement block error

2014-11-13 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: "While parcing statement block" error The first issue I can see is:else if(choice==3){speech.configure();}//This should be an else statement.{while(choice!=0 and choice!=4);/*This line of code will do nothing whatsoever. A while loop executes the code within its block, IE enclosed

Re: Accessible C++ Compiler

2014-11-08 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Accessible C++ Compiler A few things.When your setting the various properties of controls, Im pretty sure they look different depending on the property you set. If a controls enabled property is set to false, its going to look greyed out or not even be there at all. Read only keeps the

Re: Slightly OT - Building a GUI in PureBasic

2014-10-18 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: Slightly OT - Building a GUI in PureBasic Keep in mind that you do have to position objects using pixel coordinates. Im not sure if pure basic has flow layout panels or anything however. URL: http://forum.audiogames.net/viewtopic.php?pid=192427#p192427

Re: LLVM discussion

2014-10-15 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: LLVM discussion Im pretty sure you can find open source solutions that have already done this entire process as well. I honestly dont really think its a language issue, since he seems to understand terminology. repeatedly stating that as the issue and forcing compliance really isnt the

Re: LLVM discussion

2014-10-14 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: LLVM discussion A Google translation might not be entirely accurate. URL: http://forum.audiogames.net/viewtopic.php?pid=192043#p192043 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: I encountered a problem with my little sidescrolling movement program

2014-10-13 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: I encountered a problem with my little sidescrolling movement program His problem was that the players position variable was being incremented thousands of times a second. You could use a wait() function, or you could check your results against a timer. A wait function will basically

Re: LLVM discussion

2014-10-11 Thread AudioGames . net ForumDevelopers room : stewie via Audiogames-reflector
Re: LLVM discussion I personally wouldnt say that. If you have a sincere need to use llvm and you have to knowledge to do so, then go ahead use it. Were not forcing you to use a particular piece of software here, were just giving recommendations despite any appearances given. Llvm has its