-
Notifications
You must be signed in to change notification settings - Fork 15
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
Automatically generate fat sprite outlines #32
Milestone
Comments
Poobslag
added a commit
that referenced
this issue
Mar 25, 2020
The restaurant now contains three customers. When the camera pans away, the customer who was just fed shrinks to their original size. Eventually, they'll instead be replaced with a new customer. Added a CustomerViewDemo for showing off the "pan to new customer" logic, as well as tracking down bugs related to feeding the wrong bug and things like that. This involved some very messy code and kludges for having shadow and outline sprites track each other across different scenes. This is inevitable until we resolve issues #30 and #32 to reduce the amount of work in maintaining hierarchies of interconnected sprites which are all drawing the same simple object.
Poobslag
added a commit
that referenced
this issue
Mar 25, 2020
The restaurant now contains three customers. When the camera pans away, the customer who was just fed shrinks to their original size. Eventually, they'll instead be replaced with a new customer. Added a CustomerViewDemo for showing off the "pan to new customer" logic, as well as tracking down bugs related to feeding the wrong bug and things like that. This involved some very messy code and kludges for having shadow and outline sprites track each other across different scenes. This is inevitable until we resolve issues #30 and #32 to reduce the amount of work in maintaining hierarchies of interconnected sprites which are all drawing the same simple object. After rearranging the customers and furniture into reusable pieces, I noticed a bug where food was being drawn behind the table, instead of being hurled over top of it. I rearranged the objects so that food is drawn correctly, but the resulting design is very ugly. Fixed an NPE when OutlineSprite's parent was undefined.
Poobslag
added a commit
that referenced
this issue
Jul 18, 2020
The restaurant now contains three customers. When the camera pans away, the customer who was just fed shrinks to their original size. Eventually, they'll instead be replaced with a new customer. Added a CustomerViewDemo for showing off the "pan to new customer" logic, as well as tracking down bugs related to feeding the wrong bug and things like that. This involved some very messy code and kludges for having shadow and outline sprites track each other across different scenes. This is inevitable until we resolve issues #30 and #32 to reduce the amount of work in maintaining hierarchies of interconnected sprites which are all drawing the same simple object. After rearranging the customers and furniture into reusable pieces, I noticed a bug where food was being drawn behind the table, instead of being hurled over top of it. I rearranged the objects so that food is drawn correctly, but the resulting design is very ugly. Fixed an NPE when OutlineSprite's parent was undefined.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently have a few art assets such as head-outline.png which go behind sprites and help characters "pop" slightly. These assets could be generated in-game by an object which looks at an object, figures out which pixels are opaque, expands the selection by 2-3 pixels and fills it in with this brown color.
This will reduce the number of assets and also reduce the burden on artists to draw these effects themselves. It also eliminates the risk of artists accidentally drawing these outlines too thin or too thick, or varying their style over time.
The text was updated successfully, but these errors were encountered: