• Question
  • Does anyone have a 3D engine I can use?

Brendan I'm working on a online pong game (Got the connecting to work but need to make it play

I did the easy one now i need to do the hard one

No not really.

Varrience
That is pretty cool. You should implement a way to navigate with the camera using the arrow keys to look around and wasd to move the camera.

Fluffypoopo
umm, arrays? a useful little thing is if you click the little triangle to the left of an array or function in non block mode and then it collapses the array so you don't have to scroll

    Fluffypoopo
    use an array then.
    In case you don't know how to do this:
    // define the array
    var x = [4, 10, true, 16, 21, 'hi', 85];
    // print 'hi' (arrays start with 0), x[0] returns the first item in the array, x[1] returns the second, x[2] the third, etc.
    console.log(x[5]); // x[5] is 'hi'
    // change 16 to 160
    x[3] = 160;
    // prints 160 instead of 16 because it was changed
    console.log(x[3]);
    // add 'wassup' to the end of the array
    x.push('wassup');
    // remove 21 from the array, 21 is 4 in the array
    x.splice(4,1); //dont worry about the 1
    // veeerrrryyyy important remember arrays start with 0

    thats it i think

      16 days later

      I know I am late but

      y'know what nevermind it seems you already have things covered here

      What do you mean by that I was thinking about things outside of code.org. but I realized what site we are on

      7 days later

      Brendan i learned that a sprite actually has a useless z variable
      i say useless becuase i messed around with it a little and it never did anything.

        Chat