ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator Moving/setting the scale of a 2d overlay on an event
person icon
2d overlay guy
Guest
Quote
2023-07-10 01:41:12

so I wanted this 2d overlay to move when you walk or when you shoot for it to get bigger is there any way to do this I thought that the normal positioning thing would work but it didn't

person icon
Guest
Guest
Quote
2023-07-10 03:35:36

Yeah you can do it with some code. Try to learn the basics of JS if you haven't, because it really is easier if you do it that way. Anyone can code. If I can, anyone can. VP might see this post and give you his non-coder way to do it. My brain melts doing it that way so I'm not much help.

person icon
2d overlay guy
Guest
Quote
2023-07-10 03:43:27

I know a bit of javascript how would I do it with javascript?

person icon
Guest
Guest
Quote
2023-07-10 05:44:21

Send me a project with you printing "Hello World!" to CC's console. Note: you need to send me the ccb file. If you can't do this, then I know you are not serious about learning. I hate people who hate learning. Dig?

person icon
2d overlay guy
Guest
Quote
2023-07-10 06:03:29

I took javascript in high school but haven't used it since

https://1drv.ms/u/s!AuQLKai9PEBF...

person icon
2d overlay guy
Guest
Quote
2023-07-10 06:04:13

Just click and it should work

person icon
Guest
Guest
Quote
2023-07-10 18:42:54

Cool. Good job. What exactly do you mean when you say the cursor should get bigger when you shoot? I'll write a script later and send it to you.

person icon
2d overlay man
Guest
Quote
2023-07-11 00:08:46

I mean the actual gun model so that it’s a little less static, thanks

person icon
Guest
Guest
Quote
2023-07-11 01:52:16

Here's an example of how you might scale the gun to make it look like its firing:

https://files.catbox.moe/b1gu87....

So when you move you want the gun to move like in DOOM? I'll take a look at that tomorrow if that's what you want.

person icon
2d overlay guy
Guest
Quote
2023-07-11 03:46:17

Thanks i apprecciate it I'll try it out and let you know

person icon
2d overlay guy
Guest
Quote
2023-07-11 04:04:37

Yeah it works great I really appreciate it I think I like how it is right know I don’t want to much movement


Create reply:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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