Comments (5)
From what I understand, there are 3 reasons why an error might occur in building an example in background mode:
-
If the Blend file is old and is no longer compatible with the current version of Armory. For example the vr_dino in this case. These examples must be ignored for build if not fixable.
-
The blend file has logic nodes that did not / cannot auto-update to the newest version(faulty node-replacement). These can be fixed manually by simple replacing the respective logic nodes in each blend file.
-
The example has a canvas or traits and the working directory is wrong. A part of this PR: #2 was to fix this issue by changing the current working directory CWD before building the example (Changes made to the project.hx file). This solved most of my compilation issues with examples and is quite important.
from armory_examples_browser.
Hello.
The mentioned Animation
& Pause Trait
examples all work for me.
I believe you forgot to click into your browser window to enable input checking. 🙂
Else input checking is disabled by default.
A few of the examples are known to be broken and are being fixed behind-the-scenes I believe.
If you would like to still double-check, feel free to state the ones you still believe to be broken so that others can verify.
Thanks.
from armory_examples_browser.
I installed the examples using this process and over the 130 available examples 51 of them
do not compile correctly with a correct html5 output.
In those cases the "kha.js" that should be produced along with the other files is missing.
When testing the index.html all you will get is a white screen.
I listed below the examples that do no compile correctly and need review when using this process.
- animation_bonechild
- animation_movebone
- archery
- call_hx
- call_js
- debug_draw
- ease
- first_person
- game_bowling
- graphics_settings
- input_multitouch
- input_sensor
- linked_proxy
- logic_event_fromhaxe
- logic_gamepad
- macro_armpack
- material_params
- material_shaders
- mesh_generate
- mesh_import
- platformer
- playground
- race_track
- raycast_objects
- render_splitscreen
- render_to_texture
- screentex
- script_camera_lerp
- script_linkedgroup
- script_properties
- script_properties_global
- script_rigidbody_trigger
- script_spawnobject
- script_transform
- server_stream
- sound
- spawn_from_scene
- tanks_networking
- tanks_script
- third_person
- third_person_terrain
- tilesheet
- tilesheet_2d
- top_down
- twin_stick
- ui_canvas
- ui_script2d
- ui_script3d
- vr_dino
- wasm_call
- world_sun_direction
from armory_examples_browser.
Hi, what OS, Armory version and examples version have you been using? I used Manjaro, Amory3D 22/05 and a fresh git clone of the examples. I tried a few of the above mentioned examples and had no such troubles as kha.js not generated for browser target.
from armory_examples_browser.
Most of these fail only in blender background mode.
You can build in non-background mode by changing the argument passed to Project.buildGroup
in the hxml files.
armory_examples_browser/src/Project.hx
Line 17 in 00e8006
from armory_examples_browser.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armory_examples_browser.