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 8, 2011, 08:33 AM
Neobeo is offline
Reply With Quote
Quote:
Originally Posted by Sir Ementaler View Post
-In SP they actually spawn exactly at (30, -67) from the top-left corner of the warp event, then travel down until they reach a masked pixel, in case of which they stop. Their warping area is a rectangle, starting at approximately (-64, 24) and ending at approximately (0, 80), both relatively to the point the object stopped at.
Wow, did you do this by hand? Colour me impressed. The numbers are extremely accurate!

Anyway here's what really happens under the hood:
It starts at approximately (15 + x0, -16 - y0), and then the warp area is a circle with center at (-16 - x0, y0) relative to that masked pixel, with radius 32 (but not including boundary). This circle shape probably makes it useful if you want tests with weird shapes.

I'm still trying to investigate where (x0, y0) comes from yet, so far knowing nothing other than it tries to load a warp animation but goes wrong -- but I've seen at least 2 possible values: (0, 39), and the one you used which is (15, 51).

Edit: I should probably mention that I usually see (15, 51) when using JCS save+run, and (0, 39) if loading from the menu. I'm not sure if this is always the case though.
__________________
<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>