Jump to content
Search Community

Dinkyfish

Members
  • Posts

    5
  • Joined

  • Last visited

Dinkyfish's Achievements

0

Reputation

  1. Hello, just wondering if there was a quick and easy way to tween an object in a circular path? I'm currently using TweenLite, although it shouldn't be too much of a hassle to switch to TweenMax if necessary. I need to be able to set the diameter of the circle, as well as whether the object is travelling clockwise/anti-clockwise. Thanks in advance for any help!
  2. Ah yes I can see how that would work, thank you! I think I'd also need to introduce some sort of check to see whether the object was going to pass through the blocked area at all or not... I'll have a good look into getting this up and running but with the amount of time I've got left I think it's going to have to be one of those 'would have been nice' ideas Cheers.
  3. Hello everyone, I've got the feeling that doing something like this will be a bit beyond my humble capabilities but I was wondering if it was possible to set and object so that it would tween from point A to point B going around another object? I'm working in AS3, using Flash CS4. Basically I'm building a game with objects that can be controlled by the user. The objects are moved by clicking once on them to select them, then clicking somewhere else on the screen to send them there. There is, however, a 'blocked' area (circular in shape) in the centre of the screen that the object should not be able to enter. Ideally I'd like to be able to code my program so that if, for example, the user tries to send their object from the top left corner of the screen to the bottom right it will move there but travel around (not through) the blocked area. At the present moment in time I have it set so that if the object moves into the blocked area it will stop moving forwards and reverse a little until it is out of the area. Is this possible? More importantly, will it be very difficult (I expect it will) as I'm running a little short on time! Cheers for any help you can provide
  4. That will do nicely thank you very much
  5. Hi there, sorry to bother you guys with this, I know it's probably a really basic problem but I'm new to TweenLite (and Flash in general) and can't find any tutorials beyond the 'getting started' one on the main page. I was just wondering how I would use Tweenlite to create a 'flashing' effect on a display object - I simply want its alpha value to go from 0 to about 0.7, then back to 0 again in a short space of time. I can use Tweenlite.to to make it fade in, but am unsure as to how I would get it to fade out again immediately after. I am aware there is an onComplete function, could I use this? If so then how? Any help here would be great, I'm sure you guys could do this in two seconds lol
×
×
  • Create New...