Lasse Öörni
|
cb0103d518
Require always registering remote events for reception. Implement a fixed blacklist of remote events that can not be registered (see Network.cpp). Removed obsolete E_WINDOWMESSAGE event definition.
|
11 жил өмнө |
Lasse Öörni
|
90729b57ca
As ParticleEmitter is now considerably more lightweight with its attributes, NinjaSnowWar no longer needs to use a remote event to create synced particle effects; instead they can just be replicated through the scene sync.
|
11 жил өмнө |
Aster@中国上海
|
ba92dccbb0
Use particle effect in NinjaSnowWar.as
|
11 жил өмнө |
Lasse Öörni
|
84d06d2e61
Merged the face camera boolean and axes parameters used by BillboardSet & Text3D into a FaceCameraMode enum. Implement none, rotate XYZ, rotate Y, lookat XYZ & lookat Y modes. More can be added as necessary.
|
11 жил өмнө |
Lasse Öörni
|
76a7a60918
Expose touchedElement of TouchState to Lua, and to AngelScript as an ordinary handle to simplify code. Closes #342.
|
11 жил өмнө |
Yao Wei Tjong 姚伟忠
|
265f9ceefc
Minor clean up on Input class and NinjaSnowWar demo.
|
11 жил өмнө |
Lasse Öörni
|
955a8bb34e
Joystick refactoring after merging the joystick pull request from thebluefish.
|
11 жил өмнө |
thebluefish
|
51c4060135
Bugfix
|
11 жил өмнө |
Lasse Öörni
|
5b5020abbf
Hide the settings screen joystick in NinjaSnowWar when the game is unpaused. Do not show the settings joystick if not already showing the controls joystick.
|
11 жил өмнө |
Lasse Öörni
|
7289f4be7a
NinjaSnowWar: when the console is visible, do not react to any controls. When OS mouse cursor changes from visible to hidden, center it to avoid erratic mouse move on the next frame.
|
11 жил өмнө |
Yao Wei Tjong 姚伟忠
|
c78f34d5ca
Improve the hats response on screen joystick (in joystick event mode).
|
11 жил өмнө |
aster
|
8c6f3823c9
Readd new BlueHighway.ttf, and change UI style and NinjaSnowWar.as.[ci skip]
|
11 жил өмнө |
Yao Wei Tjong 姚伟忠
|
1518c332c1
Add user customizable screen joystick for mobile platforms.
|
11 жил өмнө |
Lasse Öörni
|
67d603d8e5
Node transform space refactoring. Translate(), Rotate() and LookAt() functions take a transform space (local, parent or world). Translate() has a behavior change: default space is local, as that is most often used in eg. camera movement, and is consistent with the default for rotations (the earlier fixedAxis = false was same as local space). The redundant TranslateRelative() function is removed. Add RotateAround() function, which allows rotating around a pivot in either local, parent or world space. Closes #295.
|
11 жил өмнө |
Lasse Öörni
|
16605301bc
Reorganize Editor & NinjaSnowWar resources into subdirectories.
|
11 жил өмнө |
Lasse Öörni
|
0b569ee794
Fixed headless NinjaSnowWar.
|
11 жил өмнө |
Lasse Öörni
|
cc9e5e1994
Moved to XML based shader precache files. Refactored shader precaching code to its own class. Closes #199.
|
12 жил өмнө |
Lasse Öörni
|
abc6fcd8b8
Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file.
|
12 жил өмнө |
Lasse Öörni
|
691492cf02
Fix AngelScript warning.
|
12 жил өмнө |
Lasse Öörni
|
f850782027
Further tweak of NinjaSnowWar shadows on mobiles (make the only cascade show a bit further, make shadows lighter)
|
12 жил өмнө |
Lasse Öörni
|
4c02e19352
Increased the OpenGL ES constant depth bias adjustment to reduce self-shadowing artifacts. Do not use cascaded shadow mapping on OpenGL ES, so that the low quality shadow mode can avoid dependent texture reads altogether for much higher performance on iOS. Updated documentation of the GetPlatform() function.
|
12 жил өмнө |
Lasse Öörni
|
10ce31bb69
Fix NinjaSnowWar compile error.
|
12 жил өмнө |
Lasse Öörni
|
f8de2a71f0
Align NinjaSnowWar touch buttons to screen corners properly so that they will realign if orientation changes. Fixed touch move not taking the move button position properly into account.
|
12 жил өмнө |
Lasse Öörni
|
f07f883ee9
Set proper sound channel type for NinjaSnowWar music.
|
12 жил өмнө |
Lasse Öörni
|
fc841ce8d1
Applied global UI double click patch from Chris Friesen. Removed individual double click handling in LineEdit & ListView elements.
|
12 жил өмнө |
Lasse Öörni
|
6d852735b2
Removed the hacks to detect emulated mouse in NinjaSnowWar.
|
12 жил өмнө |
Lasse Öörni
|
c37695b16a
For consistency, emulate touch as mouse on all platforms (on Windows it is unavoidable.)
|
12 жил өмнө |
Lasse Öörni
|
5ad269e68c
Reverted the addition of IsTouchEnabled() as on some platforms it is set dynamically on receiving the first touch.
|
12 жил өмнө |
Lasse Öörni
|
4c46fe72df
Always delete CMakeLists directory also in the Windows CMake batch files to prevent using wrong toolchain.
|
12 жил өмнө |
Lasse Öörni
|
49a628a5c8
Use remote events for spawning particle effects in networked NinjaSnowWar to avoid sending all ParticleEmitter attributes.
|
12 жил өмнө |