Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Action 2DOverlay

pmax
Registered User
Quote
2014-07-16 08:19:41

I created this script to edit an object 2doverlay in action (during the click of the mouse, while the push of a button, etc ...).
https://dl.dropboxusercontent.co...

link video tutorial : http://youtu.be/kGOfR0yEAqY


bob
Guest
Quote
2014-07-16 09:41:38

Hi, thanks, very usefull script!


crusly
Registered User
Quote
2014-07-16 11:05:44

yeah!... good one!... Thanks!


niko
Moderator
Quote
2014-07-16 12:08:15

Nice work! Do you want it on the download page? :)


pmax
Registered User
Quote
2014-07-17 07:40:14

Thank you all.
Niko ok, well enter the download page.
so then I edit the description on youtube and I post the link again.


pmax
Registered User
Quote
2014-07-17 08:50:37

I did an upgrade, I added the ability to enlarge the font and style.

I added two entries SizeFont "from the name you understand what it does!" and StyleFont.

StyleFont : 1 set to Normal.
set to 2 Italic.
set to 3 Normal Bold.
set at 4 Bold Italic.

https://dl.dropboxusercontent.co...


niko
Moderator
Quote
2014-07-18 05:22:53

Cool :)


levinemartin63
Registered User
Quote
2014-07-18 08:16:37

wouldn't these be the attribute names (from CopperCUbe attributes of 2DOverlay):

Point Size
Face Name
Style
Weight

is there any documentation for:

ccbSetSceneNodeProperty(this.ToNode2DOverlay,'Font',this.SizeFont + ';Default;Arial;'+ type + ';' + style +';False');

for me style and font did not work place sometimes the colors worked and sometimes not.

Good Idea though would be very useful


pmax
Registered User
Quote
2014-07-18 09:01:45

I corrected the oversights and added a new item "Alignment", aligns the text.

Alignment: 1 = top left
2 = center
3 = multiline


link: https://dl.dropboxusercontent.co...


pmax
Registered User
Quote
2014-07-18 09:16:48

Hi levinemartin63.
Sorry my english is bad use Google to translate.
The problem I've encountered about my script?
if I can describe the problem better?
Thank you and sorry for my english.


misterpaint
Registered User
Quote
2014-07-18 16:09:09

great!! Grandioso Pmax! Grazie di cuore :D รจ fantastico!


gree
Registered User
Quote
2022-12-16 14:58:32

uhh.. 2014! Can't believe it's not already included.
Nevermind; does anyone got this mod available?
Would be awesome - thanks.


gree
Registered User
Quote
2022-12-16 15:02:17

ahhh.. it's included :)

Does anyone know how to extend these alignments?
"Vertical-Center + Horizontal-Left"
Multiline-CenterV-Left-H... etc


Create reply:


Posted by: (you are not logged in)


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