Re: Differences between python 2 and python 3?

2019-09-10 Thread AudioGames . net Forum — Developers room : Ty via Audiogames-reflector


  


Re: Differences between python 2 and python 3?

There are, but I'm not sure of them, and it's going to be unsupported in 2020.

URL: https://forum.audiogames.net/post/460872/#p460872




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


Re: Differences between python 2 and python 3?

2019-09-10 Thread AudioGames . net Forum — Developers room : Liam via Audiogames-reflector


  


Re: Differences between python 2 and python 3?

Too many to list.Though keep in mind that NVDA is apparently shifting to Python 3.it's highly highly recommended not to even touch the 2 series.

URL: https://forum.audiogames.net/post/460833/#p460833




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


Differences between python 2 and python 3?

2019-09-10 Thread AudioGames . net Forum — Developers room : cmerry via Audiogames-reflector


  


Differences between python 2 and python 3?

Hi.So I am aware that a lot of programs still use python2, nvda, tw blue, etc just to name a few. Are there any syntactical or other differences between the two versions?

URL: https://forum.audiogames.net/post/460832/#p460832




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Python 2 or Python 3?

Hm, seems python.org's burying the python 2 download... You can get it [here]. Keep in mind that there are only a few small differences between python 2 and python 3, such that you may indeed be better off going with 3 instead.

URL: https://forum.audiogames.net/post/422358/#p422358




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : mahdi-abedi via Audiogames-reflector


  


Re: Python 2 or Python 3?

as I read in one website, python2 updated on 2010 to ma'ch with new things which is python3 was with: I think, use python2: can someone please give me python2 direct link?

URL: https://forum.audiogames.net/post/422269/#p422269




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector


  


Re: Python 2 or Python 3?

@6Thanks for the clarification. I've so far been enjoying Think Python. I prefer having things explained to me in lots of detail.

URL: https://forum.audiogames.net/post/422264/#p422264




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector


  


Re: Python 2 or Python 3?

OH. thanks

URL: https://forum.audiogames.net/post/422162/#p422162




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Python 2 or Python 3?

Sure, you could just use a list to store multiple sounds and load them on startup. For example:#load multiple sounds
sounds = [LoadSound('1.wav'),LoadSound('2.wav'),LoadSound('3.wav')]
#load the first sound
player.add(sounds[0])
#remove the loaded sound
player.remove()
#load the second sound
player.add(sounds[1])You can also have multiple players, though each player can only play one sound at a time, and if you queue multiple sounds onto a single player it will go through them one at a time.

URL: https://forum.audiogames.net/post/422160/#p422160




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector


  


Re: Python 2 or Python 3?

 it seems simple. thanks. but is there not an easier way to load a bunch of sounds and play them acoarding to there loaded number?because if i have to make use of multiple sounds, i would like to play them back at different times i guess since it is for a game.

URL: https://forum.audiogames.net/post/422156/#p422156




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Python 2 or Python 3?

You'll have to have OpenAL32.dll and the openal.py wrapper in your working directory, and you can look to the examples in the pack for working with the advanced features. Example:import pygame
from openal import *
import sys

def Example():
#initialize pygame
pygame.init()
#load listener for hearing sound
listener = Listener()
#load sound object
sound = LoadSound('tone5.wav')
#load player for playing sound
player = Player()
#load sound object into player
player.add(sound)
#create display
window = pygame.display.set_mode([640,480])

#main update loop
while True:
for event in pygame.event.get():
if event.type == pygame.KEYDOWN:
#if space is pressed, play sound
if event.key == pygame.K_SPACE:
player.play()
#if escape is pressed, clean up and quit
if event.key == pygame.K_ESCAPE:
player.delete()
sound.delete()
listener.delete()
pygame.quit()
sys.exit(0)

#update window
pygame.display.update()

Example()

URL: https://forum.audiogames.net/post/422154/#p422154




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector


  


Re: Python 2 or Python 3?

Yeah. Pygame is there, and is a module for python. It works both with python2 and python3. However, as you saw in the previous posts, it is recommended to use python3. Just to give you more choices in case of game making modules, there's this module called panda3d which has everything itself such as positional audio handling with openal and fmod, audio effects such as reverb, game camera handling, and this sort of game-ish stuff. It's different when it comes to comparison between pygame, and panda3d. It's more like pyglet. Another module. Pyglet is another game making module which uses decorators for handling some type of functions and events. The thing that I never liked about pyglet is its slow loops. It is now your turn to search about these three libraries(pygame, panda3d and pyglet) to find the best one for your needs and start using it.

URL: https://forum.audiogames.net/post/422148/#p422148




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector


  


Re: Python 2 or Python 3?

it won't hurt, thanks

URL: https://forum.audiogames.net/post/422145/#p422145




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


Re: Python 2 or Python 3?

2019-03-25 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Python 2 or Python 3?

Pygame unfortunately doesn't have 3D positional audio abilities or any advanced features. As a rseult if you want more features such as reverb or positioning you'll have to use another library. However, this is where the OpenAL examples I provided come in, as OpenAL comes fully loaded will all the features you need, such as 3D positional audio, effects, filters, hrtf, etc. It comes with a selection of examples, and you can also use OpenAL with pygame instead of pygames built in basic audio. I can provide an example of that if you like.

