MichaelSinsbeck / platformer

A ninja platformer written in LÖVE
7 stars 0 forks source link

[LE] Background and Walls should treat level border as "similar" #141

Closed Germanunkol closed 10 years ago

Germanunkol commented 10 years ago

At the moment there is a visible edge if any wall or background tile is drawn at the level border. Instead, it should look like the current type of wall/background continues beyond the border.

michalove commented 10 years ago

Agreed. I noticed this, too.

Germanunkol commented 10 years ago

Done. However, there's an issue: When changing the borders, we'd need to iterate over all the previous borders and all the new borders and update them. I currently use the brute-force method (update all tiles once). Since there's a maximum number of tiles which can be updated per frame, this might be enough. If not, we'll need to fix this.

michalove commented 10 years ago

I will keep my eyes open, but I don't believe it will cause performance issues.