Skip to content

Conversation

@raziel444
Copy link
Contributor

@raziel444 raziel444 commented Feb 10, 2025

No description provided.

Copy link
Contributor

@tetrapod00 tetrapod00 left a 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:
image

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.

Comment on lines 38 to 39
select ``Make Unique``, then expand the Parameters group and check the
``Looping`` box.
Copy link
Contributor

@tetrapod00 tetrapod00 Feb 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.)

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@tetrapod00 tetrapod00 Feb 10, 2025

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

Copy link
Contributor Author

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.

@tetrapod00 tetrapod00 added enhancement area:getting started Issues and PRs related to the Getting Started section of the documentation labels Feb 10, 2025
@raziel444 raziel444 changed the title Update "Looping" image and references to reflect current UI Add additional clarity around expanding the Stream/OggVorbis property in the inspector. Feb 10, 2025
@raziel444 raziel444 changed the title Add additional clarity around expanding the Stream/OggVorbis property in the inspector. Add additional clarity around expanding the Stream property in the inspector. Feb 10, 2025
@raziel444 raziel444 changed the title Add additional clarity around expanding the Stream property in the inspector. Add additional clarity around expanding the Stream resource in the inspector Feb 10, 2025
@raziel444 raziel444 marked this pull request as draft February 10, 2025 03:42
Copy link
Contributor

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

@raziel444
Copy link
Contributor Author

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?

@tetrapod00
Copy link
Contributor

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 Squash and Merge workflow which allows us to merge PRs with multiple commits. So if the squash with interactive rebase still feels intimidating it's fine to leave multiple commits.

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?

@raziel444
Copy link
Contributor Author

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.

@raziel444 raziel444 force-pushed the 07_finishing_up branch 2 times, most recently from 6698a57 to 75d99d8 Compare February 11, 2025 02:03
Copy link
Contributor

@tetrapod00 tetrapod00 left a 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

@raziel444
Copy link
Contributor Author

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.

@raziel444 raziel444 closed this Feb 11, 2025
@raziel444 raziel444 deleted the 07_finishing_up branch February 11, 2025 02:24
@raziel444 raziel444 restored the 07_finishing_up branch February 11, 2025 02:25
@raziel444
Copy link
Contributor Author

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.

@tetrapod00
Copy link
Contributor

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...

@raziel444
Copy link
Contributor Author

That does seem to be the case (this Stack Overflow looks awfully similar: https://stackoverflow.com/a/46053849)
I will try again with a new PR tomorrow. Sorry for the inconvenience!

@raziel444 raziel444 deleted the 07_finishing_up branch February 11, 2025 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

archived area:getting started Issues and PRs related to the Getting Started section of the documentation enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants