How to play sounds? | Pyxel tutorial - 6 | Music editor
Test Club
How to create and play sounds in Pyxel? For example - how to play sound when we hit the wall or something else happens?
In this lesson, I will:
- How to create sounds using Pyxel resource editor
- How to play sounds at the appropriate time
- How to make sure sounds are plaid when needed
Previous lesson: https://www.youtube.com/watch?v=YXbu2bu46uE
Pyxel is probably the best game engine for those who are only starting their game development journey and know a bit of Python.
Timecodes: 00:00 Intro. Overview of what we have learned so far 00:20 How to create sounds using "music editor" 01:46 Updating "Player" class 02:55 How not to play sounds unnecessarily 03:35 Refactoring to make code more readable 05:00 Final thoughts
The code from this lesson can be found here: https://github.com/senpay/pyxel_tutorial_youtube/releases/tag/lesson_6
My telegram channel so you don't miss new releases from me: https://t.me/testingcoder
Facebook: https://www.facebook.com/aqaguy
My website: http://testingcoder.uk/
My blog: https://testingcoder.hashnode.dev/
Threads: https://www.threads.net/@aqaguy
If you think about having a discussion - here's my extremely lonely and empty Reddit: https://www.reddit.com/r/testingdeveloper/
#testingcoder #pyxel #retrogamedev ... https://www.youtube.com/watch?v=8ewlbTrhe9E
27951423 Bytes