-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add additional clarity around expanding the Stream resource in the inspector #10660
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is something wrong with the way that the tutorial currently tells you to do it? It still works for me in 4.4beta3:

I looked on the page and found this comment chain, which ends with the suggestion to use Parameters. But I think that this user just didn't click on the Stream resource to expand it, which is needed to see the Loop property.
I think we could address that by making it clear that you have to click on the audio file in the inspector, where it says "OggVorbis", to expand the resource property.
| select ``Make Unique``, then expand the Parameters group and check the | ||
| ``Looping`` box. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| select ``Make Unique``, then expand the Parameters group and check the | |
| ``Looping`` box. | |
| select **Make Unique**, then expand the **Stream** resource in | |
| the inspector by clicking on ``OggVorbis`` and enable the **Loop** | |
| property. |
Something like this to make it very explicit where to click. I kind of wish that the dropdown arrow menu had an Expand in Inspector option, as an alternative.
(Changing from code to bold for some of these is an unrelated style standardization that we might as well do now.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this will be a helpful addition, as this is what I struggled to understand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the below a reasonable way to describe this? At this point in the instruction the inspector will display either House In a Forest Loop.ogg or gameover.wav, rather than OggVorbis, so I am looking for something else to refer to.
All audio is automatically imported with the **Loop** setting disabled.
If you want the music to loop seamlessly, click on the Stream file arrow,
select **Make Unique**, then expand the **Stream** resource in
the inspector by clicking on the title of the sound file you selected
(near the colorful music note) and enable the **Loop** property.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In 4.4beta3, when I click Make Unique, the AudioStream does get renamed to OggVorbis. So IMO the suggestion I made already is fine, and mentioning the name of the sound file might be misleading since the visible name changes.
If we wanted to hedge against both scenarios I would do this:
All audio is automatically imported with the **Loop** setting disabled.
If you want the music to loop seamlessly, click on the Stream file arrow,
and select **Make Unique**. Then expand the **Stream** resource in
the inspector by clicking on the name of the stream, by the colorful
music note icon, and enable the **Loop** property.
I broke up the long winding sentence a bit, and used "name" rather than "title" to hedge against the case where it gets renamed to just "OggVorbis".
Note that the WAV has different properties than the OggVorbis and is much harder to set up properly to loop. I don't believe that the tutorial intends for you to enable looping on the WAV. So we don't need to account for that.
At this point we're nitpicking over details though, I think either your suggestion or either of mine would be fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you - I like your version better. I'll get it updated later today.
OggVorbis property in the inspector.
OggVorbis property in the inspector.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The text looks good now, just need to revert the image change since it's no longer needed
|
I've created a new commit to restore the original image and incorporate suggestions from @tetrapod00, but I am unsure of best practices for the pull request. Is it preferred to close this PR and open a new one that has a single commit so it's clear what was being modified? |
|
In most cases it's best not to make a new PR if you can avoid it, rather change the existing PR, updating the title and PR message to reflect the current changes. Best practice would be to squash commits into one using interactive rebase, see our instructions here. This is required for the main Godot repo. But in the docs repo, we also use GitHub's On my end I still see the new, changed image, not the old one that currently exists in the docs. Are you sure you changed it back? |
|
I am absolutely not sure that I have changed it back! Thanks for walking me through the process - I'm quite new to most of this. I will read through the contribution workflow since I was unaware it existed. |
6698a57 to
75d99d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Current state looks good to me. You can mark this as "ready for review". If you wanna practice squashing again feel free to rebase again 🙂
Another reviewer will take a look before this is merged
|
Apologies, I was trying to get it down to a single commit with the image changes reverted, but I seem to be one step away each time. |
ecdd1d0 to
058f0f6
Compare
|
I'm unsure what occurred - it shows I closed the PR, but I hadn't intended to do that. It now says it was merged and closed and that I can delete my branch. |
|
Huh. I guess if you force push a completely empty PR it considers it the same as merging that empty PR? That makes a certain kind of sense. At this point I would just remake it as a new PR... |
|
That does seem to be the case (this Stack Overflow looks awfully similar: https://stackoverflow.com/a/46053849) |
No description provided.