From 9d05fc4b6fcf02e3cc89fe5c98b675b065d836ad Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Wed, 1 May 2024 17:25:46 +0200 Subject: [PATCH] commented out testing games and anim --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 5af902d..24e4213 100644 --- a/index.html +++ b/index.html @@ -27,8 +27,9 @@ AFRAME.registerComponent('startfunctions', { addGames() // example of adding a game programmatically + /* let newEl = document.createElement('a-entity') - //let gamename = "checkers" + let gamename = "checkers" let gamename = "carcassone" newEl.id = gamename newEl.setAttribute(gamename, "") @@ -39,6 +40,7 @@ AFRAME.registerComponent('startfunctions', { let biggu = document.querySelector("#biggu") biggu.setAttribute("animation__translation", "property: position; to: 0 0 0.5; dur: 10000;") biggu.setAttribute("animation__waddle", "property: rotation; from: 0 -20 -10; to: 0 20 10; dur: 1000; loop:true; easing: linear; dir:alternate;") + */ } })