Commit graph

1006 commits

Author SHA1 Message Date
Moritz Brückner 068a539f60 Forward renderpath: add support for chromatic aberration 2020-11-28 23:09:07 +01:00
Lubos Lenco 607c5e57cf
Merge pull request #2024 from MoritzBrueckner/mouse-movement
Improve `Get Mouse Movement` node
2020-11-28 12:30:52 +01:00
Moritz Brückner 0acadd2e74 Improve Get Mouse Movement node 2020-11-26 10:00:35 +01:00
Lubos Lenco 73cae5406e
Merge pull request #2023 from E1e5en/ln-math-expression
LN Math Expression
2020-11-26 08:49:04 +01:00
knowledgenude ce629455ad
Update VectorFromBooleanNode.hx 2020-11-19 13:57:39 -03:00
knowledgenude cc481ea15c fix-nodes 2020-11-19 10:38:46 -03:00
E1e5en 9ab9d5c5db LN Math Expression
First version:
- Dynamically checking the correctness of an expression in the IDE (Blender).
- The task is divided into 2 parts: checking the correctness through python in the Blender interface and when performing calculations when the application is running in haxe.
The following decisions are taken as a basis:

python - http://repl.it/3xv/1
haxe - https://github.com/maitag/formula (added all the necessary classes to the node code)
2020-11-19 11:41:24 +03:00
knowledgenude 97bbf0b9d2
fix-missing-return-dynamic 2020-11-18 14:07:23 -03:00
knowledgenude 17b4cb2028 update 2020-11-18 13:50:24 -03:00
knowledgenude ba7a897142 update-triggers 2020-11-17 17:55:53 -03:00
knowledgenude e46a86d4f5
Update GetCursorStateNode.hx 2020-11-17 17:47:17 -03:00
knowledgenude 46492cc425 fixes 2020-11-17 17:35:22 -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 91a2a3e00f LN Vector Math Fix
Fixed error:
On static platforms, null can't be used as basic type Float
2020-11-12 06:56:35 +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 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 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 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 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 4d87a0d3ad fix 2020-11-02 12:55:11 -03:00
knowledgenude 7fcd3dc81d update-local-axis-nodes 2020-11-02 11:51:34 -03:00
knowledgenude fe3e627e5d
Update TransformExtension.hx 2020-11-01 19:23:55 -03:00
knowledgenude f7ec11d5c5 add-worldVecToOrientation-method 2020-11-01 18:17:56 -03: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 fa0e5ae0a4 fix 2020-10-30 15:32:12 -03: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
Moritz Brückner 6f1f97f9e9 Debug console: add "Set Active Camera" button for camera objects 2020-10-29 20:00:59 +01:00
Moritz Brückner 1d3c9cf23b Whitespace cleanup 2020-10-29 20:00:35 +01:00
Henrique bb1fab992d add-bounce-elastic-to-mix-nodes 2020-10-28 11:16:14 -03:00
E1e5en fb00b4533c
Update GetFPSNode.hx
Checkstyle
2020-10-27 18:23:10 +03: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 413951cb62 cleanups 2020-10-26 11:20:50 -03:00
Henrique e7db53cca6 fix-node 2020-10-26 11:00:38 -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 f9e9dfdd41 Fix BlendActionNode for empty action sockets 2020-10-21 19:30:21 +02: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
knowledgenude 3760d9b36d
Update GetTilesheetStateNode.hx 2020-10-14 10:08:43 -03:00