• Bruce

Let's create an MPAGD game: Part 13; Editing the MAP

The Map Editor is where we connect our screens together.


When you first open it there will be just one screen, Screen 0:



This is our first screen, the one we just added an exit on the right hand side.


So let's add our second screen (Screen 1) to the right of Screen 0. To do that, just click to the right of screen 0


A 0 in a white box will appear, click it again and it will increment to 1.


It should look like this:




Note that Screen 0 has an * asterisk next to it, this tells us that this is the starting screen, but your starting screen doesn't need to be 0, to change it to screen 1 just hit the Enter key.


To switch it back to screen 0 click on the 0...oh dear...it turned to 1, now we have two screen 1s, nevermind RIGHT-CLICK it and it will decrement to 0, hit the ENTER key and the asterisk should be back next to the 0.


And that's how you edit your map.


Build and test your game, this time lets go through the exit...


SO, with MPAGD we can create games that are either sequential screen by screen (like Manic Miner) or Open, where we can move from room to room (like Jet Set Willy)


OK, let's get back to adding the code for going up and down the ladders


NEXT: Part 14 : Editing the Player Script

123 views0 comments

aboutME

Hello, I'm Bruce and I write games for old 8bit computers using Jonathan Cauldwell's excellent Multi-Platform Arcade Games Designer (MPAGD)

I've written a few successful* games for the Sinclair ZX Spectrum and MSX platforms that have been (largely) well received with my most recent game - Twenty Four Hour Parsley People scoring a 10 out of 10 on Planeta Sinclair.

In my blog I am sharing lots of the code that I wrote for my games, in a way that you can use in your own games.   I've commented it so that you'll learn some of the techniques I use to create interesting new mechanics and help your games stand out from the pack.

MPAGD includes lots of standard scripts, they're great to get you started, but if you're new (or just rusty) when it comes to writing code, hopefully my tutorials will help you get started and  turn your imagination into awesome 8 bit games!

All my code is free to use and do with as you please, but if you find them useful please feel free to buy me a coffee :)

*successful is a very relative term in 8bit computer games