Lasse Öörni
|
1461021c94
For feature similarity between AngelScript, Lua and the C++ LogicComponent, remove the "Fixed update FPS" feature from ScriptInstance. DelayedExecute() in repeating mode can be used instead to call a script object method at arbitrary intervals.
|
11 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
dfe3cab012
Restructuring of non-ScriptInstance script object event handling to ensure that handlers for individual objects don't overwrite each other.
|
12 years ago |
Alex Parlett
|
18cb81b750
Add the ability to allow pure script objects that are not created through a ScriptInstance to handle events. This works like it currently does using:
|
12 years ago |
Lasse Öörni
|
ee0e3aa663
Removed the mechanism of binary-serializing resource name hashes instead of resource names. This is to allow correct resource loading from binary scene files on platforms that cannot iterate the resources in the application installation (eg. Android). This also affects networking, downside is increased network payload size when resource attributes are transferred. All binary scenes saved with old Urho versions are also invalidated.
|
12 years ago |
Lasse Öörni
|
bb56ee95d2
Added support for DelayedExecute() from free script functions. This allows calling free functions in the same script module as delayed.
|
12 years ago |
Lasse Öörni
|
27d54428d5
Fix the delayed method calls attribute for a deserialized ScriptInstance overwriting a delayed method call that was newly stored in code (eg. inside script object's Start() function)
|
12 years ago |
Lasse Öörni
|
36eb726d36
Add the concept of base class type to Object to simplify determining if a ScriptInstance's handle variable is a Node, Component or Resource. Serialize script's resource handles as ResourceRef attributes and allow editing them.
|
12 years ago |
Lasse Öörni
|
c3870201b9
Added TransformChanged() script method to ScriptInstance & LuaScriptInstance. Called when node transform changes (hooks to OnMarkedDirty() on C++ side)
|
12 years ago |
Lasse Öörni
|
4696717b7f
Code and comment cleanup.
|
12 years ago |
Lasse Öörni
|
36892ae86c
Clear pending ID attributes when the script object is destroyed.
|
12 years ago |
Lasse Öörni
|
81622fec98
Fixed ScriptInstance node / component handle attributes so that they go through the SceneResolver properly.
|
12 years ago |
Lasse Öörni
|
dda39f2b7d
Initial work for serializing Node / Component handles from a script object automatically.
|
12 years ago |
Wei Tjong Yao
|
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
|
12 years ago |