-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio playback on AnimationPlayer is not stopping when reaching end of track [FIX INCLUDED] #26559
Comments
Thanks for opening issues with fix proposals, but it's usually more efficient to open a PR directly, so that we can merge the fix if we agree with it. (Or open an issue, and open a PR that fixes it, so that even if for some reason we reject the PR, the bug is still open.) |
i guess it is... but i have no clue how to do it.... |
See PR workflow. |
The bug is not solved after over a year. Furthemore i fixed all of the problems + made cool features! Will someone implemented it maybe in 4.0? Because it fixes the bugs and this are need need features for making cool cutscenes with the AnimationPlayer which is not possible in the way it is right now. Its not much changes on code. Not much changes for the features. Small changes with big benefits! I dont get it why noone is ever noticing all the bugs on animation playback. Make audio and put it in the negative area. It will have problems on playback. Put an audio over the end of the playtime, you will get problems with the playback. Put it fully over the full area of the playtime and it will never be played. Its all fixed! Tested all cases. But why noone ever noticed all the problems. Live-preview of animations is not possible as well! I fixed it. Why it was disabled with dead code anyway? Because of performance issues? It runs well. Edit: |
Your PR could not be merged in, so it was closed. If fixing those bugs is so important to you, you could re-do the PR. |
But the question is more "Is it now feature-time"? I need a time span. In the end i want to push 3 features as well. I have no clue if i can push them step by step somehow. I did everything more or less in one do. But it So i need to know the time range of feature time. From date x till date x. Or shouldnt i push the feature ... and only the bug fixes? Than wait until it is merged. And than pushing the feature (in this case the feature where you can make an offset on AnimationTrack like on AudioTrack) Too much questions. Because i have to do everthing from start. With a brand new branch. And this takes time. And i dont want to go over the time span of feature time so it will only be wasting of time. Again. GitHub is very complicated for me. I have to be very carefuly on updating to the last master merge thing thing, else it will look like the one i did. Total mess on merging on to the master branch. Is it possible to make a second branch of the Godot master. Or do i have to close the one i did somehow? More a GitHub Question. For me Github is a thing where i have to be fast because i ruin ever branch on updating to the last master, when my branch is not up to date anymore. But i need the features ... and the bug fixes. The AnimationPlayer in his current state is only buggy. I always ask myself why noone recognize it. It has potential. But the bugs are so stupid to work with. |
Yes, you can make a new fork (branch) of the Godot master. |
But someone told me that he will not merge it because "there is now a feature stop". What ever. Than i start on weekend with a fully new branch and implement all stuff again. And i hope it will be merged. Else im out. I have fixed sooooo many bugs on your engine in my local branch. But the AnimationPlayer and those bugs fucks me up so hard everytime i dont use my version of Godot. |
Aaah. I see now what you mean. Yes, a new release of Godot 3.2 is on the horizon, but since you should make all PRs against master either way, the only thing it impacts is developer time/availability (Akien is on a holiday now, too). |
no i checked it. Its not possible to make a seconds fork of an project when you already has one. You have to make a second account. maybe i can plug the old one off? |
Wow, I didn't know. I believe you should be able to delete the existing fork and just fork again. |
Godot version:
Godot 3.1 Beta 10
OS/device including version:
Windows 7
Issue description:
Audio is not stopping on AnimationPlayer when reached end or starting repeatedly by 0.
Steps to reproduce:
create a Audio on Animation Player
let the Audio playing reach over the end of the total length of the track
-> it will not stop to play (not in repeat track mode and not on stopping on reaching the track end)
FIX:
Change on animation_player.cpp::_animation_process_animation(...) :
to :
I would hard change it more when i knew that i not produce more bugs. I would rewrite much of the code to get a better view on it. But i dont try it to make not much difference so the owner of the code not get irritated and i can give fixes here more easily. I only fix the thinks on the places where i can fix it without changing much.
But i think you can replace much of the code and make it much more nicer. And i have a problem that there are no strategy-patterns for the TrackTypes. Could me much more elegent. It could be much easier to implement new TrackTypes.
The text was updated successfully, but these errors were encountered: