-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix ducks and building rotation #1411
Conversation
@@ -75,7 +75,8 @@ export const Buildings = memo( | |||
const coords = getCoords(b.location.tile); | |||
const height = getTileHeightFromCoords(coords); | |||
const selected = selectedElementID === b.id ? 'outline' : 'none'; | |||
const rotation = b.facingDirection == FacingDirectionKind.RIGHT ? -30 : 30; | |||
console.log(b); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stray console.log 👁️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oopsy Poopsy!
{ | ||
"useBuildCacheServer": false, | ||
"cacheServerHost": "", | ||
"cacheServerPort": 8126, | ||
"threadedArchiving": true, | ||
"logCacheMiss": false, | ||
"slimWriteResults": true, | ||
"maximumCacheSize": 20, | ||
"useDetailedBuildLog": false, | ||
"useV2Hasher": true, | ||
"fileIDHashSeed": 0, | ||
"prefabPackedHeaderSize": 2 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you mean to commit this? ... seems unrelated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not mean to commit this... I also don't know what it is 🤔. It may be a left over from playing with the rendering. I'll remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooookay... turns out it's auto-generated and will appear after a build forever, so I guess we need it. It's also been added in the Graphics update PR I made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dunno if that ScriptableBuildPipeline things should be .gitignored or not ... but will leave it up to you
Id gitignore it, easier to remove from the list later than to add it and make sure everyone's local copies get the message! |
This PR rotates the duck roofs on both the factory buildings and the duck counter buildings so that the face the same direction as the building itself.
It also adjusts how dynamically placed buildings are rotated so that they show off both of their detailed sides