I'm making a game that uses the Z axis and I'm wondering if anyone has a 3D engine I can use. I'll make sure to credit you.
Does anyone have a 3D engine I can use?
VarrienceLvl 25
i don't really have a library but i do have a starter project if you plan to use webGL i made a demo project
https://studio.code.org/projects/gamelab/OPqP0gIuJ8yVAh4751oZXaFQHQsB1Ke5PlOeyVFiBLk/edit
FluffypoopoLvl 55
Brendan I'm working on a online pong game (Got the connecting to work but need to make it play
FluffypoopoLvl 55
I did the easy one now i need to do the hard one
FluffypoopoLvl 55
Anyone got any ideas to store mass amounts of data in gamelabs?
No not really.
I do have a pong game that I made that you can use for the base gameplay if you like.
https://studio.code.org/projects/gamelab/RBQeg--z_pgfuVLPZxdn8TBvuQ_n8r7Udy0sVYBtkQU
Just copy and paste the code so that it doesn't appear as a remix if you don't want it to.
ackvonhuelioLvl 41
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
FluffypoopoLvl 55
ackvonhuelio I don't have time could you make a basic one please
ackvonhuelioLvl 41
Fluffypoopo
wdym
basic what
ackvonhuelioLvl 41
Fluffypoopo
https://studio.code.org/projects/gamelab/kQvHjWXaASXUvc_YbNCY0UeFmpqRi1Slg6Jg8YaKsc8/view
heres an example of data saved through keyvalues
FluffypoopoLvl 55
- iPhone
ackvonhuelio I need to store like 7 things in one thing
ackvonhuelioLvl 41
- Edited
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
FluffypoopoLvl 55
ackvonhuelio I am going, to be honest, I have not been sleeping, so I'm %90 asleep
ackvonhuelioLvl 41
Fluffypoopo
hey, i'm not getting payed so i have no requirement to be interesting
INTERNECIONLvl 62
- Windows
I know I am late but
y'know what nevermind it seems you already have things covered here
FluffypoopoLvl 55
- iPhone
interesting message
INTERNECIONLvl 62
- Windows
What do you mean by that I was thinking about things outside of code.org. but I realized what site we are on
- Windows
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.