Keep the soda flowing

Build a pipeline to guide the flow to the pipe with an arrow pointing at it. Don't let the soda spill on the floor!

Some levels have a different goal: empty a soda tank safely, stop the flow, or guide several colors to their destinations.Read the instructions inside the game before each level, and keep an eye on the upcoming pipes on the assembly line.

Mouse and keyboard controls

The original 2004 downloadable game was designed for mouse control with some optional keyboard control. As for now, this port is 100% true to the original game. That said, touch control will hopefully be added soon. Basic touch control is now working. It is somewhat playable on a small phone, but probably more enjoyable on a tablet.

Place a pipe: move the mouse to a floor square and left-click. You can also move around with the arrow keys and press Ctrl to place the pipe.

Speed up flow: hold the right mouse button.

Return to menu: press Escape.

Start flow early: press Space to discard the pipes on the assembly line and start the flow early (only in Puzzle mode or puzzle levels of Adventure mode).

Ranking & Scoring

Adventure

Complete a level on Mid or Fast to unlock the next. Slow, Mid and Fast completions contribute 1, 2 and 4 ranking points respectively where speed selection is available. Complete all levels at Fast for a 100% ranking.

Puzzle

The more soda, the higher your score. A large cross-over pipe filled with soda is therefore worth more than that of a simple straight pipe. Your score will be judged!

Arcade

You score every time the flow advances one step. 1 point at Slow speed, 2 points at Mid speed, or 3 points at Fast speed. For every smashed pipe, there is a -10 points penalty. Your score will be judged!

Your Adventure progress, your personal high scores, and sound settings are all saved in your browser. If Soda Pipes gets some traffic, we may consider adding an online leaderboard.


Soda Pipes was finished 2004. It was the first game I (Anders) handled all the programming for. I also did all the graphics and game & level design. My brother wrote the music.

Game Design

While I had worked on game design and graphics before, my newly acquired C programming skills seemed best suited for a small ‘slower’ games. The ‘casual game’ market was booming at the time with portals like Real Arcade & Big Fish Games offering easy-to-play remakes of classic arcade and puzzle games from the 1980s. Their games were slick looking and colorful but small in size, a few MB, for quick downloading on dial-up or early broadband connections.

I had a fondness for maze-based games, especially those in which the maze could be rearranged. While the 1989 puzzle game Pipe Mania AKA Pipe Dreams seems like the obvious inspiration for Soda Pipes, it was initially games like the 1982 Konami arcade game Loco-Motion and the 1984 Activision home computer game Zenji that steered me in the right direction. At this time, around 2003, Rocket Mania! by PopCap Games was a popular game on the casual game portals, and its similarity to Pipe Mania finally convinced me to create my own and improved version of Pipe Mania

Rocket Mania! by PopCap Games. Guide the flame to launch rockets. The fuse maze is re-arranged by rotation of clicked tiles, which falls in from above à la Tetris. It's a very chaotic game with fancy fireworks & lighting fx. At times it feels more like a slot machine than a logic puzzler.

Pipe Mania (Amiga version) by Assembly Line. You can place the pipes anywhere, but you cannot rotate them. True to the name of its developer, pipes come into play via an assembly line, i.e., just like in Soda Pipes. Note that the cross-shaped pipes are really cross-over pipes, i.e., the flow does not branch.

If I may say so, I was very successful in attaining my goal. The most important addition was the branching of the flow, and it was a real pain to implement programming-wise ...

I also replaced the basic top-down view with an oblique perspective to make the 3D structure clearer, so that a 4-way cross pipe could be distinguished from two cross-over pipes. Again, it made the programming considerably more challenging.

The colorful soda theme was of course a way of embracing the highly artificial colors and flavors of the casual game genre. The Candy Crush aesthetic was already in full force long before the 2012 release of that particular game.

