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: 2731

Author: andrewbroad

Date: 21/03/2002

Subject: Re: Debugging rooms that kill you on entry

 

igorekmak wrote:

>
> if Willy dies in some rooms, you can change this:
> 1) Try to change the blocks colours. Sometimes it is nedeed to make
some
> of them dark (Bright=0)

Make sure that the colour-attributes for Background and Nasty are
different (and, of course, that Willy doesn't enter on top of a
nasty!
;-) ).

> 2) Sometimes it is the fault of the guardians. Delete all guardians
and
> see - if Willy will be alive - then create all that guardians again
but
> be sure that all the Guardian bytes are 00,00,00 etc.

See http://www.cs.man.ac.uk/~broada/spectrum/willy/bugs.html for some
bugs in the game-engine that can cause guardians to kill you upon
entry.

For example, when I first wrote "CYGNET COMMITTEE" for Goodnite
Luddite, the Block Graphics Bug made ink-pixels appear in the Nasty
graphic, which is supposed to be blank so that the guardians can pass
through it without killing you.

Collision-detection for guardians is pixel-based (each guardian
collides with anything that's drawn before it); for Willy it's
colour-based (Willy collides with the character-squares). Arrows
collide with white-ink pixels.

Goodnite Luddite now has 28 rooms written, BTW.

> 3) In "Sprites" mode - don`t try to make sprites in the memory that
> have rooms info.
> 4) If there are ropes in your room, the rope must be the last
guardian
> in your room.

The order of the guardian-instance list must be:
1. Horizontal and vertical guardians;
2. Ropes;
3. Arrows - it's safe for arrows to collide with non-white HGs, VGs
and ropes, but if these are drawn after the arrows, they will kill
you
if they collide with the arrows! (e.g. "SKYLIFE AVIATION AVATAR" in
We
Pretty).

Note that collision in MM/JSW is not symmetric: if A is drawn after
B, then A could collide with B, not B collide with A. See
http://www.cs.man.ac.uk/~broada/spectrum/willy/collision.html

> 5) If this doesn`t help - take a gun and shot right in the
soundcard.
> Then you won`t hear that terrible sound of dying Willy. :-)

I love the `glint' Willy makes when he loses a life! :-)

--
Andrew Broad
http://www.cs.man.ac.uk/~broada/
http://www.cs.man.ac.uk/~broada/spectrum/
http://www.cs.man.ac.uk/~broada/spectrum/willy/

 

 

arrowleft
arrowright