how do you position sounds in lucia? i didn't find anything about it in the documentation, i'm using the bass back end
You are not logged in. Please login or register.
AudioGames.net Forum → Developers room → Lucia - OpenSource AudioGame engine written in Python
how do you position sounds in lucia? i didn't find anything about it in the documentation, i'm using the bass back end
You should take a look at the examples... if you used BGT previously, you should understand how it all works. if not, just ask again, but first take a look at the examples, there is a positioning example around there, if i am not wrong, the first example should do, just ignore the rotation...
Oh, i will try and explain it to you at a later stage, i am busy with exams right now. but don't worry, it is verry easy, once you get the hang of it...
Hi,
I'm just taking a look at this and it looks really good.
Unfortunately, I'm not able to run the 3d basic example code. The error I get is:
Attribute error: module lucia has no attribute utils
I'm very new to this, so it's entirely possible I'm missing something obvious.
I installed the module by running python setup.py install after cloning the git repo.
Is this something to do with my path?
This is unsurprising; if anything I've heard is right, they don't ever update their example code, leaving it up to you to figure things out on your own. Not a good design.
Hi,
can anyone give me an idea how to use the timer in Lucia? I can import it, but can't figure out how to actually start an instance of a timer. There doesn't seem to be any documentation for the timer utility. Any help would be apreciated.
Regarding timers. Import it, create an object and restart it:
from lucia.utils import timer
def main():
when = timer.Timer()
when.restart()
# do whatever you need to do with it
elapsed = when.elapsed
when.pause()
when.resume()
Those timers don't solve your problems within the other thread however. In fact, they just use the same approach I told you in that very same thread as well, but force you to depend on a large package like Lucia. Since you already got a speech library for your project, its just as simple as load up the STL package timer and get toing instead of installing things like Lucia to solve your problem. As soon as you want to do more audiogame-related that doesn't count anymore, but for this project of yours, where you don't require any more audio game functionalities since you don't need game windows etc, Lucia would just be unnecessary overhead.
BTW, I didn't use Lucia at all, just read through the source. I'd recommend you to do the same instead of asking people to do that for you, because examples don't seem to be updated, as well as documentation.
Best Regards.
Hijacker
Thanks for the tips, I really apreciate it.
The current version of my project doesn't use a lot of the functionality of Lucia, but it might give me the ability to do more than what I'm currently doing.
We are working on it. We have a pr submited that fixes up the documentation and I'm working on fixing the examples (and removing the ones we don't need)
edit: The documentation can be found at https://LuciaSoftware.github.io/lucia
and the original post has been updated to include the link as well.
@Ethin
Maybe you should be helping more and bitching less?
Or have you forgotten that this is a free product, worked on by non professionals in their free time, out of love for their community and audio games in general.
I know it's frustrating, but comments like yours only serve to tare people down rather than give them constructive feedback or assist them, and that's going to make them feel like the whole thing is a waste of time.
As far as I'm aware, Lucia is really all we've got when it comes to larger caliber solutions for beginner audio game coding in python right now, so if you aren't helping keep it alive, you should probably hold your tongue if you can't honestly trust your self to do more than snipe at them for their efforts not reaching your level of quality.
TLDR: We desperately need this, don't ruin it with shitty comments.
edit: Version 1.1.1 is now out, fixing problems with the pyal dependency, that wouldn't download when using pip to install lucia.
@defender thanks for the nice words, it means a lot.
Also:
Version 1.1.0 of lucia has been published to pip with the following fixes.
- Fixing the rotation system, we are now using the Cartesian system (the one people are used to from bgt).
- Fixing the examples ( no more AttributeError with the utils subpackage).
- As I posted earlier, we now have documentation that can be found at https://LuciaSoftware.github.io/lucia
Sorry that this version took so long
As always, we are always welcoming community feedback / issues / feature requests / pull requests.
Quick note about the GitHub repo (for those that are kinda new to git, or those that's just interested).
We have 2 branches (master and development).
Master is what will become the next version, the code in master has been tested both by travis-ci and by us.
Development are where new pr's will be merged too, to check code quality, to check for inconsistencies in documentation and to check if something unexpectedly breaks.
When it's time for a new version, the development branch are merged back into master and a new version are published from master to pypi.
So if you want the latest fixes, or if you're getting started on work for a pr use the development branch.
If you want the newest features (that works and shouldn't break) use the master branch (the default).
Do note, that we recommend always using the version from pypi in a production setting (ie for a new game).
@140, I think it fills both rolls you described.
It takes a lot of effort out of getting started with Python, and it simplifies things for the old-seasoned folks.
There isn’t a guide per se, but there are some examples which you can learn from. Also, the code is reasonably well commented, so you can glean information from that as well.
I've never heard some stupit bullshit as here, that x is used to move forward and backwards, y to move up and down and z used for some shit. NOt x, y, z are used as You said. X left right, Y back forward, z up down, as in games for not visually impered idiots.
If you were to read the entire topic, you would see that what you raged about has been fixed.
Also, their could have been other, more polite ways you could’ve expressed yourself.
@zywek, x is, in fact, left/right, y is up/down, z is forwards/backwards on a graph. If you'd actually paid attention in geometry, you would've known (but clearly you didn't or haven't gotten that far). Please go verify your facts before you post nonsense. This geometrical algorithm is how sound and graphic libraries work, which is why its important. But clearly, you believe the world doesn't work that way. Sorry, but the Cartesian method is not actually how the world works, unfortunate (for you) as that is.
@zywek
Nah, it's more like people that can't control them selves and make a point without insulting everyone are uncomfortable actually...
Good start on the forum!
Nah, it is not about people who can't controll them selves without insolting other people, it is about people not appriciating what only 10 percent of the community does, and then some random dick head comes and posts bool shit any ways. Reelly, these 8 contributers reelly do a lot to simplify audio game creation for us, and you post some random shit? What level of appriciation is this? Even with only hearing that we have possible keyboard handling, window support and audio positioning the way i wanted it to be, that ment a lot to me. And did you actually look and test the examples provided? Because if you did, then you would see that indeed X moves you to the right and left. And that why mopes you forward... but if you did not, then this is why you probably posted your load of bool shit!
AudioGames.net Forum → Developers room → Lucia - OpenSource AudioGame engine written in Python
Generated in 0.024 seconds (53% PHP - 47% DB) with 11 queries