Farama-Foundation / Minigrid

Simple and easily configurable grid world environments for reinforcement learning
https://minigrid.farama.org/
Other
2.13k stars 611 forks source link

Allow custom goal colours #451

Closed m-barker closed 1 month ago

m-barker commented 1 month ago

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.

pseudo-rnd-thoughts commented 1 month ago

Does this work in the rendering?

m-barker commented 1 month ago

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