-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Add Graphics to the Match3 env #4627
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
Conversation
…echnologies/ml-agents into hh/develop/m3-graphics-m
|
||
void OnDrawGizmos() | ||
{ | ||
// TODO replace Gizmos for drawing the game state with proper GameObjects and animations. | ||
var cubeSize = .5f; | ||
var cubeSpacing = .75f; | ||
var matchedWireframeSize = .5f * (cubeSize + cubeSpacing); | ||
var matchedWireframeSize = .5f * (cubeSize + CubeSpacing); |
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.
Do we even need the gizmos code anymore?
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.
Even if we want to keep it around, you can remove the TODO above :)
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.
changed: removed the todo. also, the gizmos still show some of the debug features you made. there's still value there so i'd say we can leave for now
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.
Looks good.
Is there a reason that there's both
Project/Assets/ML-Agents/Examples/Match3/Prefabs/FBX/Match.fbx
Project/Assets/ML-Agents/Examples/Match3/Prefabs/FBX/3.fbx
? Did "Match 3" get turned into two files?
i brought them in as 3 separate meshes so i could independently scale the 3 so this was intended |
Proposed change(s)
Adds Graphics to the M3 env. Spawns gameobject "tiles" in game mode. Added image to the Match3 docs.
Types of change(s)
Checklist
Other comments