Giter Club home page Giter Club logo

armory2d's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

armory2d's Issues

Button hit judgment

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.

Anchor system and UI disappeared?

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.

Assets: cannot drag&drop fonts

Win10:
Switching to "Assets" tab. Try to drag and drop a .ttf or .otf font to the drag and drop area. Nothing will happen.

Canvas Editor not Working on mac

When I open the Canvas editor it shows this
Screen Shot 2020-11-27 at 1 41 39 PM
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

Screen Shot 2020-11-29 at 10 40 21 AM

Is it possible to use ECharts or D3 library?

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~

Could we have a place to talk about implementations related to armorUI ? Like a #Freenode

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,

Crash when pressing remove on empty canvas

The error in visual studio can be seen here:
image

Steps to reproduce:

  1. Start the app built natively
  2. Press the remove button under the tree panel when the canvas is empty
  3. Notice the crash

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.

Can not start the application; Tells me Unknown exception error(built from source windows 10)

Windows 10

Haxe Compiler 3.4.7

node v10.2.1

vs2017( v15.7.1

The Compilation_output.txt

Here is console output while executing:

'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).

Can´t clone repo submodule

git submodule foreach --recursive git pull origin master
Entering 'Kha'
From https://github.com/armory3d/Kha

  • branch master -> FETCH_HEAD
    hint: You have divergent branches and need to specify how to reconcile them.
    hint: You can do so by running one of the following commands sometime before
    hint: your next pull:
    hint:
    hint: git config pull.rebase false # merge
    hint: git config pull.rebase true # rebase
    hint: git config pull.ff only # fast-forward only
    hint:
    hint: You can replace "git config" with "git config --global" to set a default
    hint: preference for all repositories. You can also pass --rebase, --no-rebase,
    hint: or --ff-only on the command line to override the configured default per
    hint: invocation.
    fatal: Need to specify how to reconcile divergent branches.
    fatal: run_command returned non-zero status for Kha

How can i make it work?

[HTML5] Uncaught ReferenceError: require is not defined

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.

When expanding the app window a crash occurs

The error in visual studio can be seen here:
image

Steps to reproduce:

  1. Start the app built natively

  2. 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 :
    image

  3. 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)

[BUG] Color sliders cannot equal 1.0 if other color slider is already that value

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. Open an Armory Canvas in the Armory2D Editor.
  2. Select an element that supports color.
  3. Enter 1.0 for one of the R.G.B color sliders.
  4. Then attempt to set any of the other color slides to equal 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.

image

Special thanks to @ knowledgenude for confirming the issue too.


Issue possibly related to: armory3d/zui#159

Anchors broken

Ensure centering an element using anchor works properly.

Textboxes Cannot Be Typed In on Linux

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.

Animations and timeline

I am starting to add animation for canvas elements, I am adding something like this:
Screen Shot 2019-09-30 at 5 29 45 PM

@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.

"_" (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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.