# Latest

**URL:** https://talk.code3dgames.com/latest.md?page=3

[Latest](https://talk.code3dgames.com/latest.md) · [Categories](https://talk.code3dgames.com/categories.md)

**Page:** 4

---

## [Question about code in chapter 3 of the second edition](https://talk.code3dgames.com/t/question-about-code-in-chapter-3-of-the-second-edition/155)

<div class="topic-metadata">

**Author:** [@Anthony48](https://talk.code3dgames.com/u/Anthony48)\
**Replies:** 3\
**Last updated:** [September 16, 2019, 4:07pm UTC](https://talk.code3dgames.com/t/question-about-code-in-chapter-3-of-the-second-edition/155 "2019-09-16T16:07:08Z")

</div>

On page 33 of the second edition, I typed all the code for the avatar but nothing came up when I clicked on hide code. Here is the code I typed after START CODING ON THE NEXT LINE: var body = new THREE.SphereGeometry(1…

---

## [I can't seem to get my avatar to move](https://talk.code3dgames.com/t/i-cant-seem-to-get-my-avatar-to-move/150)

<div class="topic-metadata">

**Author:** [@cannotfixit](https://talk.code3dgames.com/u/cannotfixit)\
**Replies:** 1\
**Last updated:** [August 10, 2019, 5:10pm UTC](https://talk.code3dgames.com/t/i-cant-seem-to-get-my-avatar-to-move/150 "2019-08-10T17:10:27Z")

</div>

Hi, I’ve started to code and I think it’s something wrong with my code because my avatar doesent move when I press the Arrow keys. Here’s my code: Any help would make my ambitious come back. :smile:

---

## [Trying to figure this out, please help i've cried many times now](https://talk.code3dgames.com/t/trying-to-figure-this-out-please-help-ive-cried-many-times-now/146)

<div class="topic-metadata">

**Author:** [@Bryce\_OneUpGames](https://talk.code3dgames.com/u/Bryce_OneUpGames)\
**Replies:** 4\
**Last updated:** [August 6, 2019, 4:11pm UTC](https://talk.code3dgames.com/t/trying-to-figure-this-out-please-help-ive-cried-many-times-now/146 "2019-08-06T16:11:07Z")

</div>

I’m trying to create a sort-of exploring game, my last post was about random trees. I am now trying to make them with boundaries, and this code has made me rage and cry and throw stuff. Please help me! \`// There is a pr…

---

## [Trying to create Random Trees](https://talk.code3dgames.com/t/trying-to-create-random-trees/143)

<div class="topic-metadata">

**Author:** [@Bryce\_OneUpGames](https://talk.code3dgames.com/u/Bryce_OneUpGames)\
**Replies:** 3\
**Last updated:** [July 24, 2019, 5:43pm UTC](https://talk.code3dgames.com/t/trying-to-create-random-trees/143 "2019-07-24T17:43:21Z")

</div>

I am trying to make random trees. Here is my code so far: \`var shape = new THREE.SphereGeometry(100); var cover = new THREE.MeshBasicMaterial({color: ‘forestgreen’}); var ball = new THREE.Mesh(shape, cover) ball.posit…

---

## [Question about code offline](https://talk.code3dgames.com/t/question-about-code-offline/137)

<div class="topic-metadata">

**Author:** [@HNBremen](https://talk.code3dgames.com/u/HNBremen)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 5:11pm UTC](https://talk.code3dgames.com/t/question-about-code-offline/137 "2019-06-03T17:11:03Z")

</div>

Hallo, I started the first three chapters on my ipad. But I am not allways online. I would like to know: how can I work offline? After beeing offline I did not find the code I saved before.

---

## [Animation Questions](https://talk.code3dgames.com/t/animation-questions/106)

<div class="topic-metadata">

**Author:** [@J\_Bird50](https://talk.code3dgames.com/u/J_Bird50)\
**Replies:** 8\
**Last updated:** [December 28, 2018, 12:43pm UTC](https://talk.code3dgames.com/t/animation-questions/106 "2018-12-28T12:43:41Z")

</div>

Hello Chris, I was working in Chapter 1 and 3 and I noticed something: every time I try to do anything with motion or animating, everything where the shapes are supposed to be just goes white. I don’t know what to do! …

---

## [Editor crashes each time after donut error](https://talk.code3dgames.com/t/editor-crashes-each-time-after-donut-error/95)

<div class="topic-metadata">

**Author:** [@iondeclev](https://talk.code3dgames.com/u/iondeclev)\
**Replies:** 1\
**Last updated:** [November 19, 2018, 4:54am UTC](https://talk.code3dgames.com/t/editor-crashes-each-time-after-donut-error/95 "2018-11-19T04:54:49Z")

</div>

My son changed the TorusGeometry last parameter to a number with many zeroes :slight\_smile: The editor now crashes everytime it loads and cannot get to the part where I can reverse the change. Any way to load the page …

---

## [Cannot create First Project](https://talk.code3dgames.com/t/cannot-create-first-project/46)

<div class="topic-metadata">

**Author:** [@Teddy](https://talk.code3dgames.com/u/Teddy)\
**Replies:** 6\
**Last updated:** [November 5, 2018, 12:08am UTC](https://talk.code3dgames.com/t/cannot-create-first-project/46 "2018-11-05T00:08:44Z")

</div>

I am working on the exercise on pages 2 and 3. I tried on my Dad’s old macbook on Chrome (Yosemite) and when I finish typing the code, the ball does not show up :frowning: So I tried on my Dad’s iMac on Chrome, and this…

---

## [How to open 3DE Code Editor](https://talk.code3dgames.com/t/how-to-open-3de-code-editor/86)

<div class="topic-metadata">

**Author:** [@Lily](https://talk.code3dgames.com/u/Lily)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 10:41am UTC](https://talk.code3dgames.com/t/how-to-open-3de-code-editor/86 "2018-10-24T10:41:24Z")

</div>

I am a beginner of 3D game programming. Could anybody tell me how to open 3DE Code Editor from chrome. Thanks

---

## [Chapter 15: Tilt-a-Board, not working from the beginning](https://talk.code3dgames.com/t/chapter-15-tilt-a-board-not-working-from-the-beginning/81)

<div class="topic-metadata">

**Author:** [@JAnne](https://talk.code3dgames.com/u/JAnne)\
**Replies:** 5\
**Last updated:** [October 21, 2018, 1:40am UTC](https://talk.code3dgames.com/t/chapter-15-tilt-a-board-not-working-from-the-beginning/81 "2018-10-21T01:40:04Z")

</div>

I started Chapter 15 by opening a new project with physics, and started adding the code in the chapter, but I never get any graphics even just with the ball added. The errors in the console don’t make any sense either –…

---

## [code won't stay hidden](https://talk.code3dgames.com/t/code-wont-stay-hidden/71)

<div class="topic-metadata">

**Author:** [@aquantumofgravitas](https://talk.code3dgames.com/u/aquantumofgravitas)\
**Replies:** 6\
**Last updated:** [October 9, 2018, 3:48pm UTC](https://talk.code3dgames.com/t/code-wont-stay-hidden/71 "2018-10-09T15:48:20Z")

</div>

I’m trying to move the avatar and so I hide my code, but it reappears as soon as I press any key.

---

## [change the background color of the 3DE sandbox?](https://talk.code3dgames.com/t/change-the-background-color-of-the-3de-sandbox/67)

<div class="topic-metadata">

**Author:** [@aquantumofgravitas](https://talk.code3dgames.com/u/aquantumofgravitas)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 1:25pm UTC](https://talk.code3dgames.com/t/change-the-background-color-of-the-3de-sandbox/67 "2018-09-11T13:25:18Z")

</div>

Hi, how do I change the background color of the 3DE sandbox? Black text on a dark grey background hurts my eyes.

---

## [computer keys on Android](https://talk.code3dgames.com/t/computer-keys-on-android/63)

<div class="topic-metadata">

**Author:** [@Clinton7](https://talk.code3dgames.com/u/Clinton7)\
**Replies:** 3\
**Last updated:** [September 6, 2018, 3:32pm UTC](https://talk.code3dgames.com/t/computer-keys-on-android/63 "2018-09-06T15:32:58Z")

</div>

The code says I should type arrowright to move the avatar in the fruit hunt project but since I am using android I don’t know what I should do at this point so will it be possible to move the avatar with another cpde

---

## [Does coding work on android](https://talk.code3dgames.com/t/does-coding-work-on-android/60)

<div class="topic-metadata">

**Author:** [@Clinton7](https://talk.code3dgames.com/u/Clinton7)\
**Replies:** 1\
**Last updated:** [September 4, 2018, 5:11pm UTC](https://talk.code3dgames.com/t/does-coding-work-on-android/60 "2018-09-04T17:11:25Z")

</div>

I tried coding on android, it worked but when I want to hide my code and look at my avatar it doesn’t show. If you can help me I will be very grateful

---

## [Question about code in chapter 6 Clock ](https://talk.code3dgames.com/t/question-about-code-in-chapter-6-clock/52)

<div class="topic-metadata">

**Author:** [@JAnne](https://talk.code3dgames.com/u/JAnne)\
**Replies:** 2\
**Last updated:** [August 28, 2018, 11:41am UTC](https://talk.code3dgames.com/t/question-about-code-in-chapter-6-clock/52 "2018-08-28T11:41:26Z")

</div>

I’m trying to add the 3D clock on page 70, but when I put in clock, animate, and walk, I get an error: Uncaught TypeError: Cannot read property ‘getElapsedTime’ of undefined at walk (code.html:92) at animate (code.htm…

---

## [Problem with Clock in Chapter 6](https://talk.code3dgames.com/t/problem-with-clock-in-chapter-6/51)

<div class="topic-metadata">

**Author:** [@JAnne](https://talk.code3dgames.com/u/JAnne)\
**Replies:** 1\
**Last updated:** [August 27, 2018, 6:43pm UTC](https://talk.code3dgames.com/t/problem-with-clock-in-chapter-6/51 "2018-08-27T18:43:28Z")

</div>

When I add the Clock object to the program on page 70 of the second edition, I get an error message that I can’t figure out: var clock = new THREE.Clock(); var isCartwheeling = false; var isFlipping = false;…

---

## [Infinite loop saved](https://talk.code3dgames.com/t/infinite-loop-saved/39)

<div class="topic-metadata">

**Author:** [@bluejade](https://talk.code3dgames.com/u/bluejade)\
**Replies:** 3\
**Last updated:** [August 9, 2018, 3:25pm UTC](https://talk.code3dgames.com/t/infinite-loop-saved/39 "2018-08-09T15:25:37Z")

</div>

Hello! While typing in a “for” loop, the browser became frozen, preventing me from typing. The trouble is that whenever I refresh the page, the code automatically loads and freezes the browser again. How can I get out o…

---

## [My shaking tree code is truncating the tops ](https://talk.code3dgames.com/t/my-shaking-tree-code-is-truncating-the-tops/29)

<div class="topic-metadata">

**Author:** [@tootling](https://talk.code3dgames.com/u/tootling)\
**Replies:** 7\
**Last updated:** [July 17, 2018, 3:59pm UTC](https://talk.code3dgames.com/t/my-shaking-tree-code-is-truncating-the-tops/29 "2018-07-17T15:59:41Z")

</div>

1)- The tops of the trees are removed instead of shaking for the duration. 2)- function shakeTreeUpdate(update) { var top = treeTops(treasureTreeNumber); top.position.x = 50 \* Math.sin(update.shake); } 3)- tween…

---

## [An update to 3DE](https://talk.code3dgames.com/t/an-update-to-3de/32)

<div class="topic-metadata">

**Author:** [@chris](https://talk.code3dgames.com/u/chris)\
**Replies:** 0\
**Last updated:** [July 17, 2018, 4:28am UTC](https://talk.code3dgames.com/t/an-update-to-3de/32 "2018-07-17T04:28:47Z")

</div>

If you see a message like this: That’s OK! It’s an update to 3DE to make it even better. You won’t lose any projects. In the update, pushed out on July 17, we added these features: Resizing the browser will automa…

---

## [where is the sounds.js file](https://talk.code3dgames.com/t/where-is-the-sounds-js-file/25)

<div class="topic-metadata">

**Author:** [@tootling](https://talk.code3dgames.com/u/tootling)\
**Replies:** 1\
**Last updated:** [June 26, 2018, 1:30am UTC](https://talk.code3dgames.com/t/where-is-the-sounds-js-file/25 "2018-06-26T01:30:41Z")

</div>

1)- Where can I get the source js files… sounds.js, scoreboard.js etc? 2)- Where does chrome save the files to? 3)- TWEEN.update() — Browser complains TWEEN is undefined, but the program runs just fine Thank you, D…

[Previous page](https://talk.code3dgames.com/latest.md?page=2)
