Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

[GM8] Layering for Sonic


Recommended Posts

I'd really like to add layers to enhance level design. The problem is, that the collision force-ably makes Sonic want to be in that layer.

I tried

if layer==other.layer
{
Collision coding here<---
}

To no avail. Any help is appreciated.

I'm not sure what your problem is, but you've taken the right approach to layering. Implement this into a collision script common to all of your collision functions. I like to always allow collision with layer 0 so that layer control is more forgiving. Try to define a standard for layering otherwise layer switching becomes a hassle to keep up with (2 low layers, 2 high layers maybe?). Erm, good luck!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...