CytopiaTeam / Cytopia

:deciduous_tree::house_with_garden::office::evergreen_tree: A city building simulation game
https://www.cytopia.net
GNU General Public License v3.0
1.99k stars 105 forks source link

Support bridge #914

Open iaGuoZhi opened 2 years ago

iaGuoZhi commented 2 years ago

Feature Request: Maybe we can support bridge, wich can across oceans, rivers, connecting two continents.

I can write correspoding codes, but I may need UI designer's help.

lizzyd710 commented 2 years ago

What kind of UI changes do you think we would need?

iaGuoZhi commented 2 years ago

The image

What kind of UI changes do you think we would need?

We need the bridge's image, I think the bridge could be designed like powerlines.

iaGuoZhi commented 2 years ago

The image

What kind of UI changes do you think we would need?

We need the bridge's image, I think the bridge could be designed like powerlines.

Maybe I can use powerlines image to implement this feature, the image can be replaced when the designer has finished.

lizzyd710 commented 2 years ago

Oh yeah, that could work! I wasn't sure if you meant that you needed art for the image or if you needed changes to the user interface layout besides having a new button in the build menu or something.

iaGuoZhi commented 2 years ago

Hi, This issue can be assigned to me.

Mograbi commented 2 years ago

good idea, this need to be addressed to the art channel you can open a discussion on art channel @KINGTUT10101

SimplyLiz commented 2 years ago

this is almost implemented. See Powerlines, they use extra frames when placed over roads. the same code can be used for bridge tiles over water tiles.

KINGTUT10101 commented 2 years ago

Bridges will need more frames and logic to render if you want guard rails.

iaGuoZhi commented 2 years ago

Bridges will need more frames and logic to render if you want guard rails.

IMHO, the powerlines' power line is similar to bridges' guard rail. So we can use guard rails'code for reference?

iaGuoZhi commented 2 years ago

A bridge can be like this -:)

image