Re: Getting started with coding audiogames in Python?
There are a number of free books available, such as [Dive Into Python], [How To Think Like A Computer Scientist], or the [Python Practice Book]. In general though the basics of python are fairly straight forward, loops, if statements, variables, etc. so even "crap" sources can provide at least some useful information.
As for audio, its difficult to point to any particular tutorial on that, as there are a variaty of libraries around with their own functions and methods, although you may find my [OpenAL Examples] useful for getting started. If you have any questions feel free to ask. Much of the books i've already mentioned only cover the core basics of the language, so if you plan on getting into game development you'll need some additional libraries for handling things like windows, key input, and such. Most tend to choose between Pygame or Pyglet, there are others but they can be a bit troublesome to deal with. Its also worth noting that both Pygame and Pyglet have their own audio functions, if you feel like starting out with those.
Your choice of library should also be determined based on what you plan on doing, Pygame is largely for 2D applications, Pyglet can handle both 2D and 3D, Ren'Py is mostly for text based games, and Panda3D is a 3D engine based framework. I've haven't played much with cocos2D or Arcade so can't offer much advice on them.
Thanks for posting. As someone who has learned the basics of python, and is now looking to start making games, this gives me a much clearer idea of what I’ll need to learn.
I found plenty of tutorials online that show how to make games with the libraries mentioned in your post, however they don’t mention how To add audio. This is where I am a bit confused. Is it as simple as adding sounds into the code of the main game at the correct places, using the audio libraries you mentioned, or is it a more complicated process than that?
I would greatly appreciate any advice You can provide.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector