unitytechnologies / aterriblekingdom Goto Github PK
View Code? Open in Web Editor NEWScripting the Timeline for games in creative ways. Includes a small RTS game build on the 'A Mighty Kingdom' assets
Scripting the Timeline for games in creative ways. Includes a small RTS game build on the 'A Mighty Kingdom' assets
I tried to use this project with Unity 2018.2 & was getting various warnings.
The referenced script on this Behaviour (Game Object 'CharacterName') is missing!
The referenced script on this Behaviour (Game Object 'PressSpacebar') is missing!
The project does play & pressing 0, 1, 2 ,3 plays out actions & changes the camera,
2018.2.14f1
2018.3.0b9
Same thing, just with even more package-related errors.
Where do these functions come from, they are not recognised by my editor?
Can I use part of the TimeMachine implementation in my project?
Hey Ciro,
first of all, thanks a lot for the great examples in this repo. They are spot on for what I am building and the code is really easy to follow. Great work!
I am working on custom timeline playables and stumbled over one issue that I couldn't resolve. I coded a playable that is very similar to your example with the AICommands to move characters in the scene providing a target position and relying on Navmesh in play mode. For preview in edit mode, I use a custom editor that shows a gizmo to manipulate a target position, just like your example code:
https://github.com/UnityTechnologies/ATerribleKingdom/blob/master/Assets/Scripts/CustomTimelineTracks/AICommand/Editor/AICommandInspector.cs
Now, if I manipulate the target coordinates in the inspector (not using the gizmo) the clip object automatically updates and I see how the character changes position in the scene view. However, if I use the gizmo in the scene view to change the target, the playable does not update automatically. I see the coordinates change in the inspector but the character in the scene view does not follow. In other words, CreatePlayable in AICommandClip is not called if I use the gizmo with OnSceneGUI. It is only called through OnInspectorGUI()
As I am new to timeline and its graph architecture, I don't really understand how to trigger the graph from OnSceneGUI to reinvoke CreatePlayable. Hope my explanations are not too confusing. Any help is highly appreciated.
Best,
Raphi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.