armory3d / armory2d Goto Github PK
View Code? Open in Web Editor NEW2D Editor
License: zlib License
2D Editor
License: zlib License
Can get or set the value of the progress bar, but the display does not change.
blender2.8
armory git version
linux mint
Even if the button height is changed, the hit judgment is not changed. If the button height is increased from the default of 44 to 88, only the upper half is judged.
1:
What exactly does the anchor system do? I’ve looked at UI examples and enabled different anchor options ,but I can’t tell that it does anything at all.
2:
I had the UI completely disappear and had to close Armorui. Not sure what I was doing at the time and I tried to get it to do it again ,but couldn’t. I know I had added a “text”, deleted it, and then when I clicked to add “button” it happened.
3:
Scaling/ moving with mouse the response time seems slow.
Win10:
Switching to "Assets" tab. Try to drag and drop a .ttf or .otf font to the drag and drop area. Nothing will happen.
When I open the Canvas editor it shows this
I used the precompiled version included in the armorySDK folder and I compiled it myself.
In the console it outputs
GL Error 1282 /Users/lubos/Downloads/armorcore/Kinc/Backends/Graphics4/OpenGL/Sources/Kore/PipelineStateImpl.c
209
I think this is where the error is reporting from
Hello everyone, i want to known that if it's possible to use ECharts or D3 library in armory2d, or how can i use it? If not, is there something here like 'display an external web page in a html frame element'. thanks~
Hi,
Basically I have been merging a lot of your work lately because I am developing in parallel and adding a couple of things(actually implemented a version of parenting but I prefer your implementation and have a working text area and a new ElementGroup element) and just wanted to know if there could be a communication channel in which you could express the things you want to be done and your preference on implementation( for example to stay away from certain things that we can do in haxe that are not static friendly). I will make a pull request for the things I changed but its quite big and I guess you would probably prefer small pull requests ?.
Good day,
The error in visual studio can be seen here:
Steps to reproduce:
When using a html5 build, the crash does not occur. You only see a visual glitch and after the app is still usable without clear indication that something as gone wrong.
Windows 10
Haxe Compiler 3.4.7
node v10.2.1
vs2017( v15.7.1
'ArmorUI.exe' (Win32): Loaded 'C:\armorui\build\windows-build\x64\Release\ArmorUI.exe'. Symbols loaded.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\dinput8.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Unloaded 'C:\Windows\System32\gdi32full.dll'
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
Initializing Haxe libraries
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\InputHost.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Unloaded 'C:\Windows\System32\WinTypes.dll'
Starting Kore
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\XInput1_4.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\hid.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_2a800e6ebddb7f48\nvldumdx.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\imagehlp.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_2a800e6ebddb7f48\nvwgf2umx.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Program Files\NVIDIA Corporation\Ansel\Tools\NvCameraWhitelisting64.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Unloaded 'C:\Program Files\NVIDIA Corporation\Ansel\Tools\NvCameraWhitelisting64.dll'
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\nvspcap64.dll'. Cannot find or open the PDB file.
The thread 0x3210 has exited with code 0 (0x0).
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\AudioSes.dll'. Cannot find or open the PDB file.
'ArmorUI.exe' (Win32): Loaded 'C:\Windows\System32\avrt.dll'. Cannot find or open the PDB file.
Falling back to the system's preferred mix format.
Could not open file prefs.json.
Exception thrown at 0x00007FFB40274008 in ArmorUI.exe: Microsoft C++ exception: Dynamic at memory location 0x0000003010CFF450.
The thread 0x1528 has exited with code 0 (0x0).
The thread 0x2704 has exited with code 1 (0x1).
The thread 0x36f4 has exited with code 1 (0x1).
The thread 0x2fd0 has exited with code 1 (0x1).
The thread 0x32f8 has exited with code 1 (0x1).
The thread 0x302c has exited with code 1 (0x1).
The thread 0x211c has exited with code 1 (0x1).
The thread 0x25c has exited with code 1 (0x1).
The thread 0x2734 has exited with code 1 (0x1).
The thread 0x1ff8 has exited with code 1 (0x1).
The thread 0x1c10 has exited with code 1 (0x1).
The thread 0x3144 has exited with code 1 (0x1).
The thread 0x236c has exited with code 1 (0x1).
The thread 0x52c has exited with code 1 (0x1).
The thread 0x283c has exited with code 1 (0x1).
The thread 0x35f0 has exited with code 1 (0x1).
The program '[13944] ArmorUI.exe' has exited with code 1 (0x1).
git submodule foreach --recursive git pull origin master
Entering 'Kha'
From https://github.com/armory3d/Kha
How can i make it work?
Due to security-related changes of newer electron versions used by Kha for the html5 target, require()
is no longer available by default. This will lead to errors in Assets.html5WriteFile()
as well as zui.Ext.fileBrowser()
when running Armory2D from within VSCode.
I don't know a good way around this. Robert mentioned on the Kha discord (see this) that you can make require()
available again by exposing it in Kha's preload.js
, however that would require a change in Kha or every user would have to do that themselves. There also seems to be a way to turn off this security measure, but I couldn't find out how.
The error in visual studio can be seen here:
Steps to reproduce:
Start the app built natively
Try to expand to full windowed screen by clicking the expand window button. Or by clicking alt-enter to put the app in full-screen mode. You can also try to just resize the window by clicking and dragging on the side of the window. Try to resize the canvas under the Canvas panel also creates this issue :
Notice the crash.
When using a html5 build the resizing the of canvas with the canvas properties doesn't cause a crash. Though, the canvas/window always remains to its default/initial size values even if the canvas properties are modified. The values at the bottom of the app representing the canvas size update but the window itself does not resize. (Tested in firefox)
Disclaimer: I'm not sure if this issue is actually caused by Armory2D or Armory UI, so feel free to move this issue to that repository if need be.
How to reproduce the issue:
1.0
for one of the R.G.B color sliders.1.0
too, either by click-dragging the slider or by manually inputting the value.The expected buggy behavior is that any other colors cannot equal 1.0
if there is at least 1 other color slider value already set to that value.
The alpha slider works fine though.
Special thanks to @ knowledgenude for confirming the issue too.
Issue possibly related to: armory3d/zui#159
Ensure centering an element using anchor works properly.
@luboslenco can you add Armory2d build instructions? And btw should I add build for metal too or no need?
I am trying to use Armory2D on Linux and I am unable to type into text boxes. Interestingly I can backspace if there is already text in the textbox, but I can't type any new characters into it. This might actually be an issue with Zui now that I think of it.
I am starting to add animation for canvas elements, I am adding something like this:
@luboslenco Should i use other existing tweening library for this? or should I create small one?
keep this open, till I implement it
"_" (Underbar) cannot be entered when entering an element name and event name.When using code that uses an element name or event name with an underscore, the code must be corrected.
When trying to change Buttons, input textbox, single-lined textbox 's color through color wheel and darkness, it doesn't change and stay to it default value, though it work for Shape element.
Win 10:
In Armory2d switch to "Assets" tab in top right corner. Press "Import Asset". Armory2d will crash.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.