Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Hi all

lento
Registered User
Quote
2022-10-10 11:50:47

Hello everyone, with 8 years of delay I have arrived.

After having spent € 300 in Coppercube in the past years and never having done anything, I think the time has come.
Could someone explain the steps to follow to incorporate a new silly function of JavaScript in the C ++ code of the client?
Yesterday I finally managed to compile a 32Bits CC5 player, and I have decided to learn to extend it. I don't know a word of C ++, but I am a retired pascal programmer with 30 years of experience, I can learn quickly (I think)!

Thanks to all those who maintain this living project.
Greetings.


sven
Registered User
Quote
2022-10-10 12:15:11

My first function was SetMousePosition()

Simple function to add - took me 1 houer to understand how to add it.

How i learned to add it was just looking tru code and just experimenting.

Dont have computer nearby so cant give useful information right now.
But some tutorials with explainations would be nice to have - maybe just_in_case will make some ( if he havent already )


Chris
Guest
Quote
2022-11-01 01:14:57

Hi Sven,
can you describe your "SetMousePosition()" a little bit?
I'm also bought CC years ago and now getting into it :)

Thanks for sharing.
Chris


just_in_case
Moderator
Quote
2022-11-01 15:36:15

Hi there, I am not sure How @sven did the SetMousePosition() command but I also did the same command and it will be going to be in the next update of CC.

you can use the getCursorControl() C++ command to set or get the mouse Positions in the source.

I recommend you guys to check out the irrlicht forums instead of CC forums to learn more about the C++ part and tutorials for the source code.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (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