URL: https://forum.audiogames.net/post/422138/#p422138




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


Re: Python 2 or Python 3?

2019-03-24 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector


  


Re: Python 2 or Python 3?

Hi, magurp speaking of examples, i thought i would not create another thred to ask for this, but i don't understand the panning of sounds in pygame. do you have an example on how to pan sounds in pygame?I googled it and all i found was where other people where recomended to use other sound libraries... but i don't want to use another one now because i am already getting the hang of pygame, only the functions i need...

URL: https://forum.audiogames.net/post/422123/#p422123




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


Re: Python 2 or Python 3?

2019-03-24 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Python 2 or Python 3?

@5Python is becoming a fairly popular language, is quite powerful, has lots of documentation, and is easy to pick up. In that particular thread people seem to be talking back and forth more about libraries for Python, of which there are many of differing qualities and tastes, and not the language of Python itself. An analogy for this would be sort of like people arguing over their favorite soccer team, they both like soccer, but disagree on the best teams. If you also check the last page of that thread you'll find my post to other Python books like Dive Into Python, How To Think Like A Computer Scientist, the Python Practice Book, and a link to my OpenAL Lite examples.Also, if you have any questions or would like any examples, such as for pygame, just ask.

URL: https://forum.audiogames.net/post/422109/#p422109




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


Re: Python 2 or Python 3?

2019-03-24 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Python 2 or Python 3?

@5Python is becoming a fairly popular language, is quite powerful, has lots of documentation, and is easy to pick up. In that particular thread people seem to be talking back and forth more about libraries for Python, of which there are many of differing qualities and tastes, and not the language of Python itself. An analogy for this would be sort of like people arguing over their favorite soccer team, they both love soccer, but disagree on the best teams. If you also check the last page of that thread you'll find my post to other Python books like Dive Into Python, How To Think Like A Computer Scientist, the Python Practice Book, and a link to my OpenAL Lite examples.Also, if you have any questions or would like any examples, such as for pygame, just ask.

URL: https://forum.audiogames.net/post/422109/#p422109




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


Re: Python 2 or Python 3?

2019-03-24 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Python 2 or Python 3?

@5Python is becoming a fairly popular language, is quite powerful, has lots of documentation, and is easy to pick up. In that particular thread people seem to be talking back and forth more about libraries for Python, of which there are many of differing qualities and tastes, and not the language of Python itself. An analogy for this would be sort of like people arguing over their favorite soccer team, they both love soccer, but disagree on the best teams. If you also check the last page of that thread you'll find my post to other Python books like Dive Into Python, How To Think Like A Computer Scientist, the Python Practice Book, and a link to my OpenAL Lite examples.

URL: https://forum.audiogames.net/post/422109/#p422109




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


Re: Python 2 or Python 3?

2019-03-24 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector


  


Re: Python 2 or Python 3?

Thank you for the source, much appreciated. I found Think Python, but if I end up not liking that, I"ll check out the one you suggested .

URL: https://forum.audiogames.net/post/422079/#p422079




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


Re: Python 2 or Python 3?

2019-03-24 Thread AudioGames . net Forum — Developers room : Vulcan_Raven via Audiogames-reflector


  


Re: Python 2 or Python 3?

I am also trying to learn python as i also want to make a very complex multi title game and was recommended this source.https://learnpythonthehardway.org/Forget learn python the hard way 2 as it is a bit outdated and go to learn python the hard way 3.  From what I have seen so far, it is going to be a fun adventure.  A good luck to you and your learning journey.

URL: https://forum.audiogames.net/post/422076/#p422076




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


Re: Python 2 or Python 3?

2019-03-24 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector


  


Re: Python 2 or Python 3?

Okay gotcha.I've been reading this thread, and I feel like I need a little reassurance that Python is the way to go:https://forum.audiogames.net/topic/2673 … on/page/2/I've seen people talk about how Python is so much better for creating audio games than BGT, but then in that thread people seem to be crapping all over Python. IDK, just don't want to be jumping into this until I know it's worth my time.

URL: https://forum.audiogames.net/post/422065/#p422065




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


Re: Python 2 or Python 3?

2019-03-24 Thread AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector


  


Re: Python 2 or Python 3?

Yes, most modules have been ported to python 3. It's advisable to forget about and leave python 2 behind

URL: https://forum.audiogames.net/post/422063/#p422063




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


Python 2 or Python 3?

2019-03-24 Thread AudioGames . net Forum — Developers room : ross via Audiogames-reflector


  


Python 2 or Python 3?

I'm really wanting to create an audio game. I would really like to use BGT, but I'm just going to bite the bullet and dive into Python. I know, as I become more experienced with Python, I"ll be glad I didn't stick with BGT. That being said, I see that everyone suggests using Pygame. Does that work with Python 2 or 3? I don't even know if that makes sense, because I barely even know what I"m talking about. Also, does anyone have a suggestion on where to start learning? Thanks

URL: https://forum.audiogames.net/post/422050/#p422050




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