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
| Previous message | Next message | |||
| Previous in thread | Next in thread | |||
Message: 4001
Author: carlwoffenden
Date: 15/03/2004
Subject: Message 4000 (Re: JavaScript Ma jolie)
Why should the download size be larger?
Dunno if you're being serious or not but I'll answer anyway...
The JavaScript game engine draws everything using images (this is the
only way to have graphics in a web browser without a plug-in) and
then manipulates the blocks/sprite elements using standard
Document Object Model call. It's an extremely inefficient way of
doing things but it's fun (well, it started out that way but became a
nightmare to work with as the game grew). Anyway due to this
colour-clash would need to be simulated using many images (I'd
work out exactly how many but I've switched off for the day!).
[Re. Kong Beast]
How does it decide that the platform under the Kong Beast
has disappeared?
The Kong game object monitors the blocks under its feet, and if they
lack a platform attribute the fall starts (starts at line 724 of the
source, Kong.cycle()).
Carl.
| Previous message | Back to the Yahoo! Archive home page |
Next message | ||
| Previous in thread | Next in thread | |||
