ML for Games Course documentation

Code Assistants ๐Ÿ‘ฉโ€๐Ÿ’ป

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Code Assistants ๐Ÿ‘ฉโ€๐Ÿ’ป

Code Assistants are helpful when you need help coding a function or when you find a bug in your code and want to know why.

Unity Muse Chat ๐Ÿ’ธ ๐Ÿ”’

Muse chat

Muse Chat is a conversation AI in Unity Editor that can answer your Unity questions and help you with code and debugging.

Whatโ€™s impressive about this tool is that itโ€™s context-aware of the project. This means it has information about your project, the game objects, etc., so you donโ€™t need to explain it in the prompt.

Itโ€™s a handy tool to accelerate your game development workflow.

For instance, Iโ€™m using it to help me build the next unit demo: itโ€™s an action-adventure game about aliens ๐Ÿ‘ฝ invading a space station. Your goal is to outsmart them and flee.

You can win the game by leaving the station, but to do that, you need to find your equipment, escape hatch password, etc., without getting noticed.

Sounds exciting? Itโ€™s a demo youโ€™ll be able to play and modify during this course ๐Ÿ”ฅ

For this game, I need the red light to flicker to convey the sense of alertness in the space station.

So, I clicked on my point light and asked Muse how to create this.

Muse chat Example 1

Whatโ€™s impressive about Muse is that in addition to providing the code, it shared with me a well-defined explanation of why the code works this way and its sources.

Muse chat Example 2 Muse chat Example 3 Muse chat Example 4

And this is the result:

Muse chat Light example

If you want to try it:

๐Ÿ‘‰ Muse Website (15 days free)

๐Ÿ‘‰ They wrote a tutorial on the best practices

GitHub Copilot ๐Ÿ’ธ ๐Ÿ”’

GitHub Copilot

If youโ€™re not using Unity but another game engine, you should use GitHub Copilot. Itโ€™s one of my favorite tools when I code in Python.

Copilot is not a free tool, but itโ€™s free for verified students, teachers, and maintainers of popular open-source projects. So, if you contributed to open-source projects, you are eligible to use it for free.

๐Ÿ‘‰ Copilot Website

< > Update on GitHub