Open Surge Forum

A fun 2D retro platformer inspired by Sonic games and a game creation system

You are not logged in.

Announcement

Our community has moved to Discord! https://discord.gg/w8JqM7m

#1 2009-07-26 18:54:22

lainz
Member
Registered: 2009-02-18
Posts: 202

How i can set this

How i can set the order of some passable bricks to the front, over other solid bricks and passable bricks?

Offline

#2 2009-07-26 22:58:41

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,300
Website

Re: How i can set this

lainz wrote:

How i can set the order of some passable bricks to the front, over other solid bricks and passable bricks?

1. Bricks having greater y position are displayed in front of other bricks.
2. Solid bricks are always displayed in front of passable bricks.

Use rule #1 to get the desired effect at this time. As of 0.1.2, bricks can't be displayed in front of the player and passable bricks can't be displayed in front of solid bricks. Fortunately, this feature is already in our todo list and it's pretty straightforward to implement. smile

Offline

#3 2009-07-26 23:55:54

lainz
Member
Registered: 2009-02-18
Posts: 202

Re: How i can set this

Alexandre wrote:
lainz wrote:

How i can set the order of some passable bricks to the front, over other solid bricks and passable bricks?

1. Bricks having greater y position are displayed in front of other bricks.
2. Solid bricks are always displayed in front of passable bricks.

Use rule #1 to get the desired effect at this time. As of 0.1.2, . Fortunately, this feature is already in our todo list and it's pretty straightforward to implement. smile

Yes, i try #1 but no works with my idea, just i need this two: passable bricks displayed in front of solid bricks AND passable brick's displayed in front of the player.

Todo is realy coupled with a lot of things big_smile

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org