Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8737ea8

Browse files
committed
Pygame
1 parent 274e40e commit 8737ea8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2983,7 +2983,7 @@ pg.draw.ellipse(<Surf>, color, <Rect>)
29832983

29842984
### Sound
29852985
```python
2986-
<Sound> = pg.mixer.Sound('<path>') # Loads a sound file.
2986+
<Sound> = pg.mixer.Sound('<path>') # Loads the WAV file.
29872987
<Sound>.play() # Starts playing the sound.
29882988
```
29892989

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,7 @@
25312531
&lt;Surf&gt; = &lt;Font&gt;.render(text, antialias, color, background=<span class="hljs-keyword">None</span>)
25322532
</code></pre></div>
25332533

2534-
<div><h3 id="sound">Sound</h3><pre><code class="python language-python hljs">&lt;Sound&gt; = pg.mixer.Sound(<span class="hljs-string">'&lt;path&gt;'</span>) <span class="hljs-comment"># Loads a sound file.</span>
2534+
<div><h3 id="sound">Sound</h3><pre><code class="python language-python hljs">&lt;Sound&gt; = pg.mixer.Sound(<span class="hljs-string">'&lt;path&gt;'</span>) <span class="hljs-comment"># Loads the WAV file.</span>
25352535
&lt;Sound&gt;.play() <span class="hljs-comment"># Starts playing the sound.</span>
25362536
</code></pre></div>
25372537

0 commit comments

Comments
 (0)