However, it was not enough. The biggest casual game portal, RealArcade, turned Soda Pipes down. Soda Pipes was ultimately more of a retro game with challenging skill-based gameplay than a ‘dumbed-down’ casual game with luck-based gameplay.

Also, it was not slick enough. I was not yet skilled enough to add impressive graphical effects like sparkly fireworks and glittering text. A few years later, PopCap's Peggle would take the overproduced gloss to parodic heights, while one-man band developers found greater success in the punky and youthful Flash-game ecosystem.

Luckily, Soda Pipes was picked up by retail publisher THQ's budget division ValuSoft in the USA and by TREND GmbH in Germany. So, although I had originally intended Soda Pipes as a downloadable game, most players encountered it on CD. Budget games naturally do not gather reviews like AAA‑titles but it still had a few. We originally collected the reviews here.

Graphics

My artistic background was some pixel pushing on 80s home computer Commodore 64 & Amiga in my teens, and drawing humoristic comics in inked black & white in my late teens and early twenties. Mostly non-professionally. Therefore I felt right at home doing the graphics for the Game Boy Color Decathlon demo that secured us the contract for the Game Boy Advance game Fila Decathlon. Doing pixel art on Game Boy Advance was initially daunting to the massive palette of 256 colors, but I adapted alright.

Graphics on early 2000s casual game was a different beast however. Typically 640x480 resolution with an almost unlimited number of colors meant that traditional pixel pushing - building from the bottom up - was being replaced by creating high resolution art assets, which were then shrunk down to their in-game size.

Typically such art was created in 3d-software and/or Photoshop. While I began using said software for the two unreleased games in-between Fila Decathlon & Soda Pipes, I was still very much on the steep side of the learning curve both as a graphics maker and programmer.

Most of the art in Soda Pipes were constructed in quirky but powerful 3d-software trueSpace 3.2, which was released for free in 2003 (as version 6.0 had rolled out the previous year). The pipes, the tank, the soda, the assmebly line were all constructed as 3d-models, rendered in high-resolution, and finally shrunk down inside Photoshop. The background, the soda logo stickers, the menus & text and, last but not least, the citrus slices were all made in Photoshop from scratch – no photos, no stock art. I have fond memories of learning both trueSpace and Photoshop from excellent web page tutorials (pre-Youtube era!).

The interface of trueSpace is icon-heavy and very different from the text- & menu-heavy interface of 3ds Max and the likes. I found it friendly & fast for finding your way around.

The basic shapes of a perfect citrus slice: Stripes turned into a starburst by Photoshop's polar coordinates filter make up the wedges. A square squashed into a rhombus make up the juicy & squeezy vessicles inside.

Programming

The programming was done in the C language and for Windows PCs via the DirectX 7 programming interface. Soda Pipes was not only the first game, but the first anything, that I was programming myself, and I was still learning C while making Soda Pipes. DirectX handles the hardware dependent code so that the programmer does not need to write different code for different graphics card. My guide to DirectX game programming was the 2002 edition of Tricks Of The Windows Game Programming Gurus by André LaMothe. A daunting 1000+ pages doorstop of a book.

Luckliy all 1063 pages were not essential reading, but the chapters about blitting pixels, i.e., moving pixels from small bitmaps to the screen, absolutely were.

Its examples served as a basic template for all the draw-graphics-on-screen code that I wrote. I added a lot of functionality, for example alpha channels that allowed for transparent pipes. No external libraries were used and this meant that I was stuck with non-compressed .bmp-files for graphics as said Lamothe book only included code for a .bmp-loader. As the final downloadable file was a compressed .zip-file, the actual image-file format was not crucial for file size. Music-file format however was ...

Thanks to Open AI's Codex (GPT-6.1-Sol) the original C source code has been ported to TypeScript - a language that the browser understands - and the DirextX API has been replaced by the web standard Canvas API. A straightforward but very tedious process, which we never could have afford without the help of Codex. All the original graphical assets were used, but now compressed to .webp-files :)

.