Commit graph

412 commits

Author SHA1 Message Date
knowledgenude
17b4cb2028 update 2020-11-18 13:50:24 -03:00
Moritz Brückner
76907e1c5e Fix some node docstrings 2020-11-18 10:39:12 +01:00
knowledgenude
ba7a897142 update-triggers 2020-11-17 17:55:53 -03:00
knowledgenude
7e674e06d2
Update LN_remove_object_parent.py 2020-11-17 17:50:04 -03:00
knowledgenude
b19acb4971 fix-capitalization 2020-11-17 17:44:30 -03:00
knowledgenude
554f5854aa mouse-description 2020-11-17 17:38:57 -03:00
knowledgenude
46492cc425 fixes 2020-11-17 17:35:22 -03:00
knowledgenude
9e16c53494
fix-typo 2020-11-17 15:10:45 -03:00
knowledgenude
6c6b6dbe97
Update LN_on_canvas_element.py 2020-11-17 15:08:55 -03:00
knowledgenude
4769b084d2 add 2020-11-17 14:46:14 -03:00
knowledgenude
9a29adb176 fix 2020-11-17 13:01:08 -03:00
knowledgenude
a7863075e2 cleanups-and-renames 2020-11-17 12:01:15 -03:00
knowledgenude
7f82b2ae33 map-range-node 2020-11-14 14:39:32 -03:00
E1e5en
82ac44571a Additional terms
Additional terms
2020-11-14 11:52:07 +03:00
E1e5en
5f4a3104f1 Fixed logical nodes Vector Math and Quaternion Math
The error occurs when updating projects with old nodes. Unfortunately, the node is not completely replaced, but the error with deleting the output parameters has been fixed, the incorrect node will not be in the Logic Editor.
2020-11-14 10:28:15 +03:00
Lubos Lenco
25be45bc9e
Merge pull request #1998 from E1e5en/add-quat-math
Quat Math
2020-11-11 15:33:19 +01:00
knowledgenude
85fb7a3f68
Update LN_value_changed.py 2020-11-10 15:32:02 -03:00
knowledgenude
fde59db1e5 value-changed-node 2020-11-08 17:37:50 -03:00
E1e5en
6b804477b1 Quat Math
1. Move the Quaternion node from Transform to Variable
2. Move the Separate Quaternion node from Transform to Math
3. Added Quaternion Math Node
Linked to PR - https://github.com/armory3d/iron/pull/108
2020-11-08 22:40:01 +03:00
Lubos Lenco
d210cea6d8
Merge pull request #1997 from E1e5en/ln-math-optimization
Update the Math Node
2020-11-08 14:13:58 +01:00
Lubos Lenco
4adb01dc5f
Merge pull request #1994 from E1e5en/ln-vector-math-upgrading
Upgrading the Vector Math Node
2020-11-08 14:12:26 +01:00
E1e5en
c759a48503 Update LN_vector_math.py
Refactoring, optimization, checkstyle
2020-11-08 11:38:19 +03:00
E1e5en
5228bd097b Update LN_math.py
Refactoring, optimization
2020-11-08 11:36:44 +03:00
E1e5en
7dae9e38d0 Upgrading the Vector Math Node
Dynamically change the number of input and output parameters for the selected operation
2020-11-07 11:14:46 +03:00
knowledgenude
5052d5119b update 2020-11-06 17:31:26 -03:00
knowledgenude
7159b90b45 change-socket-type 2020-11-06 17:22:10 -03:00
knowledgenude
72186140a9 new-nodes 2020-11-06 17:20:28 -03:00
Lubos Lenco
d9480bc5b2
Merge pull request #1987 from E1e5en/ln-math-upgrading
Upgrading the Math Node
2020-11-05 10:57:22 +01:00
E1e5en
1352811bcd Upgrading the Math Node
- Dynamically change the number of arguments for the selected operation;
- Exp() operation added.
2020-11-03 09:12:41 +03:00
knowledgenude
7fcd3dc81d update-local-axis-nodes 2020-11-02 11:51:34 -03:00
Lubos Lenco
f0715ff2b6
Merge pull request #1982 from niacdoial/master
Some more (late) fixes to the node upgrading
2020-11-02 09:26:55 +01:00
niacdoial
3f9b633fbf Fixed a problem in the default (0->1) node upgrade mechanism
-> in NodeReplacement.Identity, made so that the properties of a given node are detected better. Still not perfect, but better.
2020-11-01 22:15:53 +01:00
niacdoial
7414a6846a Fixed a bunch of node class initializations 2020-11-01 22:15:53 +01:00
Moritz Brückner
bc5b207544 Fix bug with dynamic socket amounts for custom nodes 2020-11-01 01:20:58 +01:00
Moritz Brückner
07ed438f99 Fix wrong package name for custom nodes 2020-11-01 01:20:41 +01:00
Moritz Brückner
0120910f92 Improve handling of custom logic nodes 2020-11-01 01:20:27 +01:00
Lubos Lenco
4236190f5d
Merge pull request #1976 from E1e5en/detect-mobile-browser
LN Detect Mobile Browser
2020-10-31 17:01:36 +01:00
Henrique
58a0d996aa renames 2020-10-30 15:28:38 -03:00
E1e5en
145686dbf4 LN Detect Mobile Browser
Detect Mobile Browser
2020-10-30 21:22:52 +03:00
Henrique
97d284c946 replace-none-node 2020-10-30 13:22:09 -03:00
Lubos Lenco
0472734eab
Merge pull request #1967 from MoritzBrueckner/node-deprecation
Improve handling of deprecated logic nodes
2020-10-29 09:34:24 +01:00
Moritz Brückner
60ea88658c Improve handling of deprecated nodes 2020-10-28 20:29:01 +01:00
Henrique
bb1fab992d add-bounce-elastic-to-mix-nodes 2020-10-28 11:16:14 -03:00
Lubos Lenco
2f762187cf
Merge pull request #1964 from MoritzBrueckner/fix-nodes-registering
Fix and improve registration of nodes
2020-10-28 10:45:47 +01:00
E1e5en
5eeb6ab559
Update LN_get_fps.py
Due to the change in PR (https://github.com/armory3d/armory/pull/1964)
2020-10-28 07:37:06 +03:00
Moritz Brückner
bc05233ca5 Fix registration of node libraries 2020-10-27 22:39:07 +01:00
Moritz Brückner
4b9e5d533d Fix and improve registration of nodes 2020-10-27 19:44:37 +01:00
E1e5en
658d2546d8 Add LN Get Frames Per Second
This is sometimes more convenient than enable the entire debug console.
2020-10-27 15:56:34 +03:00
Henrique
4324d6196b more-cleanups 2020-10-26 11:32:59 -03:00
Henrique
413951cb62 cleanups 2020-10-26 11:20:50 -03:00
Lubos Lenco
b81486ac7a
Merge pull request #1954 from E1e5en/get-traits-name
LN for Traits
2020-10-26 09:19:54 +01:00
Henrique
ded3a7353d rename-node 2020-10-24 17:20:22 -03:00
E1e5en
ef4dbd7611 LN for Traits
1. Modification of CanvasScript and WasmScript classes: added a field to save the name of the script / file in the class.
2. Added logical nodes for working with Traits.
- Get Object Traits - gets an array of Traits for the specified object;
- Get Trait Name - get the Trait name (the name that appears in the list in Armory Traits) and its type (Canvas, Wasm, Bundle, LogicNode or Haxe).
2020-10-24 22:04:47 +03:00
Henrique
b942672990 new-vector-to-object-space-node 2020-10-24 14:39:20 -03:00
Henrique
538e66e680 new-vector-from-boolean-node 2020-10-22 15:42:22 -03:00
Moritz Brückner
74d6b594a6 Two new logic nodes for the "Random" category 2020-10-19 18:21:56 +02:00
E1e5en
1a34e202a7 Add Android Settings + LN Set Vibrate
1. For the new settings to fully function, you need to update the submodules so that this Pull Request (https://github.com/Kode/kincmake/pull/100) gets into armsdk. Extended settings via khafile.js.

2. Added Android Settings panel:
- invisible until the target platform android-hl is added to the list;
- inactive until the target platform android-hl is selected in the list.
Options:
- Orientation;
- Compile Version SDK - from 26 to 30, default 29;
- Minimal Version SDK - from 14 to 30, default 14;
- Target Version SDK - from 26 to 30, default 29;
- Permissions - a list of permissions. If I will duplicate entries in the list, then only unique entries will be included during export. By default, the list is empty;
- Android ABI Filters - a list of platforms to build for (arm64-v8a, armeabi-v7a, x86, x86_64). If I will duplicate entries in the list, then only unique entries will be included during export. By default, the list is empty. If the list is empty, then all platforms will be used (as before).

3. The enum (names of permissions) and the function have been added to the utils.py modules, which adds the specified value to the list of permissions. Feature added for ease of use from different locations (different logical nodes).

4. List of permissions:
- ACCESS_COARSE_LOCATION - Allows an app to access approximate location;
- ACCESS_NETWORK_STATE - Allows applications to access information about networks;
- ACCESS_FINE_LOCATION - Allows an app to access precise location;
- ACCESS_WIFI_STATE - Allows applications to access information about Wi-Fi network;
- BLUETOOTH - Allows applications to connect to paired bluetooth devices;
- BLUETOOTH_ADMIN - Allows applications to discover and pair bluetooth devices;
- CAMERA - Required to be able to access the camera device;
- EXPAND_STATUS_BAR - Allows an application to expand or collapse the status bar;
- FOREGROUND_SERVICE - Allows a regular application to use Service.startForeground;
- GET_ACCOUNTS - Allows access to the list of accounts in the Accounts Service;
- INTERNET - Allows applications to open network sockets';
- READ_EXTERNAL_STORAGE - Allows an application to read from external storage;
- VIBRATE - Allows access to the vibrator;
- WRITE_EXTERNAL_STORAGE - Allows an application to write to external storage.

5. Added logical node Set Vibrate:
Category: Native
Pulses the vibration hardware on the device for time in milliseconds, if such hardware exists.
Input parameters:
- Milliseconds - time in milliseconds (data type Int, default value 100).
When adding the logical node Set Vibrate, the permission is automatically added to the list, even if the target android-hl has not been added to the export list (using a function from utils.py).
2020-10-17 16:47:54 +03:00
Henrique
f2afb4fcdb rename-tilesheet-sockets 2020-10-14 10:56:41 -03:00
Henrique
be137c3805 get-tilesheet-state-ln 2020-10-14 10:03:47 -03:00
Lubos Lenco
aaa699c3cd
Merge pull request #1930 from E1e5en/screen-to-world-space-modif
Modifying the Screen To World Space node
2020-10-14 08:58:37 +02:00
E1e5en
6116c665c4 Modifying the Screen To World Space node
Modifying the Screen To World Space node

Input parameters:
- Screen X - value of screen coordinates along the X axis (data type Int);
- Screen Y - the value of the screen coordinates along the Y axis (data type Int).

Options:
- Separator Out - whether or not to separate the output parameters (vectors) into components (XYZ).

Output parameters:
- World - coordinates of a point in 3D space (Vector data type)
- Direction - normalized direction vector from the camera towards the point/cursor indication (data type Vector).
- X, Y, Z - components of the corresponding vectors (data type Float).
2020-10-13 20:50:30 +03:00
E1e5en
ebfb324abf
Update
Correction of an error in the node description
2020-10-13 18:25:10 +03:00
E1e5en
c67246cd1a Get System Language - LN
Get System Language
Category: Native
To get the current system language according to the IS0 639 standard.
The Krom platform always returns “en”.
2020-10-13 17:29:50 +03:00
knowledgenude
5abe984920
Update LN_set_object_material.py 2020-10-11 12:08:05 -03:00
knowledgenude
6ed63ad7d0
Update LN_resume_action.py 2020-10-11 12:06:36 -03:00
knowledgenude
46f0c3eb9b
Update LN_play_action.py 2020-10-11 12:05:44 -03:00
knowledgenude
ffffd6bc88
Update LN_resume_trait.py 2020-10-11 12:03:49 -03:00
knowledgenude
1d0d22594f
Update LN_pause_trait.py 2020-10-11 12:02:23 -03:00
knowledgenude
e5534c2998
Update LN_pause_tilesheet.py 2020-10-11 11:56:17 -03:00
Lubos Lenco
70ae143c9b
Merge pull request #1922 from E1e5en/debug-console-settings
Add Debug Console settings
2020-10-11 16:54:17 +02:00
E1e5en
305878db42 Add Debug Console settings
1. Adding the ability to customize display, scale (size), shortcuts to the DebugConsole class.
2. Adding a function to utils.py to get Debug Console settings from Render: Armory.
3. Added Debug Console settings to the Armory Project interface:
- Enable (default value - False);
- Position (Left, Center, Right, default value - Right);
- Scale Console (from 0.3 to 10);
- Visible.
4. Added transfer of Debug Console settings to exporter.py.
5. Added logical nodes to control DebugConsole while the application is running.
2020-10-10 13:10:34 +03:00
Henrique
677ae903a2 merge-pause-and-resume-nodes 2020-10-09 17:43:17 -03:00
knowledgenude
e35c85de49
Update LN_on_tap_screen.py 2020-10-08 07:20:54 -03:00
knowledgenude
72b1b12c21
Collision Group 1 as default in Ray Cast node 2020-10-07 16:01:05 -03:00
knowledgenude
83ad817832
Update LN_play_tilesheet.py 2020-10-05 19:09:00 -03:00
knowledgenude
31793011c9
Update LN_play_action_from.py 2020-10-05 19:08:43 -03:00
knowledgenude
6cd52a4d26
Delete LN_animation_state.py 2020-10-05 19:07:10 -03:00
knowledgenude
a90490a8f4
Update LN_trait.py 2020-10-05 15:06:10 -03:00
Henrique
9f9aa2cb81 delete-wrong-pick-rigid-body 2020-10-05 14:57:27 -03:00
Henrique
1436f9a5a4 improve-ln-descriptions 2020-10-05 14:55:56 -03:00
Henrique
8d7c3a0910 replace-inverse-by-invert 2020-09-30 12:00:18 -03:00
Henrique
95c537a934 undo-input-renames 2020-09-29 13:42:38 -03:00
Henrique
0ba0884b35 rename-ln-labels 2020-09-29 13:38:17 -03:00
Moritz Brückner
bb139d96f9 Fix SubString node socket labels 2020-09-28 16:21:18 +02:00
Moritz Brückner
431630d42e Update node docstrings 2020-09-28 15:58:41 +02:00
Lubos Lenco
dc515c97d0
Merge pull request #1891 from niacdoial/master
Further handling of node depreciation
2020-09-28 10:14:34 +02:00
niacdoial
580902e8df and one more typo for the road 2020-09-28 10:07:03 +02:00
Lubos Lenco
95cc79339a
Merge pull request #1893 from MoritzBrueckner/on-application-state
Add "On Application State" node
2020-09-27 20:36:54 +02:00
E1e5en
1fec2d1e20 Get System Name
Get System Name - to get the name of the system while the application is running.

Output parameters:
- System Name — displays the system name as a string;
- List systems for quick comparison.
2020-09-27 20:22:41 +03:00
niacdoial
482a340c77 (fixed a few typos and docstrings in relation to the previous commit) 2020-09-27 17:17:22 +02:00
Moritz Brückner
b132d4b171 Add "On Application State" node 2020-09-27 16:57:21 +02:00
niacdoial
24313d65a4 Further handling of node depreciation
(Depreciated nodes are moved elsewhere in the files to diminish clutter)

Also fixed a couple bugs for the handling of node replacement.
2020-09-26 16:14:35 +02:00
knowledgenude
e01c7f5754 rename-material-labels 2020-09-24 21:20:21 -03:00
knowledgenude
4e114e02d3 replace-delete-by-remove 2020-09-24 21:02:26 -03:00
knowledgenude
618fa26dd4
Update LN_get_display_resolution.py 2020-09-24 19:54:29 -03:00
knowledgenude
fdf24de3fb logic-nodes-labels 2020-09-24 19:49:21 -03:00
Moritz Brückner
bd50923411 Fix typo: obselete -> obsolete 2020-09-24 16:40:15 +02:00
knowledgenude
2d2e6d74db
Update LN_volume_trigger.py 2020-09-23 17:54:01 -03:00
knowledgenude
cfbeb850bf
Update LN_blend_action.py 2020-09-23 17:26:09 -03:00
knowledgenude
79df9d7016 logic-nodes-descriptions 2020-09-23 17:12:25 -03:00