Re: Pyglet help

2020-10-15 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help Hmm, I see what you mean. Searching for words in file names is  fairly straight forward, but doing something like pattern matching to nearest value gets a bit more complicated. At that point, you'd need to match which file matches the input the closest by character despite

Re: Question Regarding Linux

2020-10-16 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Question Regarding Linux Could consider a raspberry pi. They've made some improvements to the Orca support in Raspbian Buster, and you can run it on a virtual machine or ssh into a pi. URL: https://forum.audiogames.net/post/580607/#p580607 -- Audiogames-reflector mailing list

Re: Pyglet help

2020-10-17 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help @24Without seeing the files your trying to catalog its hard to say. Its true that there may be many songs by Michael Jackson or by a michael, but whether the artists name is in the filename of the song or not may depend on what results you get. Another thing to take into

Re: Pyglet help

2020-10-17 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help @24Without seeing the files your trying to catalog its hard to say. Its true that there may be many songs by Michael Jackson or by a michael, but whether the artists name is in the filename of the song or not may depend on what results you get. Another thing to take into

Re: Python how to extract archive

2020-10-20 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Python how to extract archive Using zipfile, it will extract to the current working directory. If you want to preserve the internal directory structure, you should also include the name list. Example:import zipfile box = zipfile.ZipFile('archive.zip')

Re: Continuous input

2020-08-21 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Continuous input Added a print function under "if keylist[pygame.K_SPACE]:", seems to work alright. Tapping or holding space seems to run along, although it doesn't go upto 300, it goes up to 1600. Are you trying to count individual key taps? URL:

Re: logic for creating maps in python

2020-08-17 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: logic for creating maps in python A typical way of implementing a 2D map editor involves assigning a numerical value to an object. So 0 = open space, 1 = a wall, 2 = bunnies, etc. Then the 2D array is populated with those items in a way that you want to create a map. Other numbers can

Re: logic for creating maps in python

2020-08-17 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: logic for creating maps in python Maps in python are more or less just data, so it really depends on what kind of map you want to make, 2D/3D, etc. A map class can contain all sorts of data, but the primary data is usually the map itself which can consist of things like a 2D array to

Re: Audio game jam - No Video Jam runs thru August 28

2020-08-15 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio game jam - No Video Jam runs thru August 28 On some of the other jam pages that are currently in progress, there's a tab listing current submissions that can be viewed and/or downloaded. Chances are when someone submits something, you'll be able to find it that way. URL:

Re: Pyglet help

2020-09-22 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help Sub folders would probably take something like os.walk or a tree crawler, but for parsing files you can use os.listdir with os.scandir for current directories.import os.path import glob types = [".mp3", ".wav", ".flac", ".mp4", ".mpg", ".avi", ".m4a"] types = str(types)

Re: Python. Should I learn?

2020-09-24 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Python. Should I learn? @6Like, audiogames? Or sighted games? There's [evennia]. URL: https://forum.audiogames.net/post/573676/#p573676 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: Pyglet help

2020-09-26 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help The purpose of the ".flac" if statement line is more to catch that file type. The first if statement only checks the last four characters of a filename, but ".flac" is five, counting the period. So I tacked that on to account for it.For search, you could just apply a

Re: Require Tolk.py assistance

2020-10-01 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Require Tolk.py assistance Hmm... Some mention [here] and [here] seems to suggest that python 3.8 has changed how DLL's are handled and loaded more securely, so they won't load by default from the current working directory anymore. You could try this:import os

Re: Require Tolk.py assistance

2020-09-30 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Require Tolk.py assistance Tolk.py is a wrapper for Tolk.dll. You'll need the dllin the same directory for the script to function. I'd written an example pack that could help illustrate this which you can find [here]. URL: https://forum.audiogames.net/post/575842/#p575842 --

Re: Require Tolk.py assistance

2020-09-30 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Require Tolk.py assistance Tolk.py is a wrapper for Tolk.dll. You'll need the dll in the working directory for the script to function, usually the same directory as the script itself. I'd written an example pack that could help illustrate this which you can find [here]. URL:

Re: Require Tolk.py assistance

