Resource centre for ZX Spectrum games
      using Manic Miner and Jet Set Willy game engines

 

Archive of the

Manic Miner & Jet Set Willy Yahoo! Group

messages

 

 

 

Message: 1659

Author: andrewbroad

Date: 04/01/2001

Subject: In MM, VGs *do* collide with items!

 

Contrary to what I was expecting, vertical guardians in Manic Miner *CAN* collide with
items and kill you!!

In JSW, horizontal guardians and vertical guardians do not
collide with items because the guardians are drawn first. If the guardians are white, then the
items can collide with them (by colour attribute) and be collected. If the guardians are
non-white, they just pass under the items.

In MM, this is true for horizontal guardians
(like the dwarves in MM:Hobbit's "Not at Home"), but *NOT* for vertical guardians as I had
assumed. I tried putting items in the paths of the Wacky Amoebatrons, and the VGs collided with
the items, killing you. This shows that VGs must be drawn *after* the items, not *before*
as in JSW, as I had assumed would also be the case in MM. (I already knew that Eugene
collided with items, killing you, but Eugene is a special case, not a regular vertical
guardian.)

Since collision detection is pixel-based for guardians but colour-based for items, I expect
it would be possible for an item to colour-collide with a VG and be collected before the
VG pixel-collides with the item and kills you! This could be achieved by drawing their
sprites such that they have enough rows of blank pixels between them when they come
together...

--
Andrew
Broad
http://www.cs.man.ac.uk/~broada/ target=new>http://www.cs.man.ac.uk/~broada/>
http://www.cs.man.ac.uk/~broada/spectrum/ target=new>http://www.cs.man.ac.uk/~broada/spectrum/>
http://www.cs.man.ac.uk/~broada/spectrum/willy/ target=new>http://www.cs.man.ac.uk/~broada/spectrum/willy/>
http://www.cs.man.ac.uk/~broada/spectrum/willy/collision.html target=new>http://www.cs.man.ac.uk/~broada/spectrum/willy/collision.html>

 

 

arrowleft
arrowright