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

Allow custom goal colours #451

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

m-barker
Copy link
Contributor

@m-barker m-barker commented Oct 2, 2024

Description

Hi,

I've often found it useful to be able to customise the goal colour when building custom environments for example, when making an environment that can have multiple goals etc.

I'm pretty confident this doesn't break or change anything (as I have just made the default "green" as it always is), but do let me know if any concerns -- thanks!

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

@pseudo-rnd-thoughts
Copy link
Member

Does this work in the rendering?

@m-barker
Copy link
Contributor Author

m-barker commented Oct 3, 2024

Does this work in the rendering?

Yeah all good! Here's a selection of the colours rendered for the empty environment:

image
image
image
image
image

Copy link
Member

@pseudo-rnd-thoughts pseudo-rnd-thoughts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thanks for the PR

@pseudo-rnd-thoughts pseudo-rnd-thoughts merged commit a6cfc0e into Farama-Foundation:master Oct 6, 2024
2 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants