Re: Help with choosing between Python VS. PureBasic

2015-05-11 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Yes, once you figure out how to get out of all the graphics and just utilize the awesome object support, it is amazing!

URL: http://forum.audiogames.net/viewtopic.php?pid=215783#p215783




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-10 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Hi,I've downloaded panda3d. I really like it, and the getting started tutorial code looks quite nice if I can say for myself. I could post the code here, but that's easily findable on the documentation, so I won't.

URL: http://forum.audiogames.net/viewtopic.php?pid=215648#p215648




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-10 Thread AudioGames . net Forum — Developers room : Hektor via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

If you are learning to code, it is always best to start off by engaging in good coding practices (such as limiting each line to a single statemen and including comments in the code.)  You really can't ever have too many comments.  However, as you gain more experience, you will find that it is best to limit comments to blocks of code to explain the purpose of that code and what it is trying to do.  That will greatly help later when you have to maintain or fix the code.Also, if you have trouble with languages that use braces to denote the beginning and endings of blocks, I suggest adding a short comment on the line where each brace appears--simply denoting the beginning or ending of the block.

URL: http://forum.audiogames.net/viewtopic.php?pid=215641#p215641




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-10 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Hello,I am going to be making an audiogame with pyaudiogame before I start recommending it to people. I am recommending pyglet and panda3d for now. If you would like to use pygame, you can download pyaudiogame, it is great with pygame, but there are some really bad practices that pygame has that pyglet and panda3d do not have. I have not transferred pyaudiogame over to them yet. But basically all pyaudiogame is is a set of tools over the top of an existing library that helps in audiogame creation. So if you start learning pyglet or panda3d, you could probably easily contribute to pyaudiogame.I would lean more towards panda3d as it has so much support for everything under the moon, but it is 500 MB where as pyglet is 10 mb and pygame is 6 MB.

URL: http://forum.audiogames.net/viewtopic.php?pid=215596#p215596




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-09 Thread AudioGames . net Forum — Developers room : Orin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Frastlin, are you still working on Audiopygame? If not, what's the hold up? Do you recommend people use Pyglet now as an alternative?i'll be sure to take a look at it, though.

URL: http://forum.audiogames.net/viewtopic.php?pid=215576#p215576




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-09 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I'll look at it again. I haven't looked at it in a while.

URL: http://forum.audiogames.net/viewtopic.php?pid=215543#p215543




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-09 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Hello,pyglet is going through a lot of development now, so it is probably a nice, easy to use engine. With pyglet you need to use accessible_output and recognize that key events and playing the sound are not directly related. You create a listener that looks for an event like a on_key_pressed event and then processes the stuff in the function when the event happens.A sound source is a player object and it can really only have one sound. (player meaning audio player, not person player). You set this player different places on the map and you can control the sound inside the player by calling the player's methods and changing its attributes.There is another item called the listener and this listener is the person player. you move the coordinates of this listener around the map and it changes the volume of the different sounds you have placed with the different players.A more advanced game engine is Panda3d and this has everything from html support
  to physic libraries. Disney uses it and so do a lot of other people. It is super big but has everything.If you can, try to use it, but I think it may be a little advanced...

URL: http://forum.audiogames.net/viewtopic.php?pid=215533#p215533




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-02 Thread AudioGames . net Forum — Developers room : audioracer via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I always put my lines of code on separate lines. That way, I can read it better.And I always put the braces on there own line.This may sopund tedious, but I think that commenting your code almost on every line even the braces will help you should you need to pinpoint a certain error.By the way, has anyone looked at my topic I just posted about Windows attack Ailien Outback and Troopinum style?

URL: http://forum.audiogames.net/viewtopic.php?pid=214615#p214615




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-02 Thread AudioGames . net Forum — Developers room : Orin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I can do basics with BGT. The thing that's hard for me, made slightly easier by the Heat Engine, is making maps. The WorldBox class that the Heat Engine has makes it easier because all you have to do, to make the core map itself, is put the properties in such as length, X/Y start points I guess--I'm new to it, so not 100 percent sure. I get confused with arrays, I read the docs I'm the manual and I get the concept of it, but most people make maps in Arrays and most people make enemies/other NPC classes with enemy types as an Array. I have scene Int arrays, but there are other types that I haven't scene in code before.Still, yes you can make a Hello World script with BGT. I just called the alert function and it said Hello World.Is there a way in BGT to do what PureBasic programmers do with Arrays? In PB, you make the array and how big the list is starting at zero which is the index, and line by line list what is in the array. Let's say the array
  was a list of enemies in an enemy class. I forgot how to start PB arrays, but once you start an array in PB, it's something like:bird.idog.ihamster.iYou get the idea. The "i" is referring to the fact that it's an integer array, I'd assume. Haven't read a whole lot on PB. With BGT, most arrays I've scene create a for loop so...for uint(i)(Parameters go here).Most people, once they become proficient will put five statements of code on one line--especially if statements, making it hard to read. I've adopted Genua's coding style and indenting as much as possible, but I prefer the one statement on a line method until I can look at my code and figure it out. AKA PB and listing arrays individually. I'm not ready to spend money on PB yet though.Okay, that's my rant over now.

URL: http://forum.audiogames.net/viewtopic.php?pid=214602#p214602




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-02 Thread AudioGames . net Forum — Developers room : Orin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I can do basics with BGT. The thing that's hard for me, made slightly easier by the Heat Engine, is making maps. The WorldBox class that the Heat Engine has makes it easier because all you have to do, to make the core map itself, is put the properties in such as length, X/Y start points I guess--I'm new to it, so not 100 percent sure. I get confused with arrays, I read the docs I'm the manual and I get the concept of it, but most people make maps in Arrays and most people make enemies/other NPC classes with enemy types as an Array. I have scene Int arrays, but there are other types that I haven't scene in code before.Still, yes you can make a Hello World script with BGT. I just called the alert function and it said Hello World.Is there a way in BGT to do what PureBasic programmers do with Arrays? In PB, you make the array and how big the list is starting at zero which is the index, and line by line list what is in the array. Let's say the array
  was a list of enemies in an enemy class. I forgot how to start PB arrays, but once you start an array in PB, it's something like:bird.idog.ihampster.iYou get the idea. The "i" is referring to the fact that it's an integer array, I'd assume. Haven't read a whole lot on PB. With BGT, most arrays I've scene create a for loop so...for uint(i)(Parameters go here).Most people, once they become proficient will put five statements of code on one line--especially if statements, making it hard to read. I've adopted Genua's coding style and indenting as much as possible, but I prefer the one statement on a line method until I can look at my code and figure it out. AKA PB and listing arrays individually. I'm not ready to spend money on PB yet though.Okay, that's my rant over now.

URL: http://forum.audiogames.net/viewtopic.php?pid=214602#p214602




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-02 Thread AudioGames . net Forum — Developers room : Orin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I can do basics with BGT. The thing that's hard for me, made slightly easier by the Heat Engine, is making maps. The WorldBox class that the Heat Engine has makes it easier because all you have to do, to make the core map itself, is put the properties in such as length, X/Y start points I guess--I'm new to it, so not 100 percent sure. I get confused with arrays, I read the docs I'm the manual and I get the concept of it, but most people make maps in Arrays and most people make enemies/other NPC classes with enemy types as an Array. I have scene Int arrays, but there are other types that I haven't scene in code before.Still, yes you can make a Hello World script with BGT. I just called the alert function and it said Hello World.Is there a way in BGT to do what PureBasic programmers do with Arrays? In PB, you make the array and how big the list is starting at zero which is the index, and line by line list what is in the array. Let's say the array
  was a list of enemies in an enemy class. I forgot how to start PB arrays, but once you start an array in PB, it's something like:bird.idog.ihamster.iYou get the idea. The "i" is referring to the fact that it's an integer array, I'd assume. Haven't read a whole lot on PB. With BGT, most arrays I've scene create a for loop so...for uint(i)(Parameters go here).Most people, once they become proficient will put five statements of code on one line--especially if statements, making it hard to read. I've adopted Genua's coding style and indenting as much as possible, but I prefer the one statement on a line method until I can look at my code and figure it out. AKA PB and listing arrays individually. I'm not ready to spend money on PB yet though.Okay, that's my rant over now.

URL: http://forum.audiogames.net/viewtopic.php?pid=214602#p214602




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-02 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

BGT will never be cross platform. I spoke to Philip on this matter, and he said that it wouldn't be cross platform'd to Linux users because of the fact taht he'd have to interface with the X audio system, which doesn't support what he has already. I did not ask him why Mac wouldn't work, although I'm supposing that it's probably for the same reason, and most of the Mac apps are written in objective-c so he'd have to rewrite BGT entirely in that to get the desired affect.

URL: http://forum.audiogames.net/viewtopic.php?pid=214596#p214596




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-02 Thread AudioGames . net Forum — Developers room : Genroa via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I'll try to add screen readers a better support for BGT audioracer The only reason why you "can't" do some kind of standart Hello World in BGT is because there's no standart output like a console. But you can print a hello worl just like you did, or in a log file, or spoke as a tts sound 

URL: http://forum.audiogames.net/viewtopic.php?pid=214568#p214568




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-05-02 Thread AudioGames . net Forum — Developers room : audioracer via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I personally feel confortable in BGT, but I have played a bit with Python because of NVDA.I do wish that BGT would be cross platform. But whatever language works for everyone.And while you can't do a hello world script with BGT, Perhaps you can do something like:void main(){alert("Hello World.", "Its a beautiful day in the neighborhood!");}For those of you who have BGT, try that piece of code and see if it works.

URL: http://forum.audiogames.net/viewtopic.php?pid=214557#p214557




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-24 Thread AudioGames . net Forum — Developers room : Hektor via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Orin, the one thing you might have figured out from the responses to this topic is that asking developers "Which language is best for my purposes?" is a lot like asking rabid sports fans "Which team is best?"  My own perspective is that Python, Pure Basic, or BGT should be sufficient for what you want to do.  For you, it seems that the most important consideration is for you to find a language that you feel comfortable working with as well as one that has a good supportive community of other people who are trying to do similar things that will be willing to answer your questions.  Hopefully, the people responding to your question have given you some good ideas who you can reach out to in order to find or build that community.  It also sounds like you are thinking that Python's style is most comfortable for you.  While people have cited some problems with some of the Python game related libraries, I would not worry about that too mu
 ch as long as you can find a good community to assist you with your questions.  There really isn't a perfect language and most libraries have their problems and part of becoming a real code ninja is understanding what those problems are and knowing how to work with or around them.  And again, a good supportive community will assist you with that.I wish you good fortune in learning Python and developing games.

URL: http://forum.audiogames.net/viewtopic.php?pid=213591#p213591




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-24 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I am too. While I might gotten a little agressive, I was pointing out the perks and faults of it too. I do enjoy other languages like Java/C/C++/C#, however Java really is not a programming language where graphics are concerned, since while it has a lot of libraries, its GUI is not accessible without third-party tools. C/C++ has hundreds of tousands of libraries available, which is more than all three languages we've discussed here - Python, Lua, and PB - so that's probably why its most widely used. C# is .NET CCPPJAVA (C C++ Java), in other words. C# is just a sort of hybrid language between all three. F#, though, is a sort of Java remix, and that's why I don't use it.

URL: http://forum.audiogames.net/viewtopic.php?pid=213524#p213524




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-24 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Oh yeah. I completely agree--and just like druv I was defending my language and laying it's feature set out on the table to show both its perks in my opinion and its faults. The people I'm sick of are those who say things like "Yeah, you should use pithon because it has bla bla bla bla bla... " and so on.  I've already pointed out that pure basic is not good for program development. It is good for audio games, and I say that because I'm using it, danny uses it, and ghorthalon uses it. But the thing is, even bgt and pithon are good, but I don't use them, so I'm not going to say good about them. But by no means will I attempt to get some one to use pure basic; use pithon if you want, it really doesn't matter. I'm just laying out, just like Druv, the perks of the language I feel comfortable with. . As a result, this is 
 why I will post no more on this... debate, is that what it is? I don't reccon so.

URL: http://forum.audiogames.net/viewtopic.php?pid=213512#p213512




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-24 Thread AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

As genroa said, use the language you're familiar with; ignore the rest of my post if you don't want highly opinionated things Python does have a broad feature set. If you don't believe me, go look at the packages in the python cheese shop, which has more than like 50k packages to do diferent things with.And for game development, pygame, pyglet, etc. Embedding matters for scripting purposes, for example advanced mods and the like, see the entombed2 topic for an explonation of this topic.So, As I said, use whatever you like. Steve uses purebasic so he's defending purebasic; I use python so i'm defending python. Don't mind me. I get defensive Edit: @genroa, look up evennia. I don't think it faces difficulties like that 

URL: http://forum.audiogames.net/viewtopic.php?pid=213500#p213500




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-24 Thread AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

As genroa said, use the language you're familiar with; ignore the rest of my post if you don't want highly opinionated things Python does have a broad feature set. If you don't believe me, go look at the packages in the python cheese shop, which has more than like 50k packages to do diferent things with.And for game development, pygame, pyglet, etc. Embedding matters for scripting purposes, for example advanced mods and the like, see the entombed2 topic for an explonation of this topic.So, As I said, use whatever you like. Steve uses purebasic so he's defending purebasic; I use python so i'm defending python. Don't mind me. I get defensive 

URL: http://forum.audiogames.net/viewtopic.php?pid=213500#p213500




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-24 Thread AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

As genroa said, use the language you're familiar with; ignore the rest of my post if you don't want highly opinionated things Python does have a broad feature set. If you don't believe me, go look at the packages in the python cheese shop, which has more than like 50k packages to do diferent things with.And for game development, pygame, pyglet, etc. Embedding matters for sciprting purposes, for example advanced mods and the like, see the entmbed2 topic for an explonation f this topic.So, As I said, use whatever you like. Steve uses purebasic so he's defending purebasic; I use python so i'm defending python. Don't mind me. I get defensive 

URL: http://forum.audiogames.net/viewtopic.php?pid=213500#p213500




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-24 Thread AudioGames . net Forum — Developers room : Genroa via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Sorry, I didn't know SoundRTS was made in python The thing here is : for audiogames programing you can use almost any language, so feel free to use the one you prefer. Python and purebasic are loved because of their syntax and/or community and free tools.But for real programing, don't dream too much : professional graphic games aren't made with theses languages and most of the programs aren't made with it neither. The basic family is almost dead if we take a look at a global scope, and python is barely used for real big programs (biggest example I know : Blender, which is impressive). Oh, and the Kassie MUD server. Want to crash it? Spawn 1000 items in one room and it's over. CoffeeMUD on the other side is the example of a nearly perfect architecture, for me it's the perfect example of why C/C++/C#/Java languages are still the most used... C
 orrectly used they are on an other level of power than python and pb The syntax change between Python 2 and 3 is for me a terrible mistake, more than half of the packages never made it to the version 3. Don't forget that when choosing.. We could talk about all languages for years, but the important thing for audiogames is : choose the one you feel comfortable with, whatever what other people love. 

URL: http://forum.audiogames.net/viewtopic.php?pid=213481#p213481




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-24 Thread AudioGames . net Forum — Developers room : Genroa via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Sorry, I didn't know SoundRTS was made in python The thing here is : for audiogames programing you can use almost any language, so feel free to use the one you prefer. Python and purebasic are loved because of their syntax and/or community and free tools.But for real programing, don't dream too much : professional graphic games aren't made with theses languages and most of the programs aren't made with it neither. The basic family is almost dead if we take a look at a global scope, and python is barely used for real big programs (biggest example I know : Blender, which is impressive).The syntax change between Python 2 and 3 is for me a terrible mistake, more than half of the packages never made it to the version 3. Don't forget that when choosing.. We could talk about all languages for years, but the important thing for audiogames is : choose the one you feel comfortable with, whatever what other people love. 

URL: http://forum.audiogames.net/viewtopic.php?pid=213481#p213481




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

@EthinFirst of all, you said you weren't going to debate with me about this. another lie... *sigh.Secondly, is c++ in any way, shape, or form, part of this discussion? No. So don't even bring up that language. That is not the issue.Thirdly: no, I focus on all three of what you said. While I like simplicity, I also prefer a broad feature set, and something which provides the ability to code games in, something that pure basic does. I also would like to ask you why imbedding into applications is important in this matter? I don't believe such will be necessary in audio game development.Another thing. When did I say that having symbols in a language made it a complicated issue? I recall comparing symbols in both of the debated languages, as an attempt to validate your "pithon doesn't use braces" clame which, while is indeed true, holds no regard in this discussion unless pure basic does use braces.

URL: http://forum.audiogames.net/viewtopic.php?pid=213445#p213445




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Sorry for double posting, but I want to point out one more thing: Python has its own package index. While other programming languages do have this, Python, IMO, has the most packages. It has about 58,526 packages available. PB has hardly 25.@severestormsteve1, what's wrong with having other symbols in Python that PB doesn't have? Why is that such a complicated issue? C/C++ has way more symbols than Python's got; just go look at the operator list. You focus too much on simplicity, not modularity or flexibility. Python is more flexible than PB because it has more modules, and it can be extended easily. It can even bee embedded into other apps as a scripting language of sorts! Can you say that about PB?Oh wait, I'm forgetting Lua. Lua can be imbedded and extended too. (Can we please not start a huge war over this? This is just a debate. No flamewars, please? I've seriously had enough of those.)

URL: http://forum.audiogames.net/viewtopic.php?pid=213441#p213441




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Sorry for double posting, but I want to point out one more thing: Python has its own package index. While other programming languages do have this, Python, IMO, has the most packages. It has about 58,526 packages available. PB has hardly 25.@severestormsteve1, what's wrong with having other symbols in Python that PB doesn't have? Why is that such a complicated issue? C/C++ has way more symbols than Python's got; just go look at the operator list. You focus too much on simplicity, not modularity or flexibility. Python is more flexible than PB because it has more modules, and it can be extended easily. It can even bee embedded into other apps as a scripting language of sorts! Can you say that about PB?

URL: http://forum.audiogames.net/viewtopic.php?pid=213441#p213441




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Sorry for double posting, but I want to point out one more thing: Python has its own package index. While other programming languages do have this, Python, IMO, has the most packages. It has about 58,526 packages available. PB has hardly 25.

URL: http://forum.audiogames.net/viewtopic.php?pid=213441#p213441




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

@dhruv, yes, I agree with you on that point. However, while Python doesn't have that many games written in it, it's got its own set of modules that make it a perfect programming language for both game programming and general programming: pathlib --- Object-oriented filesystem paths, os.path --- Common pathname manipulations, csv --- CSV File Reading and Writing,   hashlib --- Secure hashes and message digests, hmac --- Keyed-Hashing for Message Authentication,   os --- Miscellaneous operating system interfaces,   email --- An email and MIME handling package, etc. PB could have all of this, but it would require a lot of C/C++/ASM programming to accomplish.

URL: http://forum.audiogames.net/viewtopic.php?pid=213439#p213439




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

@dhruv, yes, I agree with you on that point. However, while Python doesn't have that many games written in it, it's got its own set of modules that make it a perfect programming language for both game programming and general programming: pathlib --- Object-oriented filesystem paths, os.path --- Common pathname manipulations, csv --- CSV File Reading and Writing, level 3  hashlib --- Secure hashes and message digests, hmac --- Keyed-Hashing for Message Authentication, level 3  os --- Miscellaneous operating system interfaces, level 3  email --- An email and MIME handling package, etc. PB could have all of this, but it would require a lot of C/C++/ASM programming to accomplish.

URL: http://forum.audiogames.net/viewtopic.php?pid=213439#p213439




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I would like to point out that SoundRTS was written in Python, so post 14's statement is not true.I even have proof:# from soundrts/SoundRTS/clientmain.py:
from lib import log
from version import VERSION_FOR_BUG_REPORTS
from paths import CLIENT_LOG_PATH
log.set_version(VERSION_FOR_BUG_REPORTS)
log.add_secure_file_handler(CLIENT_LOG_PATH, "w")
log.add_http_handler("http://jlpo.free.fr/soundrts/metaserver")
log.add_console_handler()

import locale
try:
locale.setlocale(locale.LC_ALL, '')
except:
from lib.log import warning
warning("couldn't set locale")

import os
import pickle
import sys
import time
import urllib

from clientmedia import voice, init_media, close_media
from clientmenu import Menu, input_string, END_LOOP
from clientserver import connect_and_play, start_server_and_connect
from clientversion import revision_checker
import config
from constants import MAIN_METASERVER_URL
from definitions import style
from game import TrainingGame, ReplayGame, reload_all
from lib.log import exception
from multimaps import worlds_multi
from msgs import nb2msg
from package import get_packages, get_all_packages_paths
from paths import REPLAYS_PATH, SAVE_PATH
import res
from singlemaps import campaigns
import stats
from version import compatibility_version


_ds = open("cfg/default_servers.txt").readlines()
_ds = [_x.split() for _x in _ds]
DEFAULT_SERVERS = [" ".join(["0"] + _x[:1] + [compatibility_version()] + _x[1:]) for _x in _ds]
SERVERS_LIST_HEADER = "SERVERS_LIST"
SERVERS_LIST_URL = MAIN_METASERVER_URL + "servers.php?header=%s&include_ports=1" % SERVERS_LIST_HEADER


class Application(object):

def choose_server_ip_in_a_list(self):
servers_list = None
try:
f = urllib.urlopen(SERVERS_LIST_URL)
if f.read(len(SERVERS_LIST_HEADER)) == SERVERS_LIST_HEADER:
servers_list = f.readlines()
except:
pass
if servers_list is None:
voice.alert([1029]) # hostile sound
warning("couldn't get the servers list from the metaserver"
" => using the default servers list")
servers_list = DEFAULT_SERVERS
nb = 0
menu = Menu()
for s in servers_list:
try:
ip, version, login, port = s.split()[1:]
# ignore the first parameter (time)
except:
warning("line not recognized from the metaserver: %s", s)
continue
nb += 1
if version == compatibility_version():
menu.append([login, 4073, login], (connect_and_play, ip, port))
menu.title = nb2msg(len(menu.choices)) + [4078] + nb2msg(nb) + [4079]
menu.append([4075, 4076], None)
menu.run()

#...So there you go. A game written in Python.@Genroa, the only reason Python is slow is because the people who write the programs that you use don't know how to optimize their code. If they called the right module, and compiled their script into a .pyo file, the interpreter would be much faster. Alternatively, they could use cx_freeze, written in Python, to compile it to a win32 .EXE executable which would make it even faster.

URL: http://forum.audiogames.net/viewtopic.php?pid=213437#p213437




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Ah heh. Sorry. I forgot about that. But compare that to like the 10 or so games written in pb and stuff.

URL: http://forum.audiogames.net/viewtopic.php?pid=213438#p213438




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I would like to point out that SoundRTS was written in Python, so post 14's statement is not true.I even have proof:# from soundrts/SoundRTS/clientmain.py:
from lib import log
from version import VERSION_FOR_BUG_REPORTS
from paths import CLIENT_LOG_PATH
log.set_version(VERSION_FOR_BUG_REPORTS)
log.add_secure_file_handler(CLIENT_LOG_PATH, "w")
log.add_http_handler("http://jlpo.free.fr/soundrts/metaserver")
log.add_console_handler()

import locale
try:
locale.setlocale(locale.LC_ALL, '')
except:
from lib.log import warning
warning("couldn't set locale")

import os
import pickle
import sys
import time
import urllib

from clientmedia import voice, init_media, close_media
from clientmenu import Menu, input_string, END_LOOP
from clientserver import connect_and_play, start_server_and_connect
from clientversion import revision_checker
import config
from constants import MAIN_METASERVER_URL
from definitions import style
from game import TrainingGame, ReplayGame, reload_all
from lib.log import exception
from multimaps import worlds_multi
from msgs import nb2msg
from package import get_packages, get_all_packages_paths
from paths import REPLAYS_PATH, SAVE_PATH
import res
from singlemaps import campaigns
import stats
from version import compatibility_version


_ds = open("cfg/default_servers.txt").readlines()
_ds = [_x.split() for _x in _ds]
DEFAULT_SERVERS = [" ".join(["0"] + _x[:1] + [compatibility_version()] + _x[1:]) for _x in _ds]
SERVERS_LIST_HEADER = "SERVERS_LIST"
SERVERS_LIST_URL = MAIN_METASERVER_URL + "servers.php?header=%s&include_ports=1" % SERVERS_LIST_HEADER


class Application(object):

def choose_server_ip_in_a_list(self):
servers_list = None
try:
f = urllib.urlopen(SERVERS_LIST_URL)
if f.read(len(SERVERS_LIST_HEADER)) == SERVERS_LIST_HEADER:
servers_list = f.readlines()
except:
pass
if servers_list is None:
voice.alert([1029]) # hostile sound
warning("couldn't get the servers list from the metaserver"
" => using the default servers list")
servers_list = DEFAULT_SERVERS
nb = 0
menu = Menu()
for s in servers_list:
try:
ip, version, login, port = s.split()[1:]
# ignore the first parameter (time)
except:
warning("line not recognized from the metaserver: %s", s)
continue
nb += 1
if version == compatibility_version():
menu.append([login, 4073, login], (connect_and_play, ip, port))
menu.title = nb2msg(len(menu.choices)) + [4078] + nb2msg(nb) + [4079]
menu.append([4075, 4076], None)
menu.run()

#...So there you go. A game written in Python.

URL: http://forum.audiogames.net/viewtopic.php?pid=213437#p213437




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I would lke to point out that SoundRTS was written in Python, so post 14's statement is not true.

URL: http://forum.audiogames.net/viewtopic.php?pid=213437#p213437




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Genroa via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Yes. Python looks "magic" but no one here made any game with it...it's our work to change that I personally find python extremely slow compared to the C language family...but it's just another fact which may not be important for what we did here.

URL: http://forum.audiogames.net/viewtopic.php?pid=213434#p213434




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Yeah. One point also is no one has actually created any kind of good audiogame in python yet. I will be trying to do that, to show it can be definitely done .

URL: http://forum.audiogames.net/viewtopic.php?pid=213433#p213433




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Thankyou for the clarification Druv. If it were you who initiated this discussion I'm sure my post wouldn't have been necessary... you know. But I fully agree that Pithon is better than PB for application development. I was just talking in terms of game development, as far as what I use. It doesn't matter much anyways; my post, post 9, was meerly an opinion. It seemed that post 10 was attempting to suggest a debate. But anyways, that was just my take on the matter.

URL: http://forum.audiogames.net/viewtopic.php?pid=213432#p213432




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Hi,I don't want to argue in this python/purebasic debate, but I just want to clerrify some points.the thing that you're doing with print is a commandline interface. I can just do that withprint "hello world!"As for an accessible gui solution, wx widgets are pretty accessible, and a hello world appplication in wx goes like this (copyed from docs)import wxapp = wx.App(False)  # Create a new app, don't redirect stdout/stderr to a window.frame = wx.Frame(None, wx.ID_ANY, "Hello World") # A Frame is a top-level window.frame.Show(True)     # Show the frame.app.MainLoop()That's all there is to it! Also, you don't need _ in python; it's just a useful sign to separate function names, like my_function_name.

URL: http://forum.audiogames.net/viewtopic.php?pid=213430#p213430




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

1. The first poster strongly implies that he is hoping to create audio games.2. Also note, that pure basic has no braces, or even brackets within its syntax. In fact, you'd be hard pressed to find a period. I noted the following symbols in your code:the : sign()period._the signs most common to pure basic.();(but this is just for comments which really aren't needed)\3. and as you pointed out on many occasions, that is not accessible, at least not the code you demonstrated. Why on earth would you attempt to persuade some one who is seeking advice from a blind community using an inaccessible code excerpt that would be a major waste of their time anyway?4. If I'm not mistaken, that is a 14 line hello world script. Something like that could be done in pure basic like so:openConsole()Print("Hello world!")Delay(3000)CloseConsole()5. I agree with you 
 that pb is not, the best for program development; It seems more geared towards games anyway, which seems to be what the creator of the topic is looking to create. But if he wants to create programs and not games, yeah pure basic would not be the best for this.6. As for not arguing this back and forth with me, that is fine. But that means no more posts will be published by you regarding this matter, I assume.

URL: http://forum.audiogames.net/viewtopic.php?pid=213429#p213429




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

@severestormsteve1, yes, PureBASIC is good for games. But its not good for general programming, in my opinion. It has quite the good graphics and sound libs, but Python doesn't have any braces either. A simple GUI hello world in Python is as follows (note that tkinter needs some major accessibility improvements, but otherwise its nice):import tkinter
from tkinter import ttk

class Application:
def __init__(self, root):
self.root = root
self.root.title('Hello World')
ttk.Frame(self.root, width=200, height=100).pack()
ttk.Label(self.root, text='Hello World').place(x=10, y=10)

if __name__ == '__main__':
root = tkinter.Tk()
Application(root)
root.mainloop()This example shows usage of the Frame and Label widgets, and some basic layout management using pack() and place(). Of course, this is not accessible, as I just found out. Other GUI libraries must be used, but all the same Python would be a better choice as it contains many more features related to its purpose, and many more purposes, with hundreds, if not thousands of libraries downloadable on pypi.org.We could argue this back and fourth, but I won't. My top recommendation, though, is Python.

URL: http://forum.audiogames.net/viewtopic.php?pid=213428#p213428




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

@severestormsteve1, yes, PureBASIC is good for games. But its not good for general programming, in my opinion. It has quite the good graphics and sound libs, but Python doesn't have any braces either. A simple GUI hello world in Python is as follows (note that tkinter needs some major accessibility improvements, but otherwise its nice):import tkinter
from tkinter import ttk

class Application:
def __init__(self, root):
self.root = root
self.root.title('Hello World')
ttk.Frame(self.root, width=200, height=100).pack()
ttk.Label(self.root, text='Hello World').place(x=10, y=10)

if __name__ == '__main__':
root = tkinter.Tk()
Application(root)
root.mainloop()This example shows usage of the Frame and Label widgets, and some basic layout management using pack() and place(). Of course, this is not accessible, as I just found out. Other GUI libraries must be used, but all the same Python would be a better choice as it contains many more features related to its purpose, and many more purposes, with hundrds, if not thousands of libraries downloadable on pypi.org.We could argue this back and fourth, but I won't. My top recommendation, though, is Python.

URL: http://forum.audiogames.net/viewtopic.php?pid=213428#p213428




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

@severestorm1, yes, PureBASIc is good for games. But its not good for general programming, in my opinion. It has quite the good graphics and sound libs, but Python doesn't have any braces either. A simple GUI hello world in Python is as follows (note that tkinter needs some major accessibility improvements, but otherwise its nice):import tkinter
from tkinter import ttk

class Application:
def __init__(self, root):
self.root = root
self.root.title('Hello World')
ttk.Frame(self.root, width=200, height=100).pack()
ttk.Label(self.root, text='Hello World').place(x=10, y=10)

if __name__ == '__main__':
root = tkinter.Tk()
Application(root)
root.mainloop()This example shows usage of the Frame and Label widgets, and some basic layout management using pack() and place(). Of course, this is not accessible, as I just found out. Other GUI libraries must be used, but all the same Python would be a better choice as it contains many more features related to its purpose, and many more purposes, with hundrds, if not thousands of libraries downloadable on pypi.org.We could argue this back and fourth, but I won't. My top recommendation, though, is Python.

URL: http://forum.audiogames.net/viewtopic.php?pid=213428#p213428




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Goren,I've actually tried pure basic. As you might know, I'm creating a racing game in it, which I plan to make comercial. Pure basic is quite a good language, albeit it has some limitations that might be major, you decide. First of all, it costs money. So if you could Pithon, I'd say do so. However, pure basic is easy to use, and there are no braces and such. It has numerous features that are, in my opinion, easy to access as opposed to bgt in most cases. The reference manual is definitely a plus. It's useful for one who is in the middle of something and needs to grab a snippet of code.  There are ways to conduct both 2 and 3d sound manipulation. The Free SL sound library, though it has some known issues, can simulate a real environment. There is also a generate_pan procedure, one such as I have and can distribute if you need it, which was coded by Ghorthalon the dragon, who created the road to rage I: fires of war, Opperation Blacksquare, Mar
 ch Masicur and other such games in pure basic.  Sorry this post got so long...

URL: http://forum.audiogames.net/viewtopic.php?pid=213407#p213407




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Personally, I'd go with Python. As Python is used for, like, literally, everything. I'd probably go with it because I enjoy it and love its syntax. It's just like writing an article or book, accept your writing the book and having a program (Python) - the editor - check it over for errors and tell you what you need to correct. The classes are books, volumes, etc., and the defined functions are chapters. Inside the chapters, the variables, statements, etc. are text that the editor reads when it looks at your book - or books. That's kind of how I analyze a Python program.

URL: http://forum.audiogames.net/viewtopic.php?pid=213406#p213406




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : tward via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

@Orin, by far Python is definitely your best option here as far as I am concerned. As you noticed unlike BGT Python is very light on syntax and does not require all the braces, brackets, and semi-colons of more C-style languages like BGT. It is more simple to learn and use provided you get your spacing and indentation right.Another reason I have become a fan of Python over the last few years is it is truly a0 cost solution. The majority of tools and documentation for Python is absolutely free of charge where with Purebasic you have to pay for it with little to no benefit in doing so. Even with C++, a language I use a lot in my professional development, usually comes with some financial costs attached somewhere down the line where Python is usually a cost free solution all around.Another issue to be concerned with is cross-platform development. I'm not sure but it seems to me you are a Mac user. If so Python is far more suited to developing games and apps for Mac
  OS X than is BGT or Purebasic. Even if not it is something to consider given that today the VI gaming community is spread out over Windows, Mac, and Linux and using Python makes it much more likely to target non-Windows users with minor updates and changes in code.As for Pygame it is so/so. It is certainly not on par with DirectX, but if you aren't developing a game requiring 3d audio etc you can make do with Pygame. It will give you basic keyboard, joystick, and mouse input, has some basic networking capabilities, and the 2d audio panning works if you know what you are doing. Since Pygame's panning is very simple and rather basic you'll have to use a bit of math to have the roll-off sound smooth and natural, but it can be done.

