Active appears behind other actives despite being ordered "to front"?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I have a layer dedicated to the player's 'bird form' and treetops (it's a top-down game). I want the player to appear above everything when in bird form, but the treetops are appearing above him. I even tried setting the player to his own layer above the treetop layer, but he still flies 'under' treetops. Anyone know possible reasons his sprite isn't appearing on the very top?

  • This shouldn't be possible if the two objects are in separate layers, no matter what ordering code you might be using.

    Double check that you have the objects in separate layers and that you aren't moving layers at some point in your code. If you are creating any tree tops or scenery using code, make sure you're creating them in the correct layer.

    Best person at writing incomprehensible posts. Edits are a regularity.

  • Make sure that both objects are on separate layers and check your events.
    Perhaps you confuse layer order in general and the layer above is in actual fact the lowermost layer.

    Currently working on ... [SIGPIC][/SIGPIC] ... a Puzzle Platformer

  • Thanks guys! Here's what was happening: my code was deleting the bird-form sprite upon start of frame, and Creating a new one at (0,0) from player when the player used the form. This was causing the bird to appear on the same layer as the player. By adding "Move to layer 4" in the event editor the problem was fixed :D

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!