Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello everyone, I am trying to offset an object with an action I did. but he simply jumps from where he should go. I didn't do a behavior so I didn't use the "onAnimate" prototype. but an action would like a tip on how to smoothly move the object from point A to point B. The code I used was this:
The scene is this: When the player approaches him He changes his animation, and goes in the direction of the player. but it simply jumps to the location of the player I want to move in a vector like behavior that has coppercube itself. Else I used javascritp's native function and the editor as undeclared function! We don't have access to javascript api? if anyone helps or gives a tip thanks. |
||||
|
A tween plugin already in coppercube...I believe that it is default |
||||
|
Yes, I took the behavior and created an action for the dangers that may stalk or steal, I'm almost done. I expressed myself bad I did not want a behavior but an action. and there is no ccb, so between how the behavior and how to do an action like this Thanks for answering. |
||||
|
Maybe register_on_frame_event can help you. OnAnimate and register_on_frame_event is something similar which run your code when the frame is changed or you can say every few seconds. |
||||
|
Yes, I'm using it. thanks good tip. ! just_in_casa. I'm having problems with the game I'm making ... on android sometimes the character texture appears on the water shader. when the texture does not appear out of nowhere in the scenery simply the screen turns blue sometimes yes and sometimes no! I will put the text memsl in bugs .. I believe this happens because of an error in loading the game's assets or texture or the way it loads or the way it is compiled the game does it well I don't know. I will try to compress with plugin if after disssocontinua I'm being forced to look outea engine the problem is that I like coppercube. |
|