Comments (6)
I was able to play the game by converting the ogg files to wav. Suggest shiping .wav instead of .ogg
@@ -340,10 +340,10 @@ expl_sounds = []
for sound in ['expl3.wav', 'expl6.wav']:
expl_sounds.append(pygame.mixer.Sound(path.join(sound_folder, sound)))
## main background music
-pygame.mixer.music.load(path.join(sound_folder, 'tgfcoder-FrozenJam-SeamlessLoop.ogg'))
+pygame.mixer.music.load(path.join(sound_folder, 'tgfcoder-FrozenJam-SeamlessLoop.wav'))
pygame.mixer.music.set_volume(0.2)
-player_die_sound = pygame.mixer.Sound(path.join(sound_folder, 'rumble1.ogg'))
+player_die_sound = pygame.mixer.Sound(path.join(sound_folder, 'rumble1.wav'))
###################################################
## group all the sprites together for ease of update
from spaceshooter.
Hey @orsenthil
I don't have a MAC
so couldn't test on it.
Will try to fix #1 and #2 in the next release.
Thanks for your time 😄
from spaceshooter.
I'm not too familiar with mac, either. My first thought was to throw the .dll files for playing .ogg files into the game /dir.
from spaceshooter.
@orsenthil Does doing the following fix the issue?
$ brew install libogg
$ brew install libvorbis
$ brew install sdl_mixer --with-libvorbis
from spaceshooter.
@prodicus , that solves the problem with ogg files on mac. Thanks. (.wav is supported out of box all platforms, but not sure if it's worth converting ogg to wav).
from spaceshooter.
@orsenthil 👍 So there are no issues apart from this in OS X
that you encountered?
from spaceshooter.
Related Issues (10)
- Increase the difficulty with the score changed HOT 1
- Executable for mac should be built separately HOT 11
- Package it as a Flatpak and submit it to Athenaeum
- i can't see the picture
- DeprecationWarning
- Score is not displaying after game ends. HOT 1
- unable to open rocket.ogg, and all the other sounds are showing the following error unable to open [filee_name].ogg
- Cannot execute binary file HOT 5
- User cannot quit with close window button during menu screen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spaceshooter.