Re: Handling Keyboard
Input handling can be structured in a number of ways, though it can depend on the library. I tend to structure my code so there's a main loop, with the input being captured and passed on to each class in the loop. So, for example:import pygame
import sys
class main(ob
Re: Is there any tutorial for wx python?
You may also benefit from the [wxpython demo], which contains source code examples of many wxpython functions.
URL: https://forum.audiogames.net/post/620334/#p620334
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu
Re: Is there any tutorial for wx python?
You may also benefit from the [wxpython demo], which contains source code examples of many wxpython functions.
URL: https://forum.audiogames.net/post/620334/#p620334
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu
Re: Design Strategy: Following Party.
As mentioned, party members who follow you out of combat has been done quite a bit over the years in RPG's, Paladins Quest, the Dragon Warrior series, etc. One way of implementing it could be, that instead of playing the main characters footsteps, you c
Re: Required Tolk assistance.
You can find the last working appveyor builds [here].
URL: https://forum.audiogames.net/post/618063/#p618063
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audio
Re: Help with map creation please?
@11They do use a limited color palette, but seem to make up for it with complex light shaders for a stylistic approach. Its a style that seems similar to games like Witch it!, or Sea of Thieves, but i'm not sure those use voxels. Basically solid colors for
Re: Help with map creation please?
A number of games did, and in some cases do still use tiling in some form, for example Wrath Of Earth released in 1995. Its just they may not necessarily be as renowned or obvious in their architecture, Legend of GrimRock also comes to mind. Voxel technolo
Re: Help with map creation please?
A number of games did, and in some cases do still use tiling in some form, for example Wrath Of Earth released in 1995. Its just they may not necessarily be as renowned or obvious in their architecture. Voxel technology also goes to a much finer resolution
Re: Help with map creation please?
A number of games did, and in some cases do still use tiling in some form, for example Wrath Of Earth released in 1995. Its just they may not necessarily be as renowned or obvious in their architecture. Voxel technology also goes to a much finer resolution
Re: Help with map creation please?
@7My [audiocraft] prototype uses a basic voxel engine you could mess around with, if it helps.
URL: https://forum.audiogames.net/post/617559/#p617559
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahatti
Re: Help with map creation please?
A map, in its purest contextual form, is nothing more than a list that holds numbers. Each number represents something, a carpet, a wall, an object, etc. its all rather arbitrary. In the case of a 2D map vs a 3D map, as has been mentioned it really depends
Re: Good resources for getting to grips with procedural or maze generation
Procedural Generation is more using randomness as work. I once made a world generation system for an RTS, and it basically consisted of an X by Y 2D array consisting of water tiles. I then dropped an NPC at random on
Re: Good resources for getting to grips with procedural or maze generation
Procedural Generation is more using randomness as work. I once made a world generation system for an RTS, and it basically consisted of an X by Y 2D array consisting of water tiles. I then dropped an NPC at random on
Re: what types of skills do I need to work with arduinos?
@7Degree's have their uses, but generally they have less value compared to a good portfolio or project contribution. Part of the reasoning behind that is that a degree doesn't definitely prove you can actually do the things your supp
Re: what types of skills do I need to work with arduinos?
@7Degree's have their uses, but generally they have less value compared to a good portfolio or project contribution. Part of the reasoning behind that is that a degree doesn't definitely prove you can actually do the things your supp
Re: what types of skills do I need to work with arduinos?
@7Degree's have their uses, but generally they have less value compared to a good portfolio or project contribution. Part of the reasoning behind that is that a degree doesn't definitely prove you can actually do the things your supp
Re: what types of skills do I need to work with arduinos?
Camlorn makes some good points, working with electronics can be challenging, especially depending on your setup or project. But I think its still a really useful skill to have, even if you don't always use it, for things like repairs
Re: what types of skills do I need to work with arduinos?
Mostly what you've mentioned, mechanical/electrical engineering, computer science, etc. Some of the terms might vary a bit though, like electronics, some universities also have Robotics or AI focused courses, etc. You could also jump
Re: what types of skills do I need to work with arduinos?
Mostly what you've mentioned, mechanical/electrical engineering, computer science, etc. Some of the terms might vary a bit though, like electronics, some universities also have Robotics or AI focused courses, etc. You could also jump
Re: what types of skills do I need to work with arduinos?
Mostly what you've mentioned, mechanical/electrical engineering, computer science, etc. Some of the terms might vary a bit though, like electronics, some universities also have Robotics or AI focused courses, etc. You could also jump
Re: what types of skills do I need to work with arduinos?
Mostly what you've mentioned, mechanical/electrical engineering, computer science, etc. Some of the terms might vary a bit though, like electronics, some universities also have Robotics or AI focused courses, etc. You could also jump
Re: Timers based on fps?
That can depend on a number of things, for example if VSync is enabled tent the frame rate is typically locked to the refresh rate of the monitor, typically 60 fps. But the rate that a computer can refresh a scene can be several times greater than that, like upwards
Re: Pyglet help
Hm, pyglets media library can load audio fine without a window loaded, so you could get away with using just the command line with no hotkeys like so:import os
import pyglet
os.add_dll_directory(os.getcwd())
from openal import *
import time
listener = Listener()
types = [
Re: Pyglet help
I suspect that the way the script is written, the main window that pops up won't fully initialize until the data is input on the command line window, even though the pyglet window takes focus when loading. That includes the directory, name of the song, and selected file numb
Re: Pyglet help
Playing with it a bit, you can leave the CDLL line in Pylite as:self._lib = ctypes.CDLL('OpenAL32.dll')Instead, in your script add the add_dll_directory() line to before you import openal, like so:import os
import pyglet
from pyglet.window import key
os.add_dll_directory(os.
Re: mac python users, I need help.
This seems to be an issue with python, but appears to have been fixed in the latest v3.9 as mentioned [here]. There's also a bit covering Mac OSX in the pyinstaller documentation [here].
URL: https://forum.audiogames.net/post/614240/#p614240
--
Audio
Re: would it be possible to port a speech engine to Game Boy Advance?
Hmm, its tricky but could depend on a few things. Voice sampling, while uncommon, isn't new to GBC/GBA/NES games. Digging around a bit there are a few game boy games that have it, there's a video [here] with some samples,
Re: would it be possible to port a speech engine to Game Boy Advance?
Hmm, its tricky but could depend on a few things. Voice sampling, while uncommon, isn't new to GBC/GBA/NES games. Digging around a bit there are a few game boy games that have it, there's a video [here] with some samples,
Re: would it be possible to port a speech engine to Game Boy Advance?
Hmm, its tricky but could depend on a few things. Voice sampling, while uncommon, isn't new to GBC/GBA/NES games. Digging around a bit there are a few game boy games that have it, there's a video [here] with some samples,
Re: Pyglet help
That seems more like a [pathing error]. Be sure to keep the given OpenAL32.dll in the same directory as pylite and your script. It could also be because I had added:self._lib = ctypes.CDLL(os.getcwd()+'\OpenAL32.dll')So you could just as easily try:self._lib = ctypes.CDLL('O
Re: I want to create 3D game. What language to use?
Don't know what state its in but the github's active, fairly recent activity, and a few commits just a few days ago.
URL: https://forum.audiogames.net/post/612567/#p612567
--
Audiogames-reflector mailing list
Audiogames-reflector@sab
Re: I want to create 3D game. What language to use?
@30Ah, yeah your right. I recall they had some tickets about that with little progress on it. Hm, what was the accessibility like on PyQT5? That seems to support mobile, another one seems to be [Toga] with Native Widgets, might be worth a
Re: how to associate my python programme with a filetype
That is a more windows bound issue, but there's something [here] that may help. Using argparse you can try to setup the associations with ftype and assoc command line options when installing or setting up your program.
URL: https://f
Re: I want to create 3D game. What language to use?
@18Python can work on Android/iOS, using the Kivy Library for example. I'm not sure how good it is though for reliability/accessibility.
URL: https://forum.audiogames.net/post/612258/#p612258
--
Audiogames-reflector mailing list
Audi
Re: how to associate my python programme with a filetype
On windows 10 when you right click and select open with, you can select "Choose another app", and then there's a list of programs. You can scroll down and even search for programs on your computer that may not be in the list, and at t
Re: I want to create 3D game. What language to use?
It would help to know which languages you already know or have worked with, as we may be able to point you towards resources and API's that may prove useful. My first impulse based on your requirements and experience with server architectu
Re: weird issue with wxpython after reinstalling windows
You may need to set the locale before running the app, more info [here].
URL: https://forum.audiogames.net/post/611659/#p611659
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahatti
Re: I want to create 3D game. What language to use?
It would help to know which languages you already know or have worked with, as we may be able to point you towards resources and API's that may prove useful. My first impulse based on your requirements and experience with server architectu
Re: Pyglet help
[PyLite v1.3]
URL: https://forum.audiogames.net/post/611651/#p611651
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Pyglet help
The problem is a bit... bothersome. Pyglet has a number of features for loading different audio formats, but doesn't support more advanced features like EFX. PyLite currently only loads wav files, but has support for advanced features, but the two are not interchangable pers
Re: Pyglet help
The problem is a bit... bothersome. Pyglet has a number of features for loading different audio formats, but doesn't support more advanced features like EFX. PyLite currently only loads wav files, but has support for advanced features, but the two are not interchangable pers
Re: Pyglet help
Zignal seems rather interesting, maybe something like SciPy could also work for signal processing. I haven't played around with equalizers much though, so its hard to say. Having said that though, OpenAL Soft does have an equalizer EFX option you can use, and you can find b
Re: how do online multiplayer games work?
It depends, specifically it depends on the style of gameplay your going for and how often it needs to calculate changes in state, or how much the server controls vs the client. For the most part you seem familiar with the types of data and updating,
Re: how do online multiplayer games work?
It depends, specifically it depends on the style of gameplay your going for and how often it needs to calculate changes in state, or how much the server controls vs the client. For the most part you seem familiar with the types of data and updating,
Re: Visualizations in python
Hmm.. Yes it seems GSK does only support its own native format. Out of idle curiosity, what format are the graphs exported through matplotlib? As for a PNG export, i'd suggest either TactileView or BrushTone, they're both accessible paint tools that can allow yo
Re: Visualizations in python
I'll refer to a post I made [here], which includes a program called GSK# for graphing, sonifiers, and accessible paint tools that might help, TactileView for printed braille, or BrushTone with braille display output, etc. Alternatively, perhaps there could be a
Re: Pyglet help
Text strings are a bit funny, if you use only a single backslash it interprets the line and the quote marks encapsulating it as a character symbol instead of an actual backslash text string. So putting two backslashes avoids that mischaracterisation.
URL: https://forum.audi
Re: Pyglet help
I merged the file search segment with the prototype class, so what you do is enter the directory and nearest search word, and it will spit out a list of matching songs numbered from first to last. Enter the corresponding number and press enter to play your track of choice:im
Re: Pyglet help
Hm, not the most elegant way of integrating the code, but it seems the issue is when you try loading the sound file in the Prototype class:self.music = pyglet.media.StaticSource(pyglet.media.load('name[0]',streaming=False))First, when loading "name[0]" your not inclu
Re: Pyglet help
Actually, just storing the full filename would probably work. So something like:import os.path
import glob
types = [".mp3", ".wav", ".flac", ".mp4", ".mpg", ".avi", ".m4a"]
types = str(types)
playlist = []
path = input("Enter the path to your music folder.")
letter = inpu
Re: Pyglet help
You could, yes. You may want to match it with the full filename for loading reference, but that way people could select whatever tracks they like. You could also shuffle that name list to load tracks randomly as well, such as:import random
box = [1,2,3,4,5]
box = random.shu
Re: wxPython ListCtrl and CalendarCtrl accessibility
@5Hmm, a less simple way could be to capture one of the events emitted when a column is hovered or selected and push it to the screen reader manually with something like Tolk. Maybe something like EVT_LIST_ITEM_FOCUSED or EVT_LIST_ITEM_SE
Re: wxPython ListCtrl and CalendarCtrl accessibility
WxPython is known for these little quirks in its accessibility. In some cases its the help text with things like certain buttons or functions that catch with screen readers, but it doesn't seem like there may be much for that with columns
Re: Atom-editor
Signs are pointing to [no]. There's some suggestion of going with VS Code though.
URL: https://forum.audiogames.net/post/596448/#p596448
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/
Re: platform to musicians?
For audio specifically, I think two of the major ones are [Soundcloud] and [Bandcamp].
URL: https://forum.audiogames.net/post/595787/#p595787
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/
Re: FMOD Studio Licence Changes
From what I can tell the licence change applies to FMOD Studio and FMOD Studio Engine, i'm not sure how that may apply to the FMOD API as opposed to the studio design application.
URL: https://forum.audiogames.net/post/595534/#p595534
--
Audiogames-refl
FMOD Studio Licence Changes
As reported by [gamasutra]:The FMOD developers have changed the term's of their licensing to benefit indie developers, now using FMOD Studio or FMOD Studio Engine is free for any developer whose yearly revenue is less than 200k, or whose budget is less than 500k.
Re: Splitting up pathfinding
This is somewhat related, but RTS games tend to have an issue in terms of pathfinding overhead, usually you can employ tricks like flocking or sectorization to cut down on the distance and number of pathfinding calls you need to make. Another way could be by usi
Re: what is the easyest programming language to learn as a beginner
While there are many different languages, Python is often the most recommended for beginners because its easy to use, versatile, has alot of documentation, and a strong community to help out if needed. When getting started,
Re: some help needed with python
Can you post the full traceback? As for the current working directory, add this to your script:import os
print(os.getcwd())This will tell you the current working directory, which is where your script is looking for your files. If your files aren't in the wo
Re: how is numpy exactly faster than standered lists
Another thing is that numpy has a lot of computational functions that regular arrays don't have. For example, in your given benchmark you iterate over an array and add 1 to each variable. If you were to do that in numpy you would just do:
Re: some help needed with python
Part of it could be pathing and the current working directory. Try using a simpler test script for loading/playing sound, you can find one [here] in one of my previous posts. If it doesn't work, you can try checking the current working directory.
URL: https
Re: which api to use for sapi4 in python and other languages with com
Hm, thats the same object string in the script:import sys
import win32com.client
import pythoncom
defaultNamedOptArg=pythoncom.Missing
defaultNamedNotOptArg=pythoncom.Missing
defaultUnnamedArg=pythoncom.Missing
print "E
Re: which api to use for sapi4 in python and other languages with com
Its difficult to dig up information on it, other than a mention of [Microsoft Agents] package, or a few scant scripts [here].edit: Hm... [Balabolka] seems a bit interesting.
URL: https://forum.audiogames.net/post/589056/
Re: which api to use for sapi4 in python and other languages with com
Its difficult to dig up information on it, other than a mention of [Microsoft Agents] package, or a few scant scripts [here].
URL: https://forum.audiogames.net/post/589056/#p589056
--
Audiogames-reflector mailing li
Re: py installer, Is it safe?
If someone wants your code, it doesn't matter what its written in they will get it, no matter what level of encryption or tricks you use. Full Stop. I know of people who decompile and reverse engineer assembly code, C, C++, hell the pirate scene can crack DRM i
Re: is there a python module to get a subject of a sentence?
As #5 stated, this is not as simple a problem as you might imagine, because the symantics and meaning of a given sentence can be entirely subjective. Based on your example "I shot the other player and dragged him all over the map"
Re: is there a python module to get a subject of a sentence?
As #5 stated, this is not as simple a problem as you might imagine, because the symantics and meaning of a given sentence can be entirely subjective. Based on your example "I shot the other player and dragged him all over the map"
Re: A few question about C.
The python equivalent of a pointer is often referred to as a list or array, which have many different uses depending on what you have in mind. Generally speaking, Python abstracts alot of the memory management behind the scene's for you, but there are a lot of di
Re: A few question about C.
Python abstracts a lot of the things C does, but to put it another way, pointers are a kind of variable, along with strings, integers, floating point, etc. Generally, pointers would be the equivalent of lists or arrays in python. When you assign a variable in Pyt
Re: A few question about C.
Python abstracts a lot of the things C does, but to put it another way, pointers are a kind of variable, along with strings, integers, floating point, etc. When you assign a variable in Python, it automatically handles all this memory management behind the scene'
Re: python users please save me
@12I'm not sure its a specific bias towards JPEG, so much as the Python dev's clearing out redundant code. There was an update about it [here], much of their rationalization is that the code is dated, unmaintained, and third parties like PIL provide better su
Re: python users please save me
@12I'm not sure its a specific bias towards JPEG, so much as the Python dev's clearing out unmaintained/outdated code. There was an update about it [here] about it, much of their rationalization is that the code is dated, unmaintained, and third parties like
Re: python users please save me
Considering your goal is to get the metadata and alter the image data, you'll likely require an image handling library like some of those mentioned. Other's could include Pyglet, wxPython, or Pygame as well.
URL: https://forum.audiogames.net/post/585774/#p58
Re: is kivi accessible?
That... is an excellent question. I've seen some chatter about it on [reddit] and [stack overflow], but those are 4-5 years ago.There seems to be a more active and current discussion on github amongst developers on the subject though, some of the latest updates being
Re: is kivi accessible?
That... is an excellent question. I've seen some chatter about it on [reddit] and [stack overflow], but those are 4-5 years ago.There seems to be a more active and current discussion on github amongst developers on the subject though, some of the latest updates being
Re: why are developers moving towards python?
People seem to have a sense of anxiety around the percieved "speed" of Python, but as with many things it depends on a number of factors. Generally speaking, Python isn't slow, most programs rely on support libraries that are often written in mo
Re: This Noob Wants to Learn How to Code
Heh, don't worry about it. We all started somewhere, whether anything comes of it or not is fine though, its good to feed ones curiosity after all. As previously mentioned, if you have any questions or problems feel free to ask, and we'll try to help
Re: android develupment, a more than a complete newbie
Java is the primary language typically used for android development, although other languages like Kotlin, C++, C#, or even python can be used. Asside from finding a good guide or available books, you could try setting up an Android Emu
Re: This Noob Wants to Learn How to Code
Ahh, another acolyte joins the fold I see... Python is generally recommended for beginners, being fairly robust, has good support, and a strong community. You should try checkout out Amerikranian's Guide [here], or other books like the [Python Practi
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 os.scandi
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 os.scandi
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 doesn't,
Re: am I learning in the wrong way?
@1I'd say your doing fine. Not every subject or source of information is conviently found in an easy to read book, in fact many aren't. As such, sluthing and combing multiple sources to track down problems and information as needed is a good troubleshooti
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 compress
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')
box.extractall(members=box.namelist
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 con
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 con
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
Audi
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 a
Re: Long shot: anyone have any Microsoft Xbox contacts?
Hm. I think the person to ask that would be ianhamilton, or someone from ablegamers. Then again, digging around it seems that Microsoft has a few different teams working accesibility, there's an [Enable] research group working on Micr
Re: Long shot: anyone have any Microsoft Xbox contacts?
Hm. I think the person to ask that would be ianhamilon, or someone from ablegamers. Then again, digging around it seems that Microsoft has a few different teams working accesibility, there's an [Enable] research group working on Micro
Re: Long shot: anyone have any Microsoft Xbox contacts?
Hm. I think the person to ask that would be ianhamilon, or someone from ablegamers. Then again, digging around it seems that Microsoft has a few different teams working accesibility, there's an [Enable] research group working on Micro
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
os.add_dll_directory(os.ge
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
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: https://fo
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
--
Audi
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
--
Audio
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 path
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 nearest
1 - 100 of 1095 matches
Mail list logo