Thread: WebJCS
View Single Post
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Dec 7, 2011, 11:58 PM
Neobeo is offline
Reply With Quote
Most objects have their sprite drawn at (15, 15). There are a small number of exceptions. In partcular, for springs:
Quote:
Originally Posted by 1.23 Source Code
Ceiling springs are drawn at (15, 11).
Also, for objects that "fall to the ground" at the start, these are divided, for whatever reason, into two classes:
Quote:
Originally Posted by 1.23 Source Code
First type: Tuf Turt, Lizard, Hatter, Dog, Skeleton, Turtle, Lab Rat, Sucker, Helmut, Fat Chick, Demon, Monkey, Stand Monkey, Eva, Warp, Birdy, Crab, and a bunch of bosses. These fall by checking every pixel underneath a certain "starting point" which is calculated using a mix of frame size and hotspot values and stops when it hits a mask.

Second type: Steam, (Vertical, Non-Ceiling) Springs, Sign posts, Monitors, Crates, Big Rock, Big Box, Dragon, Fencer, Moth. These fall by moving a certain "starting point" down 4 pixels until it hits a mask. This point is calculated by using a mix of frame size, hotspot and coldspot.
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>