MSX is a 1983’s 8-bit architecture standard for home computers. It includes a Z80 microprocessor and dedicated chips for graphics and sound.
MSX BASIC is the default language of MSX computers. It is simple, yet reasonably powerful. You can use sprites, joysticks, and even access to the graphic and sound chips directly. That makes MSX BASIC a great entry point for making games and learning all the important concepts of MSX.
Back in the 80s, then there was no Internet. The books available were few and often not very helpful. Most contained simply a list of all the BASIC instructions and some program listings without any explanation. It was unnecessarily hard.
Nowadays there are vastly more resources available, but I still missed an all in one solution with all the details on how to write good games using MSX BASIC with the tools we have available today. That is what this book aims to be.
Welcome to Modern MSX BASIC Game Development.
Book structureThe book is structured following a progressive approach in which we will cover the basics in the first chapters and will be building on top of the knowledge of previous chapters.
In the first chapter we talk about the development environment and the different options with their pros and cons.In the second chapter, we cover the particularities of MSX BASIC as well as the different types of variables, some particularities of the language and a few recommendations on how to write programs.In chapter 3 we get further into MSX BASIC structure and flow as well as commands for managing input and output.In chapter 4, we start to build games, we will see how to define and use sprites and how to handle joysticks; and we will build a space shooter along the way.In chapter 5 we explore the different ways to add collision detection to our space shooter, from hardware sprite collision to hitboxes and a combination of both.In chapter 6, we look into the basic drawing commands available and we will build a simple dungeon game to highlight how they can be used.Chapter 7 is when we get deep into the MSX graphics and dive into how to program the VDP to define tiles for more colorful and efficient graphics. This chapter is all about VPOKE and VPEEK.In chapter 8 we explore how we can add sound effects to our games, both using the high level command PLAY and also accessing the PSG directly with SOUND.Finally, in chapter 9 we will see some advanced techniques of MSX BASIC, including making it run blazing fast by compiling it with MSX-BASIC-KUN, splitting the program into many files to make the game more versatile, how to publish it, and we’ll close with a brief glimpse of other more advanced ways to make games for the MSX family.
Well, got through my "first reading" of this book. Will be re-reading this book again
This is a pretty decent starting point for programming for the MSX. Mostly just to get your feet wet. There is, naturally a bunch more material out there
Well, I learned that I had a LOT of bad habits with BASIC. I've not really done much for BASIC programming for over a quarter century now--but there were a few bits where it was all "this is what this bit is for" and I was all, "okay... was using _THAT_ wildly wrong"
Which brings about the benefit of books like this one
See, way back when, you'd be learning BASIC from entering in program listings--and having to discern what each bit was suppose to do/be used for by context. Which... sometimes the wrong conclusion gets made from doing that. Which is made worse if the person making the incorrect conclusion _ALSO_ then gets their own program listing published. With so many bad habits propagated via learning in a way that you have to guess based upon context
It does not seem to have the issue of "the last chapters feel rushed" that a few other introduction programming books seem to suffer from. Each chapter seems to have an appropriate amount attention devoted to the topic of said chapter
It is 200 pages, and in order to give a much fuller beginner's text it would need to be closer to 750 pages. So... it is very good for getting your feet wet--and having you have a decent direction forward
I'm mostly looking into the MSX for an art project... though, having read this book, I've got a second art project idea to base upon this sort of stuff