top of page
Writer's pictureBruce

Let's create an MPAGD game - Part 5 - The Sprite Positions Editor

Updated: Oct 30, 2021

It's important that for every screen of your game you have a starting position for your player sprite (as well as any enemies or other sprites that you want to appear on the screen)


The Sprite Positions Editor looks pretty much the same as the Screen Editor except instead of having a bank of block to position we have a bank of sprites.



Click on a sprite in the bank to make it active - note that in the white box you'll see the detail of the currently active sprite - it's image and its SPRITETYPE, initially this says 'player respawn' - this tells us that this is the player TYPE and wherever we drop it in the screen will be the point where the player spawns and respawns.


Next click in the screen at the position you want the sprite to appear. Note that now the whitebox is empty - telling us there is no currently active sprite.




OK, now we have our first screen and a position where it will spawn. We're nearly ready to test our 'game'....but hang on...we haven't written a single line of code yet...not to worry...we can get MPAGD to write some code for us automatically (we can always edit it later!). First though...let's set up the keyboard controls.


From the Editor menu, select Keyboard Controls...


1,561 views0 comments

Comments


Want to support my work?....Buy my games!

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 including 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 ...or better still - buy or download my games :)

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

bottom of page