Re: string_contains in python?
@3Just wondering, if you already googled this and got an answer that worked for you, why did you post?
URL: https://forum.audiogames.net/post/562699/#p562699
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Py IDE?
@12If there's a bug with VSCode, submit an issue. You can do it directly from the help menu.
URL: https://forum.audiogames.net/post/562726/#p562726
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: logic for creating maps in python
So I thought I'd write you a little example to explain making a map file and a parser, then I realised that making parsers are a bitch.There's probably a few reasons to avoid parsers, but the main is validation.Say you create your map like @4 suggests,
Re: Even if not ideal, we wOne step closer to proper programming on Mac OS
Might even be worth emailing Apple's accessibility team.
URL: https://forum.audiogames.net/post/562696/#p562696
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Any way to make coding on MacOS non-painful?
@27At the risk of hijacking this post, Google *do* care about accessibility: Talkback and ChromeVox are both evidence of this.
URL: https://forum.audiogames.net/post/562725/#p562725
--
Audiogames-reflector mailing list
Re: Any way to make coding on MacOS non-painful?
@31OK, I see your point, and I agree with it, sadly. It's a shame, because when they do something right (GMail for example), it's damn good.@33I kind of ignore Powershell, preferring the standard Command Prompt. Am I missing something great?
Re: Why do people still use bgt?
@42Thanks for the manual, I shall have a read, although it sounds like most of the good stuff is already in the 21st century anyways.@43OK, so that leave me even more confused as to why BGT is still hanging on, if everything it has to offer (plus more) is
Re: Earwax
@2Sorry, only just noticed this. You're absolutely right. I'll work on that now.I'd really like suggestions for new features, as well has how people would like to see them implemented (menus that make sounds is something I'm wondering how to best implement right now).
URL:
Re: help with walls (python) please?
@13That's awesome! Did not know that. Thanks. Shame it's less readable than the normal way.
URL: https://forum.audiogames.net/post/563557/#p563557
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Why do people still use bgt?
As someone who hasn't actually learnt BGT, I wonder how feasible or difficult it would be to replicate it's feature set in Python?I mean, surely the functions could be converted like-for-like, then instead of saying "You use BGT, you're an idiot", you could
Re: Any way to make coding on MacOS non-painful?
@41Linters are great for finding errors, but I don't think they'll catch say:player = {
'name': 'Chris Norman'
'Rank': 'Awesome'
}
console.log(player.naime) // UndefinedCan't be sure though.MyPy under Python would definitely catch that,
Re: help with walls (python) please?
As an aside, for loops can be written as:for wall in walls: if wall.colides(x, y): breakelse: print('No wall.')
URL: https://forum.audiogames.net/post/562943/#p562943
--
Audiogames-reflector mailing list
Re: Any way to make coding on MacOS non-painful?
@29I see what you're saying, and I absolutely agree with you on the Google Docs thing.All of that said, I've personally submitted issues against Crhome OS and accessibility, and they've been fixed in a version or 2. The recent changes to how
Re: keyboard_handler help?
2 blank lines after any top-level class or function. 1 blank line before anything that's inline.I run everything through flake8. After you've done being pissed off with it, and gotten used to knowing what it wants you to do, you can write clean code without any
Re: Why do people still use bgt?
@49If you're switching over to Python anyways, I'd love to point you at Earwax, which is a Python library I'm writing for making audiogames.So far it has 1 active user: me, and I'd love to get feedback from other developers.Also, I think it's got a lot to
Re: Cytolk, cython extension over the tolk library
Hey Paul, this is great stuff!!Pleas ekeep us updated if you get this on PyPi. I'd love to replace AO2 in my code with something that's being actively maintained.
URL: https://forum.audiogames.net/post/564999/#p564999
--
Re: ai in my file player can only add 256 items to a list before crashing
Also, what sound library are you using? Maybe I'm missing something, but I didn't see a reference to anything I recognise.
URL: https://forum.audiogames.net/post/565000/#p565000
--
Audiogames-reflector mailing
Re: Cytolk, cython extension over the tolk library
Hi Paul,Thanks for putting in on PyPi mate, that's great.However:(env) C:\Users\chris\src\earwax>python
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or
Re: Earwax
Nah, Earwax probably doesn't support Python2 either, and as I'm relying heavily on type hints, it's not going to either.Here's a direct link to download Python 3.8.5, 64 BIT.HTH.
URL: https://forum.audiogames.net/post/565033/#p565033
--
Audiogames-reflector mailing list
Re: Audio formats with python gaming
That entirely depends on what library you want to use.And yes, lots of audio games have been written in Python.
URL: https://forum.audiogames.net/post/564231/#p564231
--
Audiogames-reflector mailing list
Re: Earwax
OK, for anyone who's interested, earwax now has a configuration module, so you can write your game settings in a class and have earwax generate a settings page for you.It's all there in the documentation page.
URL: https://forum.audiogames.net/post/564235/#p564235
--
Re: The Synthizer Thread
You're a legend mate! Looking forward to reverb!Thanks so much for all your hard work, it's very much appreciated.
URL: https://forum.audiogames.net/post/564236/#p564236
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Earwax
@19What piece is missing?@19I'd be lying if I said I understand your whole post. I'm going to read over it a few times to fully grasp the stuff you're on about (I've never heard of Cassowary for example), and I also think there is a big part of this that involves me analysing my
Re: Earwax
I agree with both of you. Personally I quite like tile editors for quickly chucking together a level, but Camrlorn's right in so much as coming back to something later on is a little difficult. Maybe a way to "feel" around the map with a trackpad might be the way forward, it's
Re: Earwax
@27Thanks, I'm already starting with that. As I write my test map, it's becoming quickly apparent what tools I need, so I'm writing 'em.I really like the idea of events on each part of the map. It'll probably be a feature that won't make it into the tile editor, but you're
Re: react-native/flutter opinions
@3It's an app for viewing Three Rings shifts and other volunteers ETC. Only useful if you volunteer for Samaritans or Nightline... may be other organisations using Three Rings that I don't know about.It's on my Github if you want to see the code.
URL:
Re: Earwax
For anyone who's following this topic, Earwax now works with Game controllers.You can include buttons and hat positions in your actions:@level.action('Go left', symbol=key.A, hat_direction=hat_directions.LEFT)
...
@level.action('Fire weapon', symbol=key.SPACE,
Re: Sharing My Music and Sound Effects - Over 2000 Tracks
Just looked on your page on a whim. I absolutely love love love Desolate Streets in a Machine World!Good job!If I make something larger in the future, I'll definitely be checking your stuff out.
URL:
Re: Pyglet help
@19search = 'LiB' # Weird case just to prove a point.
song_name = 'Michael Jackson - Liberian Girl'
search.lower() in song_name.lower() # is TrueIn the above code, we change all cases to lower because that means you don't have to be clever.Could always check the exact
Re: Earwax
OK,There's some on the docs, which are honestly a bit problematic because of a whole load of reasons I'll not bore you with.I've pasted the features document below, as taken from docs/source/features.rst (which I appreciate isn't really good enough):Implemented FeaturesAbility
Useful list-indexing trick
Hi all,I just found this while googling, and it sort of blew my mind. I'm writing in Python, but I guess you could use this in any language.So if you've got a list of items you want to cycle through, it's obvious to go:current_index += 1
if current_index >=
Re: Useful list-indexing trick
So for something like calculating degrees when turning, should I stick to the tried-and-tested method of checking for overflows?I never even considered that some operators might be more expensive than others.
URL:
Re: Earwax
@61Thank you. I think it is, but that could be because I wrote it haha. I'd really love for some people to try using it, and see how far they get.Eventually I'd like to code a basic tile editor so people can build levels and have them converted into Python so that they can bind
Re: Cytolk, cython extension over the tolk library
Nice work mate.What does that mean for creating new projects? Will you have to place the DLLs every time? Or will I eventually be able to just pip install -r requirements.txt and start coding?Cheers for your work mate, I very much look
Re: Console debugging under Windows
Nope. Worst I can say with VSCode is that sometimes I press the up or down arrow key and braille shows the new line, while speech says the one I moved off.I'm sure that's more because this laptop is older than some of the programmers on this forum, and
Re: Require Tolk.py assistance
I'd be very cautious when changing the CWD. I bet that'll bite you eventually.
URL: https://forum.audiogames.net/post/575988/#p575988
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Console debugging under Windows
@5Ah lovely, thanks. I just assumed it was my laptop.
URL: https://forum.audiogames.net/post/576045/#p576045
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Require Tolk.py assistance
Well, for a kick off, what if you're running the code as a script, not from the directory with the DLL in it? It'll not find the DLL anymore.It just feels like a bad idea long term. Also, you probably don't need to do it. If you can already grab the full pat
Re: Cytolk, cython extension over the tolk library
@40 and @41How does AO2 get around it? I don't need to do anything when pip installing that.
URL: https://forum.audiogames.net/post/576081/#p576081
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Useful list-indexing trick
@4Sorry, turning doesn't involve a list. I thought the whole thought, and only typed half of it.Thanks so much for the info.
URL: https://forum.audiogames.net/post/576080/#p576080
--
Audiogames-reflector mailing list
Re: help getting started in Python
Hi mate,So start off with stuff that's much simpler. I learnt from a book called "Learn Python The Hard Way", which I - paradoxically - found relatively easy.I mean, you're still learning an entirely new language, but it worked for me at least.Unlike BGT,
Re: react-native/flutter opinions
Hi,I've not used Reactive Native, but I have an app on the Play Store written with Flutter, so I guess it's all accessible, and easy enough to use.II've not go t amac to make stuff work for iOS, so someone else will have to comment on any particular
Re: music for games
Thanks for showing us your demo, and for offering your services.
URL: https://forum.audiogames.net/post/574739/#p574739
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: The Synthizer Thread
@256Lovely, thank you mate. I really appreciate that.
URL: https://forum.audiogames.net/post/576487/#p576487
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: synthizer error
Also, you never cleaned up your generator with generator.destroy(). Maybe put a sleep() call in there to wait for a while, before destroying stuff?HTH,
URL: https://forum.audiogames.net/post/576793/#p576793
--
Audiogames-reflector mailing list
Re: creating doors for a 2d map
@6MMM, wish there was a setting somewhere. I hate being stood on the opposite side of the wall while something growls at me, only to be killed by the slightly quieter thing in the game room as me.Also, I hate dying, and losing, and being rubbish at first
Re: How Did You Guys Learn to Code
I think finding something as an end goal that you want to achieve is really helpful.For me it's this idea of VR, for you it might be washing machine firmware. Don't think it really matters.Break it down into smaller chunks, and hack away on it.Think of a
Re: indentation, how to get used to it
Notepad2 works fine, because that's what I use (although I feel like I should grow up and use something better).Notepad++ goes further (like Camlorn said), so if you type try: and press enter, it automatically increases your indent level.
URL:
Re: The Synthizer Thread
Hi Camlorn,This is great stuff, good work, as usual!!With respect to bindings for other languages, is that something you'd want to include in your repo? Or other peoples'?I'm using Dart for everything now, and would love to write bindings (when you say it's safe
Re: Your thoughts on VS Code
Hi,I've been trying on and off to use VS Code, and I quite like the look of it.NVDA's indent announcements don't seem to work in it though. Is that me? Or it?Cheers.
URL: https://forum.audiogames.net/post/534501/#p534501
--
Audiogames-reflector mailing
Re: Your thoughts on VS Code
@14: Ignore me... I'd turned on the wrong bloody profile. I was running with no speech interrupts, rather than indents being spoken haha.@16: Not sure why indent nav isn't working for you. I just checked it, and it works for me.
URL:
Re: The Synthizer Thread
@38: I'm not planning to use it on a phone. It may become useful when Flutter's desktop support gets good, or maybe there's some UI toolkits that are game friendly that I can use. I've not looked into any of this yet. Just saying, I'm more than happy to make Dart
Re: help with endless map generation please?
@7, be careful, as if the player can scan ahead, they'll get empty space at best, or tracebacks at worse.
URL: https://forum.audiogames.net/post/535305/#p535305
--
Audiogames-reflector mailing list
Re: The Synthizer Thread
@40Desktop stuff is pre-alpha ATM. I just got a blank window when I tried. I reckon it'll be good when it gets there though.
URL: https://forum.audiogames.net/post/535311/#p535311
--
Audiogames-reflector mailing list
Re: Your thoughts on VS Code
I've found that indentnav doesn't work quite right in VSCode, and a spot of googling turned up this extension, which I thought others might find useful.
URL: https://forum.audiogames.net/post/535361/#p535361
--
Audiogames-reflector mailing list
Re: how to make actual apps with python
I personally like the combination of Twisted (networking), Klein (web server), and Autobahn (websockets).Even if you're not planning to make a web client, websockets are a good choice for connectivity (in my opinion anyways), as they're portable, and
WebAudio question
Hi all,I'm suspecting my googling hasn't worked more because I don't know what to google for, rather than because the information isn't out there, so feel free to tell me what to look for, rather than fixing my code.So I've got a webaudio listener, and I'm trying to pan
Re: I want to lirn pithon but pithon doesn't want me to do so
With all due respect, Anything you're given at this stage is likely to confuse you rather than help you.Get used to non audio games first. Maybe write a guess the number game using print(), and input(), then move onto the
Re: Audio wrapper for Python
Do you get any error when you try and shuttle forward more than once? I would guess a massively resounding no for threads. They always seem lik a good idea, but they're not usually.
URL: https://forum.audiogames.net/post/535789/#p535789
--
Re: WebAudio question
@5Yes, I should have said that before. Here's how my panners look when I create them:final PannerNode panner = commandContext.sounds.audioContext.createPanner()
..positionX.value = coordinates.x
..positionY.value = coordinates.y
..panningModel =
Re: WebAudio question
OK... After thinking about what you'd said, I adjusted my coordinatesInDirection to the following, which gives slightly better results:Point coordinatesInDirection(Point start, double direction, {double distance = 1.0}) {
final double rads = direction / 180.0 * pi;
Re: WebAudio question
@7I should have written I'm not letting the player tilt their head forward or backwards, rather than I'm not letting them turn it. I am going for FPS-style, so I do believe HRTF is what I want.Everything actually seems to be working now I've applied the formulas you
Re: WebAudio question
@2Thanks so much for that.So the code I have now, which I believe to be right from your instructions is: set theta(double value) {
_theta = value;
final double rads = value / 180.0 * pi;
sounds.listener
..forwardX.value = sin(rads)
Re: WebAudio question
OK, after some stress testing, and a change to my list of directions so that directions look right, it's all working swimmingly. Thank you both so much for your help.
URL: https://forum.audiogames.net/post/535826/#p535826
--
Audiogames-reflector mailing list
Re: creating doors for a 2d map
@4Swamp does that? I can't hear the softening at all. It's one of my main bugbears with it.
URL: https://forum.audiogames.net/post/571263/#p571263
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Pyglet VS Pygame?
I like that Pyglet doesn't require you to write your own event loop. It feels nicer to write with for myself, and there's none of this "pyglet.whatever.init" the whole time.
URL: https://forum.audiogames.net/post/571269/#p571269
--
Audiogames-reflector mailing
Re: Visual studio and NVDA
@1Give VSCode a try too. I'm not sure of the differences, but VSCode seems to just work out of the box.There's some slowness with NVDA ATM, but I believe that is getting sorted, and it's still more than usable.
URL:
Re: am i choosing write way of producing stuf?
@8Could well be mate. I just set stuff up so it was convenient for me, but you could well be right about the whole naming convention thing.With the CTRL+P shortcut in VS Code, I guess it's a moot point, considering how lenient the search
Re: What is the best way to deploy django on a vps for learning purposes?
If you want to forget all about web servers, just use the Django builtin web server for starting with.It hasn't got HTTPS, and it's not great, but it works.
URL: https://forum.audiogames.net/post/583666/#p583666
Re: The Synthizer Thread
@293Great work!!I've not tried it yet, but I shall do tomorrow if I get time.Thanks for all your hard work.
URL: https://forum.audiogames.net/post/583672/#p583672
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Looking for light graphics design work
When I put my app on the Play store, I used an image of a circle my wife pulled off the net, when I started moaning about the dimensions it wanted and she banged them into google. The "featured image" or whatever they called it was a selfie
Re: am i choosing write way of producing stuf?
@4You can put _test at the end too, so you can navigate through files and functions more easily.Admittedly, I always name my functions starting with test_, but that's because I'm a creature of habit mor than anything else.@1If you're asking
Re: The Synthizer Thread
All good. I'm just using a source and changing its buffer property for now.You're doing some great work mate. Synthizer is a very nice piece of code thus far.
URL: https://forum.audiogames.net/post/554453/#p554453
--
Audiogames-reflector mailing list
Re: Programming language groups for the blind community
Just Bing it?Haha, only joking. I have no clue, sorry mate. There used to be a blind-programmers group on Google Groups. Not sure if that one is still active though.Generally, once you've picked your language of choice, there's
Re: error updating pip packages
@2Why Anaconda out of interest? I've never used it - I just use virtualenv on its own.
URL: https://forum.audiogames.net/post/560200/#p560200
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: first letter navigation in python
@2You don't even need a timer. Just keep the last time a search was prformed as a variable, then next time, you can just do:if last_search_time is None or (time() - last_search_time) > search_timeout:
search_string = ''
search_string +=
Re: Accessible_output2 and Pyglet Title Issue
Are you sure you haven't told ao2 to speak __file__ or __module__ for debugging purposes? Also, just out of interest, why are you subclassing window, and not using the events framework?
URL: https://forum.audiogames.net/post/559742/#p559742
Re: Programming language groups for the blind community
I'm not sure it's something you look into, so much as stumble across. If you search for a programming question on Google, youll 8 times out of 10 find the answer on Stack Overflow or one of its subsidiaries.
URL:
Re: Can any one please help me with this bullet class, python?
A couple of possibilities:Firstly, you should probably use constants or an enum for directions, so you can't mistype, and therefore skip the if statements concerning directions. If you're not going to do that, at least do:if
Re: error updating pip packages
@4OK, thanks for the info.
URL: https://forum.audiogames.net/post/560848/#p560848
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Multiple State Menus?
Hey all,I don't actually have anything useful to say at this point, but I wanted to thank the OP for asking the question, and all the awesome answers, because I'd forgotten about state-driven game development, and that was bad of me.Thanks for making me smart
Re: Any way to make coding on MacOS non-painful?
So I've got an app I've published to the Play Store. I really need it to go on the App Store too... From my reading, there's a fair few extra steps involved, all of which need to be done from a mac with XCode. Am I right in thinking this is
Earwax
Hi all,I've been working on a game library for my own use for a bit now, and thought it was maybe time to let the rest of the community loose with it.It's the library I used to make my Lucky Thirteen game, and I'm kind of expanding it as I need new features.Sound is pretty limited
Re: Can any one please help me with this bullet class, python?
Hey @13If you get into the habit of using Flake8, it'll point out problems like not enough blank lines for you. It also does other useful things like checking variables that you use actually exist.That's what I used, paired
Re: best python compiler
HiI personally use Pyinstaller.It can do a single file (which I wouldn't recommend), or a folder.Just be aware that it doesn't do things like sounds without you telling it to. Check pyinstaller -h for details.FYI, you can't use a single file if you're including
Re: Can any one please help me with this bullet class, python?
@10It's anything you want it to be. Maybe you're building a splinter missile that turns from 1 bullet into 10 when it moves past 2 tiles, maybe it's a subspace warp-enabled battle-bastard torpedo, and it should vanish as soon
Re: _javascript_ Problems
Aren't we ignoring here that a and b are both strings, because that's what prompt produces?
URL: https://forum.audiogames.net/post/558175/#p558175
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Handling Input in Pyglet
@4I think your question is twofold, so I'll answer it as such:Firstly, for key repeat in a game, what you want to do is this:When the key is pressed that you want to repeat, remember that it's been pressed, so you can stop it firing in on_key_release or
Re: Quorum Studio 2.0 - Accessible Scene Editing
stefika wrote:Folks,... a few days. Folks can feel free to join that here: https://groups.google.com/forum/#!forum/quorum-languageI go to that page, and get the following:You do not have permission to access this content. (#418)Are you sure
Re: Android app and game development getting started
Personally, I've had fantastic results with Dart and Flutter.If you want to make games, your best bet seems to be Flame, although as far as I know, there's no stereo sound support.If you felt particularly masochistic, you could use left
Re: Quorum Studio 2.0 - Accessible Scene Editing
@39If there's networking, there's multiplayer. It's just a case of making it work for you. Same with Scoreboards.
URL: https://forum.audiogames.net/post/550356/#p550356
--
Audiogames-reflector mailing list
Re: Proper disconnection with Podsixnet?
I've not used Python for a while, but Twisted used to be great for most networking stuff.
URL: https://forum.audiogames.net/post/550360/#p550360
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: Have you developed for Android?
Hi,I have coded Crowflight, and A Three Rings viewer, which is probably of less interest, because it's for Samaritans, and not usable by most people.In any case, I can use Flutter fairly well, and am definitely up for being paid to do so again.
URL:
Re: best accessible IDE
I second, third and fourth the VS Code suggestions. I'm blown away by how great it is.For anyone who doesn't know, Microsoft's new Pylance extension is pretty great.Not sure if it brings anything to the table, as I've only just started doing Python from within
Re: The Synthizer Thread
Hey Camlorn,Dove back into Python today, and started playing around with Synthizer. Great work!There's a couple of minor problems with the Python code in the manual. Can I just submit a PR? Or do I have to oepn a n issue and all that piss about?Great work mate,
Re: best accessible IDE
@9Surely it would have been quicker to google than to ask here.@7I was confused when I first used it, so here's a rundown:In VSCode (called Code from here on out), you tend to open folders, rather than files (although you can open single files if you like).There's
Re: best accessible IDE
@16OK mate, thanks for the URL.
URL: https://forum.audiogames.net/post/552365/#p552365
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: help with sound_lib in python
I don't want t be "that guy", but sound_lib is terrible as far as documentation goes.From memory, you can set is_looping on streams, which you get with something like:from sound_lib.output import Output
from sound_lib.stream import FileStream
output =
Re: help with sound_lib in python
Also, you can't do 3d, but you can pan. I think it's the .position property maybe? Not sure though.
URL: https://forum.audiogames.net/post/552336/#p552336
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
Re: help with sound_lib in python
Also, Camlorn's Synthizer is a much better prospect.
URL: https://forum.audiogames.net/post/552367/#p552367
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
101 - 200 of 453 matches
Mail list logo