Re: trying to solidify my understanding of coding concepts, and failing
In other high level languages, basic datatypes such as numbers (int) or characters (char) are often automatically passed by value (a new variable with the same content is made every time you use it as a function argumen
Re: bgt mirror is back
@27 Nobody said they haven't read your whole post in your Windows 7 topic. The only post that comes close is Nizzas. It says it's not worth reading your post to the end because there is to much misinformation, but the post briefly addressed all of your points, so Nizz
Re: bgt mirror is back
@27 Nobody said they haven't read your whole post in your Windows 7 topic. The only post that comes close is Nizzas. It says it's not worth reading your post to the end because there is to much misinformation, but the post addressed all of your points, so Nizza must h
Re: bgt mirror is back
@25 Aren't you the one who repeats the whole repeat button crap every third post or so? I also find it quite ironic that you, of all people, tell other people they have no arguments. The only thing you do in discussions is searching posts for those three or four words
Re: bgt mirror is back
@25 Aren't you the one who repeats the whole repeat button crap every third post or so? I also find it quite ironic that you, of all people, tell other people they have no arguments. The only thing you do in discussions is searching posts for those three or four words
Re: bgt mirror is back
@25 Aren't you the one who repeats the whole repeat button crap every third post or so? I also find it quite ironic that you, of all people, tell other people they have no arguments. The only thing you do in discussions is searching posts for those three or four words
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 of unnecessary
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 hard
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
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 hard
Re: I want to lirn pithon but pithon doesn't want me to do so
Because it's Python, not Pithon.
URL: https://forum.audiogames.net/post/532939/#p532939
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/li
Re: If statements in Inform 7
It has been a long time, but as it seems to me you have to indent the instead block as well. If not, Inform doesn't know where it starts and where it ends. An example with nested statements would look like that:Instead of opening the fridge: if the cheese is
Re: Problem with this bgt code...
I think dynamic menus in BGT start numbering with 0, not with 1. And you skipped number four for apuva and jumped to number 5.
URL: https://forum.audiogames.net/post/469670/#p469670
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-
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 the lin
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/post
Re: For beginners. Why is C# better than Python for audio game development
And in using other languages, you would also try to get as much libraries as possible to help you. It's not like Python is the reason we use libraries, libraries are the reason we use libraries I don't think this is
Re: For beginners. Why is C# better than Python for audio game development
And in using other languages, you would also try to get as much libraries as possible to help you. It's not like Python is the reason we use libraries, libraries are the reason we use libraries
URL: https://forum.a
Re: how do you make weapons in your inventory
And you would think he could spell his own country if need be. I'm from german, that's like saying I'm from english
URL: https://forum.audiogames.net/post/442021/#p442021
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahatti
Re: Why does my bgt file keep crashing?
If you just use a if condition without using a while loop to repeat the checking, whether the key is pressed is only controlled once in a tiny time frame. Afterwards, the if condition fails and the program moves on without ever looking again at the if
Re: Why does my bgt file keep crashing?
If you just use a if condition without using a while loop to repeat the checking, whether the key is pressed is only controlled once in a tiny time frame. Afterwards, the if condition fails and the program moves on without ever looking again at the if
Re: Why does my bgt file keep crashing?
First, you have to use "voice.speak()", not just "speak()" because you use the tts-object here. And you forgot the parentesis when calling "install_keyhook;". It must be "install_keyhook();".Third, "dynamic_menu menu" is an object declaration and does
Re: Why does my bgt file keep crashing?
First, you have to use "voice.speak()", not just "speak()" because you use the tts-object here. And you forgot the parentesis when calling "install_keyhook;". It must be "install_keyhook();".
URL: https://forum.audiogames.net/post/440043/#p440043
Re: Another question about pythonic syntax, yea!
@24 and 26, this is not true. Your for loop would only skip one index if you defined it like "for i in range(0, 10)". The syntax with "for item in list" never skips an index.
URL: https://forum.audiogames.net/post/439870/#p439870
--
Aud
Re: Why does my bgt file keep crashing?
Did you define a tts voice and use it for speak? Sorry, I haven't touched BGT for a long time, but you have to define your voice with "tts_voice voice;" and then "voice.speak("text");"
URL: https://forum.audiogames.net/post/439867/#p439867
--
Au
Re: Another question about pythonic syntax, yea!
I think if you want to use nested list comprehensions, you should really write the longer versions with for and if. While it might seem very cool to create a list and then imediately create another out of that first list in one single line, y
Re: i want to learn
Yes at first, when you just start to learn programming, every editor will do. Even the basic Notepad.
URL: https://forum.audiogames.net/post/437944/#p437944
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucuko
Re: A couple of questions in python
Yes that's the idea. There shouldn't be any public variables left anywhere in your classes. But keep in mind most programming languages don't support properties, but just assume you work with the getter and setter methods directly. So, properties are noth
Re: A couple of questions in python
To use public variables can result in a greater number of bugs. Most times, getters and setters are simply one liners that return or change the variable, but don't forget you can make your getters and setters more than just that. The setter may, for examp
Re: A couple of questions in python
To use public variables can result in a greater number of bugs. Most times, getters and setters are simply one liners that return or change the variable, but don't forget you can make your getters and setters more than just that. The setter may, for examp
Re: A couple of questions in python
1: As you probably know, it is very bad practice to make object attributes public outside of the class. For this, you usually write getter and setter methods. Like this, you can make the attribute itself private and all read and write operations must use
Re: A couple of questions in python
1: As you probably know, it is very bad practice to make object attributes public outside of the class. For this, you usually write getter and setter methods. Like this, you can make the attribute itself private and all read and write operations must use
ConntrollerClient
Hi,Could somebody please tell me where to find the whole NvdaControllerClient? I searched for hours now and all I find is the Github-page with the two examples and the readme in it. Then in the readme there is a Link that should lead to the Client, but it doesn't. Am I mis
Re: ConntrollerClient
Okay thanks. Will try it.
URL: http://forum.audiogames.net/viewtopic.php?pid=356988#p356988
___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/ma
Re: Developing a 2D, topdown stealth adventure
No that's clearly not true. Metal Gear 1 was one of the first stealth games ever and introduced nearly all Standard stealth mechanics. Except the bosses, you didn't have to use your gun a single time if you didn't want. But with the camera view
Re: Developing a 2D, topdown stealth adventure
Wasn't the very first Metal Gear for the NES a top down stealth game?
URL: http://forum.audiogames.net/viewtopic.php?pid=354674#p354674
___
Audiogames-reflector mailing list
Audiogames-reflector
Re: A few questions about creating a big game
If asking what language to pick for web programming counts as being a web programmer, I would be an Astronaut.
URL: http://forum.audiogames.net/viewtopic.php?pid=352798#p352798
___
Audiogames-ref
Re: accessible java IDE
I never had such Problems. Jaws works as fast and reliable with Eclipse as with other programs.
URL: http://forum.audiogames.net/viewtopic.php?pid=351311#p351311
___
Audiogames-reflector mailing list
Audiogames-reflec
Re: BGT dilemma
It's true that you can Access the string from everywhere but I thought it would be good to explain getter methods since they are often used in larger Projects, especially for Commercial Projects. It was just a Little example how they work. But yes, it is a global variable an
Re: BGT dilemma
The Problem is that you put your skill Code in the character_checking function. Instead, alter it so that character_checking hasn't type void, but type string and that no skill usage Code is inside. Then the only Thing this function does is return the character string and no
Re: accessible java IDE
Why do some People say that Eclipse is horrible? I'm just curious because I'm very pleased with the program and how it works. I think it's really easy to use.
URL: http://forum.audiogames.net/viewtopic.php?pid=347076#p347076
Re: problem with making accessible GUI in Java
Do you use Jaws? I had the same Problem and strangely, Jaws couldn't read a single element but NVDA could.
URL: http://forum.audiogames.net/viewtopic.php?pid=345692#p345692
___
Audiogames-reflec
Re: C++ vs Java vs Python for audio games and MUD games
Why would you want to program for Windows XP or older? I mean, nobody should use it anymore and I know nobody personally ho does.
URL: http://forum.audiogames.net/viewtopic.php?pid=338510#p338510
_
Re: C++ vs Java vs Python for audio games and MUD games
I don't think Python is as slow as you imagine it to be. But I've not really programmed in Python so I'm not 100% sure.
URL: http://forum.audiogames.net/viewtopic.php?pid=338467#p338467
___
Re: I would like to start making my own web browser
But such comments can be very important. It's very true what he said in my opinion and not a bit insulting.
URL: http://forum.audiogames.net/viewtopic.php?pid=321469#p321469
___
Audiogames-
Re: Question about C and C++?
Generally it's just the object oriented programming. Of course there are some differences, but you should be able to run a C program with C ++ without rewriting the whole code.
URL: http://forum.audiogames.net/viewtopic.php?pid=316897#p316897
Re: Java search API
Is it the structure of the Internet page or the General complexity of the API that makes Problems? If it is the first one, there is an HTML Help-Version of the Java API I use frequently and it's very easy to navigate in it.
URL: http://forum.audiogames.net/viewtopic.php
Re: Way to create an RPG game like Entombed
This would be my Suggestion too. I also started with BGT and learning new languages is much easier afterwards.
URL: http://forum.audiogames.net/viewtopic.php?pid=316025#p316025
___
Audiogames-refle
Re: Way to create an RPG game like Entombed
I just wanted to say that you don't Need to understand the Cosinus hyperbolicus to make games just because you use C++. You Need to search the Standard library and other libraries in the Internet for the classes you Need, I'm sure there are many t
Re: Way to create an RPG game like Entombed
You don't need complicated mathematics when using C++. It's all about what you want to do in the programming language you use.
URL: http://forum.audiogames.net/viewtopic.php?pid=315610#p315610
___
Re: Help needed with the sound pool class in bgt
If you don't want to type the whole function Name every time, write your own function with a shorter Name that does nothing but call the pool-function.
URL: http://forum.audiogames.net/viewtopic.php?pid=315520#p315520
__
50 matches
Mail list logo