Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - DJVDJV

Pages: [1]
DOTween & DOTween Pro / Major problem with DOMove in certain machine
« on: April 26, 2016, 09:56:13 PM »

I have problem with:  transform.DOMove-function.

It works smooth on 90% of machine setup but in:
core i7-3770 jm gtx960m, 32gb RAM

All goes wrong. No smooth movement and lags and like in videos:

This work OK even worser machine setup.. What might cause this?

In real game movent are real smoot.

PS: Got most recent build of DOTween

DOTween & DOTween Pro / Swing tween
« on: August 19, 2015, 05:57:30 PM »

I want to do tween that:

Rotates object clockwise +10 decree then swings back un clockwise -20 decree then swing back to clockwise +10 decree.
Like make object swing... just one swing not infinite.

a) How to do this?
b) How to do this if I want swing infinite?

DOTween & DOTween Pro / DOJump problem in 2D
« on: August 11, 2015, 12:08:54 AM »
I have some problems in DoJump.

As in picture problem.jpg (Attachment) I would like to "jump" my object in "green route" from red square to blue square (Tilebased game, with kinematic objects no physics)

Anyways object seems to always jump as "purple route" to zero y.. It jumps to zero y even I am in for example coordinates 100,100... X-axis seems work well.

I use:
float jumpPower = 1f;

transform.DOJump(end, jumpPower, 1, 0.25f);

If I chance jumpPower to 0.1f or 100f object still jumps to zero y.

I have also tried DOLocalJump().. same problem there.

Any idea what is wrong?

DOTween & DOTween Pro / Some tweening help needed.
« on: August 10, 2015, 07:52:28 PM »
I use moving from place "start" to place "end" this kind:
transform.DOMove(end, 1); .. and it is ok.

1 st question:

Now I need tween that moves transform half way to "end" and then back to "start" (in 1 sec) (I use it as attack movement in tile based game)
How I do it DOTween?

2 st question:

I need tween cannonball as "bow" from "start" to "end" this: transform.DOMove(end, 1); do straight line. (Something that birds fly in Angry Birds or cannon ball in tank games)
How to do it in DOTween?

3 rd question:

I need tween boolean value that is set to true.. but is set to false after 2.5 sec.. How to doit wit DOTween?

DOTween & DOTween Pro / Pulsing effect on transform
« on: June 24, 2015, 08:31:33 AM »

Just bought DOTweener so I am pretty new with it.

I would like to do pulsing effect to my gameobject when mouse over.

Like it to scale up to 3x from it original size then back to normal size... and continue this as long I got mouse is over.

How i should do it?

something like this:

void OnMouseEnter()   
   transform.DOScale(3, 1);
   // What I should do here?

void OnMouseExit()
 // Should I do something here?

Pages: [1]