For the anniversary of VVVVVV, the author opened the source code


For the anniversary of VVVVVV, the author opened the source code

10 years ago, the game VVVVVV was released - an indie puzzle platformer in 8-bit style with beautiful chiptune music and unusual controls - instead of jumping, the hero changes the direction of gravity. The first version was on flash, then the author ported the game to C++ and SDL. The game received a lot of good reviews and, it seems, was awarded something.

On the occasion of the anniversary on January 11, the author posted the source texts on GitHub: https://github.com/TerryCavanagh/vvvvvv There are 2 versions available: β€œdesktop_version” in C++ - this is what is sold in Humble Bundle, GOG.com and Steam - and β€œmobile_version” - a fork of the flash version from which Air games for iOS and Android are compiled.


The license prohibits commercial use. Music and sprites remained proprietary. The main goal of the discovery is to show that you can make a good game without being a good programmer. In particular, the author draws attention to a finite state machine with 309 states, implemented via switch and 309 case: https://github.com/TerryCavanagh/VVVVVV/blob/f7c0321b715ceed8e87eba2ca507ad2dc28a428d/desktop_version/src/Game.cpp#L612 The main thing is not to give up.


News on OpenNet: http://www.opennet.ru/opennews/art.shtml?num=52168

Source: linux.org.ru

Add a comment