Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
you know what I think would be really cool?

spicymilk
Registered User
Quote
2023-05-29 06:15:28

It would be amazing if there was a specific tutorial on learning JavaScript for coppercube because sure there's allot of JavaScript learning videos out there but if you just know JavaScript you have to learn the api


Aiming_bullets
Guest
Quote
2023-05-29 08:18:22

if you know javascript then I think the API of Coppercube is pretty self explanatory.


sven
Registered User
Quote
2023-05-29 10:10:01

Coppercube have good scripting reference page with examples.. i came from Basic to javascript and had no problems to understand it.. so if you know a little javascript then you are good to go.


eoh
Guest
Quote
2023-05-29 13:15:55

i agree with both of you


Guest
Guest
Quote
2023-05-29 18:07:19

🔎︎





just_in_case
Moderator
Quote
2023-05-29 19:05:10

🔎︎



spicymilk
Registered User
Quote
2023-05-29 19:37:51

I mean more like explaining what everything on the page does I understand they have the descriptions on the page but idk allot of reading


Guest
Guest
Quote
2023-05-29 19:56:13

@JIC

@spicymilk

Reading is fundamental, friend. You can't escape it. If you have a question about code you can post it in the appropriate section of the forums ('Programming and Scripting') and we will gladly take a look. If I were just starting out with the API, I would make a scene where I use every single function to do something small. Nothing helps with learning more than doing. Tutorials are fine and all, but if you don't use it, you lose it.


sven
Registered User
Quote
2023-05-29 19:57:16

wrote:
I mean more like explaining what everything on the page does I understand they have the descriptions on the page but idk allot of reading


reading and writing is very important part of the life of the programmer..
i read alot and i write alot :D

You dont have to read whole thing.. just take commands you need..
take first most used command PRINT
then see what it does and how to use..

Now take another command..
GetSceneNodebyname and getscenenodeproperty
Use those two commands to print out position info /name / scale / rotation info..

then do keep exploreing..

Thats how you learn :D


sven
Registered User
Quote
2023-05-29 20:16:17

Guest wrote:
🔎︎




This is very relavant to me .


aloan
Registered User
Quote
2023-05-31 18:18:19

spicymilk wrote:
It would be amazing if there was a specific tutorial on learning JavaScript for coppercube because sure there's allot of JavaScript learning videos out there but if you just know JavaScript you have to learn the api


I get what you mean: something starting with the basics like a template with javascript.. for example.. I have a basic example of my own with my town sim... its needs are basic ones like:
Move a model (walk mode) to a position
bounce the movement so the model comes back to where it came from (+z then -z)
rotate a model when colliding with a sensor block
change model animations... (play, stop)...
It´s good to find a template and check around in their own JS scripts to see what each thing does, hoping to see comments on the code though


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact