Alex-Nguyen / BlocklyAR

2 stars 8 forks source link

<a-video> and <a-image> #1

Open micfio opened 2 years ago

micfio commented 2 years ago

Hello, is possible to add video and images entity blocks in order to display its ? Thanks in advances

Alex-Nguyen commented 2 years ago

Yes, as long as https://aframe.io/ supports it

micfio commented 2 years ago

https://aframe.io/docs/1.2.0/primitives/a-video.html https://aframe.io/docs/1.2.0/primitives/a-image.html

Can you add this primitives or tell me how i can do it myselfs ?

micfio commented 2 years ago

There is also this primitive: https://aframe.io/docs/1.2.0/primitives/a-text.html https://aframe.io/docs/1.2.0/primitives/a-plane.html and the product is complete Thanks in advances

micfio commented 2 years ago

add NFT image marker tracking. Thanks in advances

Alex-Nguyen commented 2 years ago

@micfio great! I hop to see your work soon

micfio commented 2 years ago

Added <a-image ... But the components position rotation and animation are not showhing in the code also withouth the modify. In attachment the source modified. Can you help me ? index - Copia.html.txt aframe_blocks - Copia.js.txt aframe_generators - Copia.js.txt

micfio commented 2 years ago

Add <a-video In attachement the version The components scale, rotation,position,animation are not recognized in the code. Can you help me ? Thanks in advances https://drive.google.com/file/d/161pA3l-yZ6nw2hLsTVDO7r22AUsHIFuU/view?usp=sharing

micfio commented 2 years ago

Add <a-text

micfio commented 2 years ago

Add <a-text