Clips (.aeanim) and controllers (.aectrl) with importers, AnimationPlayer and Animator with crossfades, root motion and events on fixed steps, rewind support. Editor: Animation panel (dope sheet, curves, record, preview, trajectory), Animator panel, sprite sheet slicer and flipbooks, Programming workspace, export panel redesign. Motion 2D ledge climb. 11c: the component and Create palette.
30 lines
720 B
Go
30 lines
720 B
Go
package integration
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"aego/editor/core/workspace"
|
|
)
|
|
|
|
// Programming opens Assets on scripts; every workspace reopens Assets where it was left.
|
|
func TestAssetsFolderPerWorkspace(t *testing.T) {
|
|
s := workspaceSession(t)
|
|
ws, as := s.App.Workspace(), s.App.AssetsPanel()
|
|
ws.Switch(workspace.Programming)
|
|
s.Step()
|
|
if got := as.Folder(); got != "scripts" {
|
|
t.Fatalf("Programming opened %q", got)
|
|
}
|
|
as.SetFolder("scripts/player")
|
|
ws.Switch(workspace.Design)
|
|
s.Step()
|
|
if got := as.Folder(); got != "assets" {
|
|
t.Fatalf("Design opened %q", got)
|
|
}
|
|
ws.Switch(workspace.Programming)
|
|
s.Step()
|
|
if got := as.Folder(); got != "scripts/player" {
|
|
t.Fatalf("Programming came back to %q", got)
|
|
}
|
|
}
|