Commit graph

229 commits

Author SHA1 Message Date
E1e5en 59c31950c8 Added option for HTML5 Settings
- Disable browser context menu - disable the browser context menu for the canvas element on the page (index.html).
2020-12-02 20:54:14 +03:00
Moritz Brückner 8814326bab write_data.py: cleanup and improve chromatic aberration section 2020-11-28 23:12:21 +01:00
E1e5en d084a8297e Windows Settings – Publish and action after
Windows Settings:
Visual Studio Version - select the studio version for which the project will be exported. Options: 2010, 2012, 2013, 2015, 2017, 2019. Default: 2019.
Update - checks the installed versions of Visual Studio on the PC and adds (installed) to the version in the list if available (for information). Example:
sample_vs_2
Action After Publishing - select an action after a successful publication. Options:
Nothing - do nothing. Default value;
Open In Visual Studio - open the project in the corresponding studio version;
Compile - compilation of the project;
Compile and Run - compile and run the project. Then the executable file will be copied to the windows-hl folder (where the resources are located).
Mode - compilation mode. Options: Debug, Release. Default: Debug.
Architecture - the architecture for which the application will be built. Options: x86, x64. Default: version of the user’s PC architecture.
Compile Log Parameter - setting the output of messages during compilation:
Summary - show the error and warning summary at the end. Default value;
No Summary - don \ 't show the error and warning summary at the end;
Warnings and Errors Only - show only warnings and errors;
Warnings Only - show only warnings;
Errors Only - show only errors.
More details can be found here - MSBuild command-line reference (I took only part of the settings).
Count CPU - specifies the maximum number of concurrent processes to use when building. More details can be found here - MSBuild command-line reference. The default is 1. Maximum value: the number of CPUs in the system (function multiprocessing.cpu_count()).
Open Build Directory - open the folder with the application after a successful build. If the Compile and Run option is selected, then the executable file will be copied to the windows-hl folder (where the resources are located) and this folder will open. Otherwise, the folder where the given Visual Studio file is going will open.
The user will also receive a message if the studio version selected for export and for opening in the studio or compilation is not on the PC. And a list of installed ones will be issued. Example:

Visual Studio 2017 (version 15) not found.
The following are installed on the PC:
- Visual Studio Community 2019 (version 16.8.30711.63)
To obtain information about the installed versions of Visual Studio, use the vswhere.exe utility (open source) included in Kha (located in the …\ArmorySDK\Kha\Kinc\Tools\kincmake\Data\windows).
2020-11-24 20:41:50 +03:00
luboslenco 085146b245 Write cascade params only when shadows are enabled 2020-11-05 11:04:11 +01:00
Moritz Brückner 863ec518f8 Set file encoding to utf-8 2020-10-18 17:50:35 +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
Moritz Brückner e8b1859e8b Add "armory" flag on export so libraries can differ between Armory and Kha 2020-09-11 14:43:59 +02:00
Moritz Brückner f6cf1e4731 Rename f to khafile for better readability 2020-08-28 13:25:54 +02:00
Moritz Brückner b458438c70 Fix android target options 2020-08-28 13:09:23 +02:00
Lubos Lenco 78aec97c95
Merge pull request #1744 from MoritzBrueckner/world-export
Multi-world support
2020-07-07 11:07:25 +02:00
Moritz Brückner b994b1d575 Remove cloud constants from compiled.inc 2020-07-06 18:14:15 +02:00
tong c89a40da85 Add haxe --times flag on verbose not debug_console 2020-06-25 13:02:56 +02:00
tong 413406f3d3 Generate Main.projectVersion 2020-05-10 21:25:01 +02:00
Lubos Lenco 61ff96786f Metal fixes 2020-05-04 00:19:11 +02:00
Moritz Brückner f5a40efec4 Fix annoying error message at first Armory2D start from Blender 2020-01-13 11:04:39 +01:00
luboslenco f310776985 Use webassembly for ammo+krom 2019-11-16 14:11:32 +01:00
luboslenco 01920b99c7 Fix android target name 2019-09-08 19:08:47 +02:00
luboslenco 24867658f1 Deprecated cleanup 2019-08-24 11:50:27 +02:00
Alexander 000ec17e3d Chromatic aberration 2019-08-08 20:02:42 +02:00
Alexander f521828edc Lens dirt masking 2019-08-08 18:56:56 +02:00
luboslenco ff3ca27aa9 Separate format lib 2019-08-04 15:31:25 +02:00
unknown 4664c5ff9a Flag cleanup 2019-07-14 15:41:40 +02:00
unknown 05b43aca02 Emit arm_audio 2019-06-22 17:06:02 +02:00
unknown 8bccdd9879 lz4 compress stubs 2019-06-22 11:29:05 +02:00
luboslenco 060448e555 More dof changes 2019-05-31 14:11:39 +02:00
luboslenco bde6cfa76f Keep compatible 2019-05-24 09:34:59 +02:00
Sidar Talei d0893c78b4 gpu_dof > dof.aperture_fstop 2019-05-24 03:53:30 +02:00
luboslenco 297a7b8281 b28 fixes 2019-05-20 14:32:48 +02:00
luboslenco 4a754e8b3a Expose khafile params 2019-05-10 18:29:59 +02:00
luboslenco d05641b4a3 Auto-exposure speed 2019-05-01 10:52:42 +02:00
luboslenco e402442754 Water refract 2019-04-29 16:21:44 +02:00
luboslenco d8bd7f6972 Link clouds props 2019-04-26 09:58:20 +02:00
unknown 5240249982 Use voxelao instead of voxelgi, gi will be reworked into raytracing 2019-04-06 18:52:21 +02:00
unknown ad88b97d63 Code cleanup 2019-04-06 15:38:25 +02:00
unknown 27197cc94f Force gpu particles 2019-04-06 14:30:11 +02:00
unknown 4ecec19ad3 Force gpu skinning 2019-04-06 14:13:38 +02:00
luboslenco c29e8fdbd0 Shadows cleanup 2019-03-23 10:56:30 +01:00
luboslenco 00fb2cd511 Use DrawOrder.Distance as default 2019-03-11 10:32:31 +01:00
luboslenco aafddfba76 Print compilation times in debug mode 2019-03-09 10:18:53 +01:00
luboslenco 74e9e17497 Khafile option is now PointerProperty 2019-03-01 11:11:51 +01:00
luboslenco 120354ffa8 Always embed for now 2019-02-28 23:15:09 +01:00
luboslenco 1e5b11d0a3 Expose vignette strength 2019-02-21 14:20:18 +01:00
luboslenco 49c58d2c05 Enable live patch for krom only 2019-02-14 11:08:36 +01:00
luboslenco 4923699c98 Use noembed flag 2019-02-12 14:41:44 +01:00
luboslenco 2f0b239014 Resizable define 2019-02-11 17:10:49 +01:00
luboslenco 7b258d311d Enable config for dynamic resolution 2019-02-10 17:30:31 +01:00
luboslenco e0e4bf303f Send operators to Krom 2019-02-10 11:47:42 +01:00
luboslenco a1da8b0824 Expose cone aperture 2019-02-09 15:34:16 +01:00
Diego de Blas Mateo c41b64d75a Added support for script subfolder organisation using haxe package syntax 2019-01-31 13:37:54 +01:00
luboslenco 58ceac834b Make shader variant when config is enabled 2019-01-27 18:56:04 +01:00