Web Design IES
Web Design in Easy Steps, now in its 7th Edition, shows you how to make effective websites that work on any device.
Fishtank was a type-in listing I wrote that was published in Amstrad Computer User (ACU) December 1991. Watch the program below, and see the original listing as it appeared in the magazine.
This one is really silly, for at least two reasons.
First, it's a fishtank simulator, so you just watch a fish swimming around the screen. At the time videos of fishtanks and coal fires were being sold for people to play on their TVs. I wasn't thinking of that when I came up with the idea for this. I was watching the fish in the garden pond while drinking a cup of tea. Nevertheless, perhaps that video fishtank idea had crept into my mind somewhere along the line.
The second reason this one's mad is that the listing is really rather long for the end result. Most of the listing is the sprite data, primarily the giant fish. I'm sorry if anyone typed this in and was disappointed. The magazine didn't publish any screenshots, so you had to type it in to see it.
If I was writing it today, I'd do it differently. I'd replace some some sprites with user-defined graphics (UDGs) for the sand and bricks, which would make the listing shorter. I'd probably try to draw the fish on screen using BASIC instructions, and then include a machine code routine to convert it to a sprite and display it. The listing might not be much shorter, but it would be more interesting to type in. It would be more educational, and there would be the possibility of adding in randomness to make the fish look a bit different each time.
I think I'd also make the movement smoother. This program is using a variant of my Easi-Sprite Driver code, which positions sprites using text coordinates. I later came up with a more fine-grained sprite positioning system (ESD Advanced) that would make this look much better. The sprites were created using my Amstrad CPC Sprite Definer, which appeared on an Amstrad Action (AA) covertape.
For this version of the Fishtank program, I've added a title screen that is shown while the data is poked into memory.
Download my disc of Amstrad games and utilities to use in your favourite emulator here.
![]() |
You can download my Amstrad CPC games and utilities disc to use these programs in your favourite emulator. |
© Sean McManus. All rights reserved.
Visit www.sean.co.uk for free chapters from Sean's coding books (including Mission Python, Scratch Programming in Easy Steps and Coder Academy) and more!
Web Design in Easy Steps, now in its 7th Edition, shows you how to make effective websites that work on any device.
Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.
This book, now fully updated for Scratch 3, will take you from the basics of the Scratch language into the depths of its more advanced features. A great way to start programming.
Code a space adventure game in this Python programming book published by No Starch Press.
Discover how to make 3D games, create mazes, build a drum machine, make a game with cartoon animals and more!
In this entertaining techno-thriller for adults, Sean McManus takes a slice through the music industry: from the boardroom to the stage; from the studio to the record fair.