Commit graph

3378 commits

Author SHA1 Message Date
Lubos Lenco f499bfc8ca
Merge pull request #2003 from MoritzBrueckner/khamake-debug
Add option to compile with khamake --debug flag
2020-11-14 12:41:35 +01: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
E1e5en 2bd08722a1 HTML5 Settings
Added Armory Exporter - HTML5 Settings panel:
- Copy Files To Specified Folder - copy files to the folder specified in the settings after publish. The name of the folder where the result will be copied is formed based on the name of the project and version. Sample, test-1.0.5.
- Run Browser After Copy - run browser after copy. The url is formed from the one specified in the settings and the directory with the project where it was copied. Sample, http: //localhost/test-1.0.5.

Added settings in Render: Armory:
- HTML5 Copy Path - path to copy project after successfully publish (directory on local web-server).
- Url To Web Server - url that runs the local server.
2020-11-13 21:45:31 +03:00
E1e5en 65dd6b701f Exporter Panel - Project Settings
1. Processing data entry into fields:
- Name - the field must not be empty. If the user tries to set an empty value, then this field specifies the name of the blend file (this is how it is implemented during assembly). The default is the name of the blend file.
- Package - the field must not be empty, it must not consist only of numbers and start with a number. The . symbol is replaced with _. The default is arm.
- Bundle - the field must be filled in according to the mask [string].[string]. Each part must not be empty, contain numbers, or start with a number. The default is org.armory3d. Previously, this field was blank, in which case the current default was used.
- Version.
Input in the Version field is processed and only allows input by masks:
- 0.0
- 0.0.0
- 0.0.0.0
In any case, the value is ignored and the previous value remains.

If the (Auto-increment Build Number) checkbox is checked and when performing the operation, Build and Publish will be automatically incremented by one after the version value.
Examples:
it was 1.0 - it is 1.1,
it was 1.9 - it is 1.10,
it was 1.0.1 - it is 1.0.2,
it was 0.1.1.2 - it is 0.1.1.3.

Defaults:
- Version - 1.0.0
- Auto-increment Build Number - enabled.

For all fields, special characters ([] / \ ;,> <& *:% = + @! # ^ () |? ^) Are also replaced with _.

2. Fixed display of Android Settings panel.
2020-11-13 20:36:27 +03:00
Lubos Lenco da5ed3c5e0
Merge pull request #2006 from MoritzBrueckner/normals
Fix usage of normals in shaders + smaller shader improvements
2020-11-13 14:14:50 +01:00
Lubos Lenco ea79838a7d
Merge pull request #2005 from E1e5en/android-settings-more
Android Settings More
2020-11-13 14:02:40 +01:00
E1e5en b741bd752d Fix and clear
- Fixed build error when there are problems in the project name
- Code cleanup
2020-11-13 09:06:51 +03:00
Moritz Brückner ac51183a15 Fix declaration order for some shader attributes 2020-11-12 20:11:42 +01:00
Moritz Brückner 6165c43321 Properly indent shader code in write_attrib() 2020-11-12 20:10:08 +01:00
E1e5en ab3d64d651 Android Settings More
Panel Armory Exporter - Android Settings - Build APK:
1. Rename APK To Project Name
Renames the APK file from app-debug.apk to [project-name]-[version] .apk. Example, for the project example_ball.blend, the result will be the name example-ball-1.0.apk.
2. Copy APK To Specified Folder
Copies the final file to the folder specified in Preferences.

Preferences Render: Armory:
1. Copy APK To Folder
The path to the folder where the final APK file will be copied.
2. Open Directory After Copy
Open this folder after copying.

Console messages:
Rename APK to example-ball-1.0.5.apk
Copy APK to C:\IDE\Test

Use-case:
These settings will allow you to have unique names for files, as well as copy them to the required folder for uploading to the device or to the cloud.
2020-11-12 22:09:55 +03:00
Moritz Brückner 8465e497f8 Small code style improvement 2020-11-12 20:09:53 +01:00
Moritz Brückner c520b32be0 Another small musgrave texture node fix 2020-11-12 20:09:43 +01:00
Moritz Brückner b49bd54901 Fix usage of normals in shaders 2020-11-12 20:09:25 +01:00
Lubos Lenco aa9a93b530
Merge pull request #2004 from E1e5en/ln-vector-math-fix
LN Vector Math Fix
2020-11-12 08:09:38 +01: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
Moritz Brückner 27857c2648 Add option to compile with khamake --debug flag 2020-11-11 20:34:10 +01:00
Lubos Lenco 25be45bc9e
Merge pull request #1998 from E1e5en/add-quat-math
Quat Math
2020-11-11 15:33:19 +01:00
Lubos Lenco 430e4a82fd
Merge pull request #2000 from knowledgenude/master
Update LN_value_changed.py
2020-11-10 19:37:08 +01:00
knowledgenude 85fb7a3f68
Update LN_value_changed.py 2020-11-10 15:32:02 -03:00
Lubos Lenco 13d9a890d9
Merge pull request #1999 from knowledgenude/master
Value Changed node
2020-11-10 13:04:29 +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 d210cea6d8
Merge pull request #1997 from E1e5en/ln-math-optimization
Update the Math Node
2020-11-08 14:13:58 +01:00
Lubos Lenco 0d944db767
Merge pull request #1995 from N8n5h/debug-print
Show commands that launch build better and play for debugging
2020-11-08 14:13:22 +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
Lubos Lenco 3f77a1e51d
Merge pull request #1993 from MoritzBrueckner/musgrave-tex-node
Fix musgrave texture node
2020-11-08 14:10:47 +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
Lubos Lenco 0e7a69363d
Merge pull request #1991 from knowledgenude/master
Get Trait Paused and Clamp nodes
2020-11-07 18:55:32 +01:00
N8n5h fde5760a29 Show commands that launch build and play for debugging
This is so you can easily copy and paste it for testing purposes instead of having to build the whole project again.
Alternatively a button to play without build could be added to the blender UI.
2020-11-07 09:38:11 -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
Moritz Brückner 242f80357f Fix musgrave texture node 2020-11-07 00:27:51 +01: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
luboslenco 085146b245 Write cascade params only when shadows are enabled 2020-11-05 11:04:11 +01: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
Lubos Lenco 00c585811d
Merge pull request #1984 from knowledgenude/master
Update nodes that own 'On Local Axis'
2020-11-05 10:56:30 +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
Lubos Lenco e7fd3cef8a
Merge pull request #1985 from davidbruce/master
Revert/fix for traits updating
2020-11-02 16:22:40 +01:00
David Bruce a559a0b28d
Revert/fix for traits updating
Changes compilation_server_done() back to before my change.  Updates the path it checks to krom/krom.js.temp, this should prevent it from deleting existing krom.js files on first project launch.
2020-11-02 10:15:26 -05:00
knowledgenude 7fcd3dc81d update-local-axis-nodes 2020-11-02 11:51:34 -03:00
luboslenco 8e839b84c7 Bump version 2020-11-02 14:08:09 +01: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
Lubos Lenco 7ceb8746f8
Merge pull request #1981 from knowledgenude/master
Add worldVecToOrientation method
2020-11-02 09:25:15 +01:00
Lubos Lenco bed58984d1
Merge pull request #1980 from E1e5en/checking-version
Checking Blender version for Armory
2020-11-02 09:23:27 +01:00
Lubos Lenco 0d53925dd7
Merge pull request #1979 from MoritzBrueckner/logic-nodes
Custom nodes + libraries improvements (once more)
2020-11-02 09:20:38 +01:00
knowledgenude fe3e627e5d
Update TransformExtension.hx 2020-11-01 19:23:55 -03:00