Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Edge Frames for Buildings or Objects Placed on Slopes #450

Open
KINGTUT10101 opened this issue Apr 11, 2020 · 2 comments
Open

Add Edge Frames for Buildings or Objects Placed on Slopes #450

KINGTUT10101 opened this issue Apr 11, 2020 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@KINGTUT10101
Copy link
Collaborator

Edge frames are type of decorative object that is placed under buildings when their tiles are above sloped terrain. Here is an example of a spritesheet containing edge frames:
image

When a building is built on a slope, these edge frames will be built underneath the building automatically.
image

There will be multiple variations of edge frames. Some examples include sheet metal, concrete, and wood. These edge frames will need to go on a separate layer from ground deco. As shown in the previous picture, ground deco should be rendered on top of the edge frame, but below the building. If the building does not have ground deco, then the game should automatically switch to the terrain tile instead.
image

In a building's definition, we should be able to choose which edge frames can be used when the game automatically places them under a building. This could be defined in a fashion similar to ground deco. For example:

"edge frames":[
"EdgeFrames_Wood",
"EdgeFrames_SheetMetal"]

Adding this to the building would mean that only these two edge frame types would be automatically placed under the building. This is NOT meant to restrict what edge frame types can be placed under a building manually.

@Mograbi
Copy link
Member

Mograbi commented Apr 12, 2020

I recall that we couldn't place building on slopes, is this changed ?

@KINGTUT10101
Copy link
Collaborator Author

That's what this idea is meant to address. No, buildings can't be placed on slopes right now, but that's only because we didn't have edge frames implemented yet.

@Mograbi Mograbi added enhancement New feature or request feature Maybe it isn't really a bug user interface labels Apr 22, 2020
@Bogi79 Bogi79 added this to the Backlog milestone May 6, 2020
@Bogi79 Bogi79 removed feature Maybe it isn't really a bug user interface labels Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants