Search:
Type: Posts; User: Trugas
Search:
Search took 0.01 seconds.
-
Unfortunately copying something with user-defined dynamic data is exactly what I need to do.
Actually for what it's worth, here's an outline of the big picture:
I'm trying to create a chess game...
-
Lol. Wow, the things you find yourself discovering with flash eh? Btw you're on the right track, this is how it was achieved in the book.
friction = 0.95;
dot.vx += Math.random() * 0.2 - 0.1; ...
-
Here's a quote from the book. Sounds like the solution to the jerky motion you described.
"It’s important to add some friction into this, otherwise the velocities tend to build up, and things...
-
Hmm, this sounds awfully familiar. I think the theory you're looking for is described exactly by the phenomenon known as Brownian motion. And if memory serves there's a chapter addressing how to...
-
*sigh* while I'm sure that there must be a valid technical reason why as3 can't support display object cloning, it's incredible that something as essential as copying an object requires an elaborate...
-
I'm sure this is a common problem but i haven't been able to find a clear answer.
I have an instance of a custom class which extends the Sprite class. All I want to do is create copies of it. The...
-
Ah that makes perfect sense. Thanks for the help.
-
Problem:
In the example below i have two arrays: warmColours and coolColours. I put them in an array called allColours. So far so good.
I make a copy of allColours (allColoursClone). I try to...
-
Piece of cake. Drag and drop with snap, rough outline below. Good luck.
var gridSize:Number = 10;
// Sets the size of the squares of the grid which the dots snap to.
...
-
Agreed. But "I don’t know enough about physics to make this happen" was the actual question, so I helped where I could; with the physics :)
-
Ok so best place to start is to understand the theory first. Basically you're dealing with a shifting centre of gravity, It's a pretty simple concept. As the crackers pile up on the plate they shift...
-
Ok I think I found the problem. Mouse coords are only integers not numbers. This lack of precision means that the smallest distance the mouse can move on the x or y axis is exactly 1 px (or -1px), of...
-
Ok, so to explain exactly what I'm seeing: The movieclip graphic following under the mouse is not rotating smoothly. What actually appears to be happening is that the graphic is snapping to 45 degree...
-
Ok well I'm not really replacing the mouse cursor exactly. Just placing a custom image of a pointer below it so it will follow the mouse cursor as it moves around the screen. I want this pointer...
-
rachil0: Thanks for all your info. Did some research on "the ambiguous case" and you're certainly right. :)
dudeqwerty: Not sure I follow you. totalDist just gives the distance to the point...
-
Hey strikerjax. Looks like we're both looking for the same answer.
How to find the point at which an object traveling in a straight line passes through a circle. I posted the same question a couple...
-
Would leave this to solve...
http://i594.photobucket.com/albums/tt26/Trugas/TrigDiagram3.png?t=1252461153
Question 1) Is this way even possible or am I assuming too much?
Question 2) Even if it...
-
Okay fun's not over yet though. I was just considering if this can be done by using the rule of sines too? Here's what I mean......
-
Lmao, you guys are freaks! :)
Thankyou!! I've been struggling with this for days.
-
OK, This one really needs a diagram to explain so check the attached image I created.
(I need to find the lengths of the blue triangle).
...
-
Yeah, no problem. Glad that did the trick.
Dunno if I can help you with your other problem though. My guess is that it's most likely an Internet Explorer issue rather than a Flash problem.
-
Had a feeling this question might be next. :rolleyes:
Create frame labels for all the frames you want to be able to jump to. From there this code should do the job.
var rdmInt:int =...
-
Ok, sounds like you've built the animation entirely on the timeline and I'm guessing you might be pretty new to the whole idea of using actionscript to control flash. This is a basic solution that...
-
OK what is the strategy you've used to set this up originally? Do you have the images stored in an Array for example?
-
Thanks guys. I'm liking the look of:
(angle > 0)? mc.rotation += rotateIncrement : mc.rotation -= rotateIncrement;
I've never seen an if/else statement written like that before. Nice and simple.
|
Click Here to Expand Forum to Full Width
|