ActionScript 3.0 :: Flash Fire/Flame Effect With Realistic Movement?
Feb 24, 2011Im creating a game, and I need to create a realistic flame or fire, like a torch, with fluid movement of thge flame and that moves in a natural way.
View 3 RepliesIm creating a game, and I need to create a realistic flame or fire, like a torch, with fluid movement of thge flame and that moves in a natural way.
View 3 Replieswhen i saw this website. I learn some techniques but i really love that fire effect. how to do that?Or any other program. The site:[URL]..
View 1 RepliesI found this on this site, and I want to do something similar. But before I use this candle effect I realized when you play the swf, there is like a horizontal line going across the flame towards the top.
View 2 RepliesI'm making a game that involves spaceships following waypoints. Rather than making them move straight to a waypoint,turning, and then moving straight to the next one, it'd be nice to have them follow some sort of bezier curve/path along all of the waypoints.
View 4 RepliesI'm attempting to recreate the old game Asteroids, just as a little project for myself (no angry clients waiting ). I'm controlling the triangle by using KeyboardEvents but while holding down the shoot button (Space Bar) I am unable to go forward and turn left, however I have no problems going forward and turning right at the same time It feels as though the keys are becoming "sticky".
View 5 Replieshere is some of my code:
// 30 fps
var humans = 30;
var hSpeed = 4;
[code].....
Here is my pool game engine done in Box2dFlash.I would like to make this simulation more realistic as I received mixed opinion from pool experts.Here is my standard wall setting:
var leftWall = _sim.addBox({x:0.9, y:8.15, width: 0.6, height: 11.5, density: 0, fillAlpha: wallAlpha, lineAlpha: wallAlpha});
And of the ball:
_solidBall_7 = _sim.addCircle({x:ballPosX - (ballRadius * 5) - 0.8, y:ballPosY, radius:ballRadius, density: 0.1, linearDamping: 1, isBullet: true, restitution: 0.7, angularDamping: 5, skin: Solid_Bordo});
What other params I might try to improve the realistic movement of the pool game?
The look I am going for is a set of doors that will open to reveal the website, the animation part will give it the look like the doors are opening and then it will go to the site. So two questions.
1) What is the best way to give a realistic door opening effect?
2) How can I make it go to the website once the door opening effect is complete?
When someone "click and holds" I want to fire off function over and over, say, once every 100ms while the mouse is clicked. Instead of MouseEvent.CLICK I would look for MouseEvent.MOUSE_DOWN and then start a timer on that event function that calls another function every 100ms. Then, on MouseEvent.MOUSE_UP I would stop the timer. Am I on the right track? Will I be able to get updated X and Y coordinates while the mousedown event is firing?
View 3 RepliesI was wondering if anyone could show me how to achieve the effect on this site:asically, the script for how to make the mouse position effect the position on the movieclips.
View 4 RepliesI have been trying to find a way to make an object that is being dragged keep the speed and angle of the dragging movement, I have been trying some physics libraries but I want to know the basics to create that effect,
View 3 RepliesI am trying to incorporate the same effect as this. How is it done? Thank you~
View 3 RepliesI made a horizontal scroll bar using kirupa file for a vertical one, but i need to add an ease effect on the movement of the movieclip. The code i use follows.
[Code].....
How do I do a scale movement using the easy effect? I study a lot of examples, using speed/5, but... didn't work. I just saw a site that tells what do I want to do: [URL]
View 2 RepliesI'm creating a game like a paper plane movement. The movement should start with the drag and throw effect . With the drag and throw speed, the paper plane must fly through the scene with a glide movement. I got confused with its physics.
View 3 RepliesI was actually trying to create an easing effect that bases on the movement of the mouse, very similar to:[URL]how i could actually write an actionscript to create this "esaing" ability...I have actually attached my own file for your convience, and i really really really hope you guys could assist me in this area!
View 4 Repliestake a look at the swf and tell me what kind of transition is equalent to that image movement effect when the user clicks on the scroll?
View 2 RepliesThere are some open SDK for Flash, that could be done. Rotating photos with physics? Examples of such programs BumTop, ePic, Coloris (no physics). The photo on the plane, it can be moved to the real physics?
View 1 Replieshow to reproduce the Photoshop Image/Adjustments/Photo filters... in Flash with AS3. Is the same result that you get when you put a filter over the lenses of a camera. I exclude using tint and hue from the start because I think could get this from code by using color matrix class or convolution filter
View 1 Replieshow to reproduce the Photoshop Image/Adjustments/Photo filters... in Flash with AS3. Is the same result that you get when you put a filter over the lenses of a camera. I exclude using tint and hue from the start because it doesn't
View 2 RepliesI'm working on generating some planets and moons for a 2d project im working on, these will generate planets procedurally that look somewhat realistic.
Anybody got any tips on improving this or optimising this?, it looks very flat i feel.
[Code]...
I need to create a small dice game in Flash. The random number generator is external and I have to create a 3D realistic dice animation with that outcome. I'm using Away3D engine and JigLib for physics. So far the best idea I've had is to do many simulations and create a list of outcomes and their corresponding input parameters (initial position, initial orientation and the forces added to the RigidBody). This is not working so well. Sometimes for the same parameters the outcome is different. What is the best way to do this?
View 1 RepliesRealistic FLASH spotlight beam, not using a circular mask. I am in desperate need of some information, about realistic spotlights designed with flash. I need the kind that shoot a beam with a round circle on the floor. I have found a great example, at http://www.grisu.com and the owner even shared the fla code with me, but I still don't quite understand how to modify it to work for me. He offered to help, but he only speaks spanish and I only speak English, so we can't communicate.
If you go to his web and view the stage, the beam sweeps the stage and changes the angle and size of the beam. I need a longer and narrower beam. The length of the beam is too short for me, but the idea is just what I need. Does anyone know of any tutorials on this subject? Or possibly other samples so that I may study them in detail.
1. Is a mask necessary to keep all the beams the same length as they scan? As the angle changes, the beam length would change unless a mask or something cuts them off at the floor level always.
2. Motion tween could probably be used to move the beam?
3. Would it be necessary to skew the beam as it sweeps as when it is slanted like that, the width of the beam gets wider as it sweeps away from you and more narrow as it sweeps closer to you.
4. Did you need to use alpha anywhere possobly when the beams cross each other or maybe when it is first turned on?
I would greatly appreciate any advice anyone can give, or steer me in the correct direction for some tutorial information.
Realistic FLASH spotlight beam, not using a circular mask.I am in desperate need of some information, about realistic spotlights designed with flash. I need the kind that shoot a beam with a round circle on the floor. I have found a great example, at r even shared the fla code with me, but I still don't quite understand how to modify it to work for me. He offered to but he only speaks spanish and I only speak English, so we can't communicate. If you go to his web and view the stage, the beam sweeps the stage and changes the angle and size of the beam. I need a longer and narrower beam. The length of the beam is too short for me, but the idea is just what I need.
Does anyone know of any tutorials on this subject? Or possibly other samples so that I may study them in detail. 1. Is a mask necessary to keep all the beams the same length as they scan? As the angle changes, the beam length would change unless a mask or something cuts them off at the floor level always. 2. Motion tween could probably be used to move the beam? 3. Would it be necessary to skew the beam as it sweeps as when it is slanted like that, the width of the beam gets wider as it sweeps away from you and more narrow as it sweeps closer to you. 4. Did you need to use alpha anywhere possobly when the beams cross each other or maybe when it is first turned on?
it's been a while since I used flash and i'm wondering what is the simplest way to create a visualization of a realistic 3d bulding with animations like window closing, door opening etc.I gues it's made in some 3d software and exported to .swf, but it sounds a bit complicated to create a 3d model in 3d studio export it in collada, import it with pv3d to have only a house with 3 quite simple moving elements.
View 5 RepliesHow would I go about as to addEventListener for a array object. I'm trying to avoid running a timer every x milliseconds to check for new elements in array object, rather trying to make a event fire when new elements are detected to process them and remove them. Is it possible with Arrays? maybe ArrayCollections? either is fine.
View 4 RepliesI am adding the same image (play button) to a movie clip those images later when pressed toggle states and play a video.What I am trying to accomplish is automatically toggle the default image since that video is playing automatically.[code]So this does the same thing as click the first image but it happens automatically.[code]
View 1 Replieslatest Fp 11.1.102.55
Firefox v 3.5.2
OSX
My rollover events are not firing.Every other browser works fine
I use a LocalConnection object to prevent being able to run our SWF multiple times on the same computer. The problem is that this connection can remain in place even when the SWF which called it closes.
I have:
1) An External Interface call to dispose() all HTML pages call dispose() on pageunload which closes the connection.... But this is unreliable because if the browser crashes, you are locked out of the SWF
2) I tried some crazy try/catch. If SWF A exists and SWF B tries to be initialised.... SWFB cannot connect so it sends a function to SWFA to dispose(). This should free the connection for SWFB to connect to? But this does not work well either because sometimes a localconnection can be in use but calling "dipose()" throws an error, often because the LocalConnection swf which should be available is already gone.
What this all comes down to, is that I need a way to detect when the player closes, so i can close the localconnection.
stage.addEventListener(Event.EXIT, onExit);
function onExit(e:Event): void
{
if (localconnection)
[code]....
I've set up a function to pause the sound in an mp3 player whenever certain things are clicked on the page, using ExternalInterface, but I'm having a problem in IE.The setup is this: I have a video page that calls up a list of YouTube videos using RSS.he most recent video is displayed on the page in a div called "display". Then all the rest of the videos in the feed are displayed as thumbnails and links...If you click one of them, then the main 'display' video is replaced and it starts playing. All of that works fine.hat I want is for the mp3 player on the page to pause the music whenever a video is started.The ExternalInterface function works properly. Whenever one of the LINKS is clicked, the mp3 player stops and the video starts, etc.
The problem is that I also want it to stop when the MAIN video is clicked. Obviously, since this is an external video loaded from YouTube, I can't access the FLA to add its own ExternalAccess code.I've tried adding an ID to the video object and then using it as the selector in jQuery to call the stopMovie function...no go. I've tried adding a class to it, and then calling the stopMovie function when the class is clicked. I've tried putting the click function on the div that the video loads into...nothing works. If I remove the main video and just have an empty div, then click the div, the mp3 player stops...but if I load the video into the div and click it, nothing happens (in IE...it DOES work in FF).The Actionscript:
import flash.external.ExternalInterface;
ExternalInterface.addCallback("stopMovie", pauseSound);
function pauseSound(str:String):void {
[code].....