Commit Graph

623 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
c8469ba8c3
Fix Editor crash after a component is selected.
Fix #2384
2019-05-19 15:50:37 +08:00
Yao Wei Tjong 姚伟忠
8b644c22ce
Quick fix for Editor segfault during starting up. 2019-05-19 15:50:37 +08:00
ELMERzark
b4b8667f3e Update 06_SkeletalAnimation.lua 2019-03-30 18:58:52 +08:00
Arnis Lielturks
d4cf8a9f05
localization JSON file now supports simple key-value structure (#2359)
* localization JSON file now supports simple key-value structure

* docs updated, code refactoring

* minor fix

* AngelScript integration fixed
2019-02-16 14:42:01 +02:00
Neal_Nicdao
b1c3ce30ec
Added new EmitterTypes
* Added SphereVolume, Cylinder, and Ring enum with calculations
 * Modified EditorParticle to incorporate new emitter shapes
2018-11-25 21:25:58 +08:00
Yao Wei Tjong 姚伟忠
81d66be594
Fix editor's OK button due to StringHash is now case-senstive. 2018-08-26 11:57:55 +08:00
Yao Wei Tjong 姚伟忠
8ba6a36973
Adapt to AngelScript 2.33.0 WIP. 2018-08-22 18:29:16 +08:00
Arnis Lielturks
e363036036
kNet replaced with SLikeNet (RakNet fork). 2018-08-11 20:35:09 +08:00
1vanK
2482502b84 Editor: more info about models 2018-05-14 07:43:45 +08:00
Enhex
8ecbfad065
renamed to Selectable to UISelectable 2018-04-08 21:13:29 +08:00
Enhex
8c8c812ab9
add editor icon for Selectable 2018-04-08 21:13:29 +08:00
Modanung
4578d4bbf5 Trimmed checkmarks, modified accept drop cursor and reduced refresh icon size 2018-04-08 12:25:07 +08:00
Modanung
f19c632c62 Modified selection and hover colors in DefaultStyle.xml to match new skin 2018-04-08 12:25:07 +08:00
Modanung
3983f61697 Moved SVG of UI to SourceAssets folder 2018-04-08 12:25:07 +08:00
Modanung
14ba47fe79 Tiny GUI modifications 2018-04-08 12:25:07 +08:00
Modanung
ce3987ff8f Removed old UI from SVG 2018-04-08 12:25:07 +08:00
Modanung
1709bddf76 Created new GUI texture 2018-04-08 12:25:07 +08:00
Yao Wei Tjong 姚伟忠
0631979496
Clean up redundant semicolons in sample Lua scripts.
[ci skip]
2018-02-04 22:58:19 +08:00
Yao Wei Tjong 姚伟忠
3a76654c44
Demonstrate how to bring to front an UI-element.
Close #2251.
2018-02-04 16:11:50 +08:00
pmatsula
edd3bd9b67
Fixed a serious bug with flipping X and Y (tested), reverted some occasional changes to sample data. 2018-02-04 12:04:35 +08:00
pmatsula
c6eaacddb3
Added more illustrative and yet subtle changes to samples 2018-02-04 12:04:35 +08:00
Pavel Matcula
f007c58b0c
Changed tilemap sample for experiments 2018-02-04 12:04:34 +08:00
Ricardo Abreu
38feb91078 use explicit default initialization in TrailPoint in-class member initializers; add periods to comments. 2018-02-01 18:59:01 +08:00
Ricardo Abreu
10734bad2c fix RibbonTrail coverity issues; CID: 127543, 216057, 216060, 216066 2018-02-01 18:59:01 +08:00
Yao Wei Tjong 姚伟忠
80668bf125 Add Scene::IsReplicatedID() static helper method for code reuse.
Modify the Angelscript binding of the Component::IsReplicated() to use asMETHODPR macro to keep VS happy.
2018-01-28 07:38:58 +08:00
Yao Wei Tjong 姚伟忠
23a696676d Add IsReplicated() method for Node and Component classes.
Close #2211.
2018-01-28 00:11:31 +08:00
Yao Wei Tjong 姚伟忠
d368227648 Minor formatting and modernizing the code.
Close #2214.
2018-01-26 07:56:25 +08:00
Ricardo Abreu
c6a6598764 Add stretchable sprite component and corresponding sample. 2018-01-26 06:57:23 +08:00
Yao Wei Tjong 姚伟忠
c29cb530b6 Clang-Tidy - google-default-arguments.
Refactor Serializable::Load(), Seriazable::LoadXML(), and Serializable::LoadJSON() virtual methods.
2017-12-31 13:48:27 +08:00
Yao Wei Tjong 姚伟忠
65e9d62fc6 Merge branch 'master' of https://github.com/SuperWangKai/Urho3D. 2017-12-20 01:14:21 +08:00
thesquib
0a5f12c495 Fix incorrect comment in AS 2017-11-23 23:04:08 +13:00
thesquib
b46db86f24 Updated for current Urho3D, modified isometric demo to include interactions similar to the 2d platformer. 2017-11-23 23:01:51 +13:00
Mike3D
e7ff66e6d7 Added 2 Urho2D samples (isometric demo and platformer) 2017-11-23 23:01:50 +13:00
SuperWangKai
611fc1fbff
Merge pull request #7 from urho3d/master
Sync with urho3d
2017-11-05 16:37:30 +08:00
Lisandro Bruzzo
3f830d4f20 Update Vegetation.hlsl 2017-09-18 23:35:41 -03:00
Lisandro Bruzzo
a42a299877 Update Vegetation.glsl 2017-09-18 23:34:37 -03:00
SuperWangKai
395651fafd Improved robustness when view closer 2017-09-11 10:26:56 +08:00
SuperWangKai
f258f10c0c Fixed bounding box merging problem for node and component 2017-09-09 00:29:17 +08:00
SuperWangKai
637e5b548b Typo fixed. 2017-09-09 00:01:38 +08:00
SuperWangKai
fcc1071f64 Add 'Rotate Around Selection' to simulate the legacy way of camera orbit 2017-09-08 16:31:21 +08:00
SuperWangKai
2367f9eec8 Interrupt camera interpolation when user pan/orbit/zoom camera 2017-09-08 15:42:28 +08:00
SuperWangKai
0e88ed738e Editor camera improved:
1. Camera now has a virtual look-at point. Camera can now rotate around the look-at point or as well as itself. No focus will be lost during camera operation (issue #2039). New object can place at this look-at point(view center).
2. Better camera close-look - adjust pos/zoom of camera and make view frustum fit the calculated bounding box of selected nodes and components.
3. Double click component in Hierarchy Window can also look close to the node.
4. Camera smooth interpolation - pos/rot/zoom smooth interpolating for close-look, top/front/side view switching.
5. Removed MouseWheelCameraPosition to make camera less confusing.
6. Key/Mouse changed - Added F key(Standard Hotkey, many popular tools use this key) and NumPad Period(Blender Hotkey) for camera close-look. Moving middle mouse button for orbiting around look-at and right button movement for orbiting around camera itself (For standard Hotkey).
2017-09-06 16:51:30 +08:00
Eugene Kozlov
b617a576c4 Added attribute metadata. Removed attribute variant structure element names. Resolves #1766. 2017-08-27 12:02:47 +03:00
Lasse Öörni
4f54e7a95e Hello3DUI Lua version and minor Lua binding fix. 2017-08-23 23:29:02 +03:00
Lasse Öörni
50fbdbd12e UIComponent AngelScript API fix, AS example and shutdown crash fix. 2017-08-23 22:02:51 +03:00
Lasse Öörni
de18c72ce7 Cleanup unused code from Renderer. Add "persistent" flag to readable depth buffers in the HWDepth deferred renderpaths. This is required to fix a D3D11 bug leading to garbled display with multiple rendertexture views that use readable depth. Closes #2082. 2017-08-20 21:43:45 +03:00
Lasse Öörni
4265f99a8c Fix normals / lighting on the cylinder by using auto normal smoothing. Closes #2075. 2017-08-18 22:40:13 +03:00
Lasse Öörni
18d5ce2fed Remove unnecessary VS defines from PBR techniques. 2017-08-16 13:26:45 +03:00
Lasse Öörni
c2c1d06cd2 Remove unused IBL code which requires tangents / bitangents, and do not require tangents for IBL / non-normalmapped. Fix PBR techniques so that VS also refers to NORMALMAP define when necessary, since that is now required to trigger the tangent calculation. Closes #2072. 2017-08-16 11:26:51 +03:00
Eugene Kozlov
d537c2027a Merge pull request #2061 from eugeneko/navmesh-streaming
Navmesh streaming
2017-08-12 15:52:35 +03:00