mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-22 08:49:46 +01:00
No description
a60cdb3ab7
This commit fixes a bug where the second, third, and fourth tiles of moving platforms would render offset from the first tile if the moving platform hit the top or left edge of the screen. This is due to the fact that SDL_BlitSurface() will end up changing the coordinates of the rectangle we pass to it to be 0 if they're negative, but only after it's already been drawn. Previously, we kept re-using the same rectangle each time we drew each segment of the moving platform, but since it only changes the draw rectangle after it's already been drawn, the first tile shows up fine, but not the rest of the tiles, hence resulting in an offset. To fix this, we do the same thing as we did for drawing the "really big sprite" (size-type 9): just reset the rectangle we use every time we draw a segment of the moving platform. |
||
---|---|---|
.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).