2020-10-01 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Require Tolk.py assistance Hm, that seems to suggest that your scripts directory and your current working directory are not the same. Try adding this:print(os.getcwd()) URL: https://forum.audiogames.net/post/575857/#p575857 -- Audiogames-reflector mailing list

Re: Require Tolk.py assistance

2020-09-30 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Require Tolk.py assistance Tolk.py is a wrapper for Tolk.dll. You'll need the dll in the same directory for the script to function. I'd written an example pack that could help illustrate this which you can find [here]. URL: https://forum.audiogames.net/post/575842/#p575842 --

Re: how to create a python application that looks like web application?

2020-09-18 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: how to create a python application that looks like web application? Your probably looking for [django], which is generally used for python web apps. URL: https://forum.audiogames.net/post/571779/#p571779 -- Audiogames-reflector mailing list

Re: Pyglet help

2020-09-28 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help The setup seems mostly right, but your checking for directories, not files. You need to swap the entry.is_dir() for entry.is_file(). import os.path import glob types = [".mp3", ".wav", ".flac", ".mp4", ".mpg", ".avi", ".m4a"] types = str(types) path = input("Enter the

Re: help with endless map generation please?

2020-05-29 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: help with endless map generation please? Are you attempting to procedurally generate a whole map? Or generate it as you go? Do you retain previously generated tiles? Do you have a limit in mind as to the maximum size of the generated map? URL:

Re: how to make actual apps with python

2020-05-29 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: how to make actual apps with python wxPython is probably the best option for accessible GUI out of the box. There are of course other graphical libraries to choose from, but they are not natively accessible and would require you to hook in screen reader support manually, like Tolk,

Re: how to make actual apps with python

2020-05-30 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: how to make actual apps with python So something akin to a client server model, where client A and client B talk to server C, who returns packets to A & B? Django is more oriented towards web servers, though you could potentially get something working with that. Sockets and AsyncIO are

Re: (suggestion) an open source audio game in python

2020-05-30 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: (suggestion) an open source audio game in python I think there have been a few attempts at a collab, and there are a few people working on a few things, though motivation and time are precious resources. Such an engine is also on my todo list, though i'm currently occupied dealing with

Re: how to make actual apps with python

2020-05-30 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: how to make actual apps with python Hm, depends. Django and Twisted come to mind, though there are other built in options like sockets or Asyncio. What kind of server support did you have in mind? High scores, match making, etc. URL: https://forum.audiogames.net/post/535074/#p535074

Re: help with endless map generation please?

2020-05-30 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: help with endless map generation please? Hm, well if there's no need to care about previous tiles, there may be no need to retain them in memory either. When moving forward, can they move left or right? Or is it just a straight line? How far ahead can they see along this path?

Re: help with endless map generation please?

2020-05-30 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: help with endless map generation please? Hm, well if there's no need to care about previous tiles, there may be no need to retain them in memory either. When moving forward, can they move left or right? Or is it just a straight line? How far ahead can they see along this path?

Re: (suggestion) an open source audio game in python

2020-05-30 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: (suggestion) an open source audio game in python I think there have been a few attempts at a collab, and there are a few people working on a few things, though motivation and time are precious resources. Such an engine is also on my todo list, though i'm currently occupied dealing with

Re: Audio wrapper for Python

2020-05-31 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python There's something about that error [here], it would seem that get_pos() returns the position in milliseconds, whereas set_pos() takes the target position only in seconds, for whatever reason. So instead of putting set_pos(1000), it would be set_pos(1) to set it

Re: Audio wrapper for Python

2020-05-31 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python There's something about that error [here], it would seem that get_pos() returns the position in milliseconds, whereas set_pos() takes the target position only in seconds, for whatever reason. So instead of putting set_pos(1000), it would be set_pos(1) to set it

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-01 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so Its not, really. Though it can depend on what your looking at. You may not want to restrict yourself to just audiogames if you want to dig into source code, combing through github could be a good place to look, or the game

Re: WebAudio question

2020-06-01 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: WebAudio question Have you tried enabling [HRTF]? URL: https://forum.audiogames.net/post/535810/#p535810 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-01 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so Seems to work fine, although you can only guess one number. You could try adding in a while loop so users can try multiple times. URL: https://forum.audiogames.net/post/535862/#p535862 -- Audiogames-reflector mailing list

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-01 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so There are commands for that, for example:#convert string to int st = "56" st = int(st) print(type(st), st) #comvert to float st = float(st) print(type(st), st) #convert to string st = str(st) print(type(st), st)For window

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-01 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so No, similar syntax. here's an example function:def bob(): print("this is a function" bob()If you want to play around with code, something like the [Python Practice Book] might be more up your alley. URL:

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-01 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so No, similar syntax. Here's an example function:def bob(): print("this is a function") bob()If you want to play around with code, something like the [Python Practice Book] might be more up your alley. URL:

Re: Audio wrapper for Python

2020-06-01 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python I don't think threading would improve the situation any, and thats something python can be troublesome with. But being able to move forward only once is... odd. How many times can you rewind? Can you post the code for your forward and rewind code, and mention

Re: Pyglet help

2020-09-19 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help The seek function works based on time across total duration, so you can take the current time its at and add/subtract that to set your position. So something like this:#rewind if symbol == key.LEFT: print(self.player.time) if self.player.time - 10.0 < 0.0:

Re: Audio Games with Rust?

2020-09-21 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio Games with Rust? @18A [programming language], fairly good for working with hardware from what i've heard. URL: https://forum.audiogames.net/post/572657/#p572657 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: Pyglet help

2020-09-20 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help Bunch of little things, a missing period, indentation on overflow if statements, and you needed to get_duration from the sound file itself, in this case music.get_duration, not the player.import pyglet from pyglet.window import key class Prototype(pyglet.window.Window):

Re: Twisted an UI's?

2020-09-20 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Twisted an UI's? I've posted a bit of twisted code before, you can find some of it [here] for how to integrate twisted with a UI, with pyglet at least. Generally speaking i'd have a client protocol register itself with the game class, and use twisteds reactor.coiterate function to

Re: Python how to extract archive

2020-10-20 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Python how to extract archive @5Part of the problem may be how your packing the zip file. If you select a folder and compress it into a zip, it will extract all the files into that same folder. You could try entering the folder, and selecting all the files and subdirectories to

Re: Pyglet help

2020-10-27 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help Well, the best way to be sure is to test it under manageable conditions you control. Fill a folder with a small number of files you know the names of, some with matching names, some with different capitalization, and see if the script detects them as expected. If it

Re: Pyglet help

2020-10-28 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Pyglet help @28Good suggestion:import os.path import glob types = [".mp3", ".wav", ".flac", ".mp4", ".mpg", ".avi", ".m4a"] types = str(types) path = input("Enter the path to your music folder.") letter = input("Name of the song? ") print(os.getcwd()) #list directories with

Re: Audio game jam - No Video Jam starts August 14

2020-07-18 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio game jam - No Video Jam starts August 14 Ah. Well, I imagined more python based stuff, but eh. Unfortunately my current rig can't run Godot regardless, but I may be able to find other sources. What sort of specifications did you have in mind? URL:

Re: Kerbal Space Castaways

2020-07-21 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Kerbal Space Castaways The bigger thing to focus on would probably be the physics. Realism of spacial bodies would really depend on how many planets you actually want to explore, considering we have little useful topographical data on spacial bodies in our neighborhood other than

Re: Kerbal Space Castaways

2020-07-21 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Kerbal Space Castaways The bigger thing to focus on would probably be the physics. Realism of spacial bodies would really depend on how many planets you actually want to explore, there does seem to be a few heightmaps around of spacial bodies in our relative neighborhood. If you were

Re: Audio game jam - No Video Jam starts August 14

2020-07-21 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio game jam - No Video Jam starts August 14 Uh, well Godot is... wierd. There isn't any obvious setting for defining a scene's size, though I suppose thats determined by the size of the tiles in relation to the anchor point, which in this case is in the upper left corner as 0,0. The

Re: Audio game jam - No Video Jam starts August 14

2020-07-21 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio game jam - No Video Jam starts August 14 Uh, well Godot is... wierd. There isn't any obvious setting for defining a scene's size, though I suppose thats determined by the size of the tiles in relation to the anchor point, which in this case is in the upper left corner as 0,0. The

Re: Programming language groups for the blind community

2020-08-04 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Programming language groups for the blind community Prbly add the [Blind Arduino Blog] to that list. URL: https://forum.audiogames.net/post/558353/#p558353 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: Multiple State Menus?

2020-08-11 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Multiple State Menus? Objects are not necessarily entirely isolated, since by their very nature they have to interact with other elements of the program. The player class for example may have to be aware of the environment for collision or interaction purposes, or vice versa, the

Re: Multiple State Menus?

2020-08-11 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Multiple State Menus? Objects are not necessarily entirely isolated, since by their very nature they have to interact with other elements of the program. The player class for example may have to be aware of the environment for collision or interaction purposes, or vice versa, the

Re: Can any one please help me with this bullet class, python?

2020-08-02 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Can any one please help me with this bullet class, python? The problem of the disappearing bullets could be how your handling the maxx variable:if i.bx>i.maxx: bullets.remove(i)If your moving right, it makes sense that the bullet should reach X distance than

Re: first letter navigation in python

2020-08-09 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: first letter navigation in python Lucia is built on top of pygame, its abstracting that same event system under the hood. Take a [peek], it might help you figure out how to better integrate what you want to do. Either that or write what you need with pygame. URL:

Re: appreciating visual effects?

2020-07-07 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: appreciating visual effects? @4BrushTone is not so much meant for animation, so much as a generalized paint tool thats capable of it. You can make animations with it and view them via sonifier, or frame by frame, if you prefer. This isn't dissimilar to other tools like Asprite or

Re: appreciating visual effects?

2020-07-07 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: appreciating visual effects? Theoretically, there could be a few color formatting approaches you could do that could make UI borders and elements more scannable with a sonifier like the vOICe, black background, white borders, etc. You could take a screenshot of the layout and use the

Re: a python rapper for SAM? Commodore 64

2020-07-09 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: a python rapper for SAM? Commodore 64 The more obscure the software usually makes for less available variations of it. Commodore SAM it would seem isn't actually open source, and the versions found are reverse engineered from a defunct company, so its kind of in a state of limbo.

Re: Audio wrapper for Python

2020-06-15 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Hm, digging around [here] it seems that may be an architecture mismatch. Are you running 32bit or 64bit Python? The included OpenAL32.dll is 32bit, but OpenAL Soft also comes with a 64bit version.Try heading [here] and download the latest version, inside the

Re: An interesting error when trying to initialize lucia

2020-06-15 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: An interesting error when trying to initialize lucia The problem seems to specifically be with Lucia's ability to handle Jaws, try using another screen reader like NVDA instead. URL: https://forum.audiogames.net/post/541647/#p541647 -- Audiogames-reflector mailing list

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: issue with multiple variables in if statement "code" in square brackets, followed by your code, then closed with "/code" in square brackets. URL: https://forum.audiogames.net/post/541661/#p541661 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: python socket server allow multiple clients to connect

2020-06-19 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: python socket server allow multiple clients to connect @22Communication styles vary depending on what your goals, RTS's for example may rely heavily on asynchronous lockstep models, whereas FPS's may be more authoritative and freestyle with client side prediction and server

Re: Audio wrapper for Python

2020-06-15 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Hm, odd. Is this a compiled script? Or could you try sticking it in a temporary folder like "C:\tmp"? Whats the working directory when the script runs before trying to change it? Also be sure that you change the working directory before you try to import

Re: issue with multiple variables in if statement

2020-06-15 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: issue with multiple variables in if statement Hm... From what I can tell, the auto-delay code doesn't actually do anything. reqx is initially set to False, and there's a bit at the start of the msg() function that checks that if reqx is True to extend the delay. But in the while loop

Re: python socket server allow multiple clients to connect

2020-06-18 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: python socket server allow multiple clients to connect [Here's] is a link that covers what ashleygrobler04 mentioned.#create an INET, STREAMing socket serversocket = socket.socket( socket.AF_INET, socket.SOCK_STREAM) #bind the socket to a public host, # and a well-known port

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-07 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so How you handle the data can have an effect on the kind of response or effect your going for. In a game like Zelda, you can walk fluidly across many tiles in a non-even way, whereas in a roguelike you snap from one tile to the

Re: Passing a key from one function to another in python

2020-06-07 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Passing a key from one function to another in python Going from the source, you should probably be using lucia.key_released(), since that indicates when a key isn't being held anymore, and thus just pressed and not held. Lucia uses pygame for its input backend, when you call

Re: Passing a key from one function to another in python

2020-06-07 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Passing a key from one function to another in python That would suggest that each function operates simultaneously, which unless your using threading wouldn't happen. One function by necessity would have to come before the other. Generally how I structure code is I have a root class

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-07 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so When you say "platform", in what way do you mean? Like a free moving game like Zelda, or like a snap like tile based roguelike? Is it a side scroller or top down? URL: https://forum.audiogames.net/post/538510/#p538510 --

Re: Audio wrapper for Python

2020-06-07 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Well, thats frustrating. Its just a python 2 to 3 thing, if you don't mind editing openal.py, you can change that print function to "return". Or you could just grab a hotfix version I just uploaded [here]. URL: https://forum.audiogames.net/post/538508/#p538508

Re: Wx.FindReplaceDialog I need help

2020-06-09 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Wx.FindReplaceDialog I need help You have to bind and handle when the next button is pressed, you can find the find dialog event triggers [here]. Its a bit rough, but this might help:import wx class MyFrame(wx.Frame): def __init__(self, *args, **kwds): kwds["style"] =

Re: Wx.FindReplaceDialog I need help

2020-06-09 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Wx.FindReplaceDialog I need help You have to bind and handle when the next button is pressed, you can find the find dialog event triggers [here]. Its a bit rough, but this might help:import wx class MyFrame(wx.Frame): def __init__(self, *args, **kwds): kwds["style"] =

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-05 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so Something else is your collision detection:if me.x<0: me.x==0 if me.y<0: me.y==0 if me.x>30: me.x==30 if me.y>30: me.y==30In this case, your

Re: Audio wrapper for Python

2020-06-05 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python @46Hm? The line you wrote doesn't match the attribute error, which has an underscore between mixer and music instead of a period. I'd need more context. URL: https://forum.audiogames.net/post/537861/#p537861 -- Audiogames-reflector mailing list

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Well, seems unload may not be implemented like it says in the documentation, or maybe thats for Pygame2? No matter. You can leave that out and just load a new song when you want to play something different. You may also want to move pygame.display.update() up

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python If set_pos() can work properly its not much of an issue, though integrating Pylite with Pygame is fairly easy:import pygame from openal import * import sys def Example(): #initialize pygame pygame.init() #initialize sound mixer listener = Listener()

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python The problem isn't so much the playback, which can be done easily enough with other libraries, so much as the decoding. If you wanted to play wav or ogg file formats it would be easy enough, but mp3's are more of a pain to work with given the available

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python The problem isn't so much the playback, which can be done easily enough with other libraries, so much as the decoding. If you wanted to play wav or ogg file formats it would be easy enough, but mp3's are more of a pain to work with given the available

Re: Audio wrapper for Python

2020-06-08 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python @56No, I believe thats an OpenAL issue. If you have OpenAL installed, then Python will default to it instead of the OpenAL Soft dll included with the examples. To fix it you'll either need to uninstall OpenAL, or download [OpenAL Soft] and follow the included

Re: Classes for learning new information about programming?

2020-06-03 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Classes for learning new information about programming? Python is not a bad choice, and is often recommended as a good place to start because of its easy to pick up, lots of documentation, and strong community... Speaking of which, congradulations! You're talking to a bunch of

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-03 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so Decorators mostly have to do with functions, or more specifically nested functions within functions and so forth. There's a rundown on all of it [here]. URL: https://forum.audiogames.net/post/536918/#p536918 --

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-04 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so Hm. Do you have pygame installed? Lucia uses it as a dependancy for keyboard input. URL: https://forum.audiogames.net/post/537432/#p537432 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: Something that confuses me in python

2020-06-05 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Something that confuses me in python [Mutable Default Arguments] URL: https://forum.audiogames.net/post/537528/#p537528 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: what do i need in an rpg engine?

2020-06-05 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: what do i need in an rpg engine? @13One method would be to have a map array and store object and trigger id's for events, like fights, switches, etc. Makes editing environments and scripting straightforward, that and you can potentially store event scripts externally for easier

Re: Audio wrapper for Python

2020-06-13 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python If it can't find the binary, then there may be an issue with your current working directory. The script your working on has to be in the same directory as the OpenAL binary and the OpenAL.py script, and the script has to consider that folder your working

Re: Classes for learning new information about programming?

2020-06-02 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Classes for learning new information about programming? Well that depends, what programming language did you have in mind? URL: https://forum.audiogames.net/post/536364/#p536364 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-02 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so Hmm, yup that works, good job. Also flexing some function calls and globals as well, there are a few other ways to handle that. For example, you could put the while loop just before your input so you wouldn't need to use a

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-02 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so @38Hmm, yup that works, good job. Also flexing some function calls and globals as well, there are a few other ways to handle that. For example, you could put the while loop just before your input so you wouldn't need to use a

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-02 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so @38Hmm, yup that works, good job. Also flexing some function calls and globals as well, there are a few other ways to handle that. For example, you could put the while loop just before your input so you wouldn't need to use a

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-03 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so @57Yes, i'm trying to be illustrative. From a practical standpoint a property descriptor can operate much like that of a function, which may help in understanding it from a conceptual standpoint, followed by more nuanced

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-03 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so @54If you'd like an example of properties, look into [OpenAL PyLite], alot of the classes use them. Though there are a few applications, lets say you want to get and set the volume of a given sound, you can use a property

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-03 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so @54If you'd like an example of properties, look into [OpenAL PyLite], alot of the classes use them. Though there are a few applications, lets say you want to get and set the volume of a given sound, you can use a property

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-03 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so @54If you'd like an example of properties, look into [OpenAL PyLite], alot of the classes use them. Though there are a few applications, lets say you want to get and set the volume of a given sound, you can use a property

Re: how to use python sapi

2020-06-03 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: how to use python sapi There are a few options besides accessible_output2, [Pyttsx] for crossplatform system TTS, [Tolk] which can support most windows based screen readers, you can find an example of it [here], and [Universal Speech]. URL:

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-03 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so @54If you'd like an example of properties, look into [OpenAL PyLite], alot of the classes use them. Really, its more of a syntax convience thing. For example lets say you want to get and set the volume of a given sound, you'd

Re: I want to lirn pithon but pithon doesn't want me to do so

2020-06-04 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: I want to lirn pithon but pithon doesn't want me to do so @54If you'd like an example of properties, look into [OpenAL PyLite], alot of the classes use them. Though there are a few applications, lets say you want to get and set the volume of a given sound, you can use two functions for

Re: html help file

2020-06-02 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: html help file @19Well, i'm glad you figured it out. If its of any assistance though, there's information [here] on how to set the title. There's also the [Microsoft Help Workshop and Documentation] tools for compiling chm files, and you can use the previously suggested Markdown with

Re: Audio wrapper for Python

2020-06-07 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python If set_pos() can work properly its not much of an issue, though integrating Pylite with Pygame is fairly easy:import pygame from openal import * import sys def Example(): #initialize pygame pygame.init() #initialize sound mixer listener = Listener()

Re: Audio wrapper for Python

2020-06-07 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python If set_pos() can work properly its not much of an issue, whats the length in seconds of the mp3 you tested it with? Integrating Pylite with Pygame is also fairly easy:import pygame from openal import * import sys def Example(): #initialize pygame

Re: Audio wrapper for Python

2020-06-13 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python As amerikranian mentioned, even if the files are allin the same folder, python has to consider it the current working directory. If you run the script from C: by writing "C:\folder\myscript.py", then C: would be the working directory, not the folder conrtaining

Re: Reviewing Pyglet

2020-07-23 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Reviewing Pyglet As a long time Pyglet user, I can say that speed isn't an issue, although you'll need some experience with it to optimize it properly for some applications. It has support for shaders, batch rendering, 3D, and various other heavy lifting aspects. The 3D audio support

Re: Sapi 4 documentation

2020-07-24 Thread AudioGames . net ForumDevelopers room : magurp244 via Audiogames-reflector
Re: Sapi 4 documentation Hm. Not much around perse, though there appears to be a SAPI4 guide [here] that may help. URL: https://forum.audiogames.net/post/555312/#p555312 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

<    5   6   7   8   9   10   11   >