mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
No description
9db96f004b
It looks like this variable was originally intended to keep track of th volume of the game, but then it was used as a boolean in main.cpp to make sure the game didn't call Mix_Volume() and Mix_VolumeMusic() every frame. However, it is now a problem, because I put the music mute handling code in the very branch that game.globalsound protects against, but since game.globalsound is here, if I mute the music, then mute the whole game, then unmute the music, and then unmute the whole game, sound effects will no longer be muted but the music will still be muted, until I mute and unmute the whole game again. This is annoying and inconsistent, so I'm removing this check from the 'if (!game.muted)' branch. Plus, given that the Mix_VolumeMusic() and Mix_Volume() calls happen every frame if the game is muted anyways, it doesn't seem to be a problem to call these every frame. |
||
---|---|---|
.github | ||
desktop_version | ||
mobile_version | ||
third_party | ||
tools | ||
.gitattributes | ||
License exceptions.md | ||
LICENSE.md | ||
README.md |
This is the source code to VVVVVV, version 2.0+. For more context about this release, see the announcement on Terry's blog!
License
VVVVVV's source code is made available under a custom license. See LICENSE.md for more details.
In general, if you're interested in creating something that falls outside the license terms, get in touch with Terry and we'll talk about it!
Authors
- Created by Terry Cavanagh
- Room Names by Bennett Foddy
- Music by Magnus Pålsson
- Metal Soundtrack by FamilyJules
- 2.0 Update (C++ Port) by Simon Roth
- 2.2 Update (SDL2/PhysicsFS/Steamworks port) by Ethan Lee
- Beta Testing by Sam Kaplan and Pauli Kohberger
- Ending Picture by Pauli Kohberger
Versions
There are two versions of the VVVVVV source code available - the desktop version (based on the C++ port, and currently live on Steam), and the mobile version (based on a fork of the original flash source code, and currently live on iOS and Android).