Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - Sprites interaction with layer 2 ?
  
User name:
Password:
Reply:
 

UserPost
Sukasa
Posts: 1427/1981
Like BMF said, the problem is probably that the grinders don't check layer 2, or that because layer 2 doesn't scroll, it could cause a few problems. does it work if you were to say, switch layers 1 and 2?
BMF98567
Posts: 1016/1261
The grinders are probably just incompatible with lines on layer 2 (AFAIK, the original game always had lines on layer 1). Obviously, layer 2 has some different rules when it comes to sprite interaction. Not much you can do about it at the moment.

Do all line-guided sprites (mis)behave like this?
Francis64
Posts: 8/18
I'm using the castle tiles, line-guided grinders, and those 'dotted pixels' lines on a layer 2 with H-scroll=none, V-scroll=constant
and layer2 interaction is not disabled.

Now when the grinders fall on the lines, they act in a strange way (quickly warping then disappearing).

I believe there might be some kind of collision detection problem?

Also, in the original game, there is no level that uses a non moving layer2 as far as I can remember.
Sukasa
Posts: 1424/1981
Where do you place the grinders, and what lines are you using? Make sure they're the tileset specific lines, and also make sure the grinders start one tile above the line, so they can fall onto it.
Francis64
Posts: 7/18
This doesn't seem to work.

The grinders don't want to follow the lines, and it's a bit buggy at the same time (they are warping to a different place on the screen before they "fall" in the void).

Actually, if I place some ground on layer2, the enemies can walk on it.
But the lines won't work.

Any ideas ?
Sukasa
Posts: 1422/1981
Change the level header to 02, because 01 disables interaction with Layer 2, for some odd reason, and make sure that the sprite buoyancy setting is not "enable sprite buoyancy, but disable interaction with layer 2 to reduce processing cost and slowdown".

Does that help?
Francis64
Posts: 6/18
Hi!

I'd like to make a level with grinders following lines on a layer 2.

Then it would allow for an autoscroll level where the grinders follow you all the way to the end of the level.

The problem I have is : the grinder does not seem to follow the line properly and falls off the screen.

If anyone knows how to fix this, I'd appreciate your help!
Acmlm's Board - I2 Archive - Super Mario World hacking - Sprites interaction with layer 2 ?


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.003 seconds.