URL: http://forum.audiogames.net/viewtopic.php?pid=213391#p213391




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I wrote something like a port of BGT's sound_positioning functions to Pygame:https://www.sendspace.com/file/yja837The convert function takes pan and volume in the units used by BGT, and returns a toople for the channel volumes as used for pygame sound.But you don't need to use that unless you're adjusting a sound directly; otherwise, the position_sound_1d and position_sound_2d functions should work exactly as they do in BGT. Just be sure to send a channel instead of a sound.So, in BGT, you might do:sound mysound;mysound.load("c:\\windows\\media\\ding.wav");position_sound_2d(mysound, 0, 0, 4, 2, 1, 1, 0);mysound.play();Whereas the python version would be like:mysound=pygame.mixer.Sound("c:\\windows\\media\\ding.wav")position_sound_2d(mysound.play(), 0, 0, 4, 2, 1, 1, 0)IIRC, there's a way to get the channel before 
 playing, but I don't remember it offhand. That might be better just to avoid buffering issues.

URL: http://forum.audiogames.net/viewtopic.php?pid=213323#p213323




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

At Dhruv: ah, oops. I copy-edited the code and must have forgotten to remove them. Fixing now.

URL: http://forum.audiogames.net/viewtopic.php?pid=213339#p213339




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : danny via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Hi, dm 2 was ment to be a rail shooter, but i'm out of ideas for it. I know gortholon used pure basic for rtr.

URL: http://forum.audiogames.net/viewtopic.php?pid=213332#p213332




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Just chimed in to clerrify that you dn't need the ; at the end of python lines. 

URL: http://forum.audiogames.net/viewtopic.php?pid=213330#p213330




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-23 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

I wrote something like a port of BGT's sound_positioning functions to Pygame:https://www.sendspace.com/file/yja837The convert function takes pan and volume in the units used by BGT, and returns a toople for the channel volumes as used for pygame sound.But you don't need to use that unless you're adjusting a sound directly; otherwise, the position_sound_1d and position_sound_2d functions should work exactly as they do in BGT. Just be sure to send a channel instead of a sound.So, in BGT, you might do:sound mysound;mysound.load("c:\\windows\\media\\ding.wav");position_sound_2d(mysound, 0, 0, 4, 2, 1, 1, 0);mysound.play();Whereas the python version would be like:mysound=pygame.mixer.Sound("c:\\windows\\media\\ding.wav");position_sound_2d(mysound.play(), 0, 0, 4, 2, 1, 1, 0);IIRC, there's a way to get the channel befor
 e playing, but I don't remember it offhand. That might be better just to avoid buffering issues.

URL: http://forum.audiogames.net/viewtopic.php?pid=213323#p213323




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-22 Thread AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Python is fun. For pyglet, you need to install avbin and package it somehow. I believe frastlin was messing with packaging the dll, so if he would post here that'd be great.Pyglet basically works like this. You have your loop, that runs the game for you. Bgt gives you things like this.When you press enter, wait 5 seconds then open the game.Pyglet is like this.On every repeating of the loop (which you set as 1 second a loop), make a variable that is added to by 1 till it is 5. As you know the loop is 1 ittiration (repeat) one second, and you add 1 to the variable in every ittiration, logically when the counter (variable) is 5, the loop has executed 5 times. So. Check every loop ittiration if the counter is 5, if not, counter+=1. When the counter is 5 (5 seconds have passed), execute the code.This could be slitely complicated than bgt, but it gives you a lot of flexibility later on.If you need any more help, just post in here-me, and other py
 thon users will be happy to help.

URL: http://forum.audiogames.net/viewtopic.php?pid=213310#p213310




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Help with choosing between Python VS. PureBasic

2015-04-22 Thread AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector


  


Re: Help with choosing between Python VS. PureBasic

Python is fun. For pyglet, you need to install avbin and package it somehow. I believe frastlin was messing with packaging the dll, so if he would post here that'd be great.Pyglet basically works like this. You have your loop, that runs the game for you. Bgt gives you things like this.When you press enter, wait 5 seconds then open the game.Pyglet is like this.On every repeating of the loop (which youset as 1 second a loop), make a variable that is added to by 1 till it is 5. As you know the loop is 1 ittiration (repeat) ne second, and you add 1 to the variable in every ittiration, logically when the counter (variable) is 5, the loop has executed 5 times. So. Check every loop ittiration if the counter is 5, if not, counter+=1. When the counter is 5 (5 seconds have passed), execute the code.This could be slitely complicated than bgt, but it gives you a lot of flexibility later on.If you need any more help, just post in here-me, and other pyth
 on users will be happy to help.

URL: http://forum.audiogames.net/viewtopic.php?pid=213310#p213310




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector