ActionScript 2.0 :: Realistic Car Driving Physics?
May 23, 2005i was just wondering, how could you make realistic car driving, with regard to turning, braking, backing up etc.....
View 4 Repliesi was just wondering, how could you make realistic car driving, with regard to turning, braking, backing up etc.....
View 4 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 RepliesI wanted to study some physics code lines related to flash actionscript 2.0.Is there anyway to build a model with physics incorporated without a physics engine? By bare actionscript?If yes, can anyone show me a tutorial or an explanation to learn somehting about it, please?
View 0 RepliesI know you can add a var to add grvity and velocity ect. But what are the limits of this?Can i have a ball roll downhill using physics from within flash, without a external physics engine like box 2D.Can i have impulses? Well thats not important just wondering really.What can you do with physics in flash?
View 5 RepliesI want to add AI cars and people to a driving game but I don't know how. Can someone explain AI to me and some basic code for it?
View 4 RepliesI have this experiment with a Jeep in a small drivable area with a garage thing.What I wish to happen is that the hit test for the Jeep to be more accurate so when you are inside the garage the front or the rear of the **** jeep doesn't stick out half a mile or when you hit the edge wall it doesn't act off the **** centre/registration point.
I set up a hit-test test but with a square symbol and when you hit it, it is accurate because it doesn't use the jeeps centre/ registration point why can't I implement this on the jeep or can I, If so How? - Look at the .fla with the white squares.And also how would I implement it so that if the area was slightly bigger the background would move around the jeep. Like an art based rpg not tile based, or should I use tile because it is easier?t.
i am trying to load vars from a text file into a load vars object.
var kitchentext = new LoadVars(); kitchentext.load('moccastext.txt');
Once in the object, i thought i could reference them like so
kitchentext.name
kitchentext.style
but i am having trouble doing this.
i have a textbox called displytext. _root.displaytext.text = kitchentext.name;
can u tell me how to do realistic clouds in this header ? i will be very greatfull for any tip (sorry for my english ) my header (i love dogs and i projecting a site about them )
View 3 RepliesI am in need for some 2D physics seen from "above and straight down". Basicly I can sum it up with a "throwing balls into walls" kinda physics.
There seem to be quite a few physic engines for as3 out there, but I wonder if anyone have anyone special to recommend regarding my particular need as well as performance of the engines.
I'm trying to create a simple top game. Except, the movement of toy tops isn't so simple.I've been able to get the top to trace out squashed loocking spirals. However, the motion isn't random and there's no object detection. I was thinking that some variation of a bouncing ball script might work. However, the movement would have to be confined to the appearance of a perspective plane (so that it looks like it is spinning on something flat)
View 11 Repliesim working on a project tats in a dark rook ive ot the lightbuld to flicker and glow but i want it to swing realsitcly across the screenas if it
View 1 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 Replieshow to make realistic smoke / fog. All the tutorials I have seen are ok, but not exactly what I am looking for. I want to know how to make the smoke look like its reacting to the resistance of air thus changing the shape of the smoke as it moves and what not. [URL]Notice how the smoke is going down and also to the right. The smoke moving downward even reacts to the flow stream of the one going to the right and slightly alters its movement ( as if it was hitting a current in water ).
View 1 RepliesI'm making a ball that are going to bounce realistic..But it doesn't!
View 4 RepliesThe 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?
I'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 RepliesI want to make a game using physics in Flash, so I stumbled upon Box2D, but i find that hard to use [the basics are simple, but when i see the scripts,so i was wondering if there are easy to use flash physics engines?
View 6 RepliesI need help with one of my Flash projects,I'm trying to use gskinners shape based collision detection, but for some reason I cant get it to work, but im pretty new to using classes, so I dont understand the structure too much. Can i get a tutorial on how to use the gskinner class? im using the as2 version.heres the code, bare with me, there's a lot here. in all codes, mc1 is the track outline MC, and mc2 is the car
basicly im making a 2D top down version of WipEout HD Fury, so file structure is something like this (the .fla is called wipeout as3 because i was initialy coding in as3 and never changed the filename).wipeout as3.fla (the flash file containing all the MCs and animations, but only enough coding to import all of the external code files, as well as the VCam and its script)
the code is;
Code: Select all #include RaceControl.as"
the RaceControl.as is used to determine the Car's control scheme, and refers to a physics code called RaceCar.as. i found it on the interwebs, all credit to matt carpenter;
Code: Select all// Race control
// Create key listener[code]........
the Bounce Function is my own work, and is what i want to happen when a collision is detected.now, the movieclip used for the car is my own drawn design, as is the track, and i want to use GSkinner's shape based collision to detect the collisions properly. so far i have the car driving around quite happily but i need it to collide with the walls of the track, rather than drive right through them.
I need to animate little blocks to fall down when rollovered... but i want them to start falling and keep falling once mouse hittests with it... so when the mouse isn't over the clip... it keeps falling... does anyone know how i can do this? and if anyone knows some good actionscript for elastic falling with slight rotation that would be sweet....
View 5 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 RepliesWhere do I can find an example or a tutorial of a realistic simulation of a rope tied between two points? I need to make something similar to the interface of Reason, the music app.
View 6 RepliesBeen working on this for days and can't quite get it. Place a standard playing card or something similar on your desk in front of you. Lightly press your finger onto a random point on that card and drag it around your desk. See how it rotates towards the direction you are moving and such? I want to simulate that behavior.
View 8 RepliesJust getting it to spin off and react realisticly with the wall would add a whole new dimention, but its a bit beyond me (*noob!*). It calls for some collision recognition I think, but the forums I've read so far on the topic are just too complex. My aim is also to also bounce the ball off the cursor.
View 3 RepliesI want to make a light animation where air bubbles come out of a bucket (which slowly moves from left to right) and they float till a certain height untill they dissolve (fade to 0%). I want to have 3 different kind of bubble MC's which I want to generate (duplicate MC???) at random. Further I don't want them to clog eachothers, so they should not be able to move on top of eachothers.For filesize reasons I want to do this as much as possible with an actionscript...
View 14 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 trying to put together some code that will approximate the arced flight of an arrow.Currently, I've got the code so that the angle of the bow movieclip will move depending upon the position of the mouse.pressing the mousebutton will then fire an arrow at this angle (albeit at a constant speed). I've played around with xmov and ymov in an attempt to introduce inertia and gravity (respectively) and therefore create a more natural flight of the arrow but aren't really getting what I'm after. Added to this, I also need to alter the angle of the arrow clip over the course of it's flight to imitate the charge in orientation (i.e. tarts to point towards the ground in the downward 1/2 of the arc). Code so far is below.
Does anyone have any suggestions? Or even alternatives (such as draw a curve with the curveTo method and then animate the arrow clip along this path?
[Code]...
i have this code, generously taught to me by lostinbeta
Code:
onClipEvent (load) {
_x = 0;
_y = 0;[code]....
and i would like it to do exactly the opposite of what it's doing.currently it is set to follow the mouse without using startDrag() and i would like to apply this to a panoramic view that has several pictures sliding past one another .... a lot like lostinbeta's footer. but rather than sliding to the _ymouse i would like it to go to the opposite of the _ymouse so that it appears more realistic.
You know how adobe promised us physics in flash?URL...If you've been wondering why they left it out, turns out they didn't.URL...
View 4 RepliesSome time ago i played this great flash game I want to create a simple level where you can walk around, just like in that game. But i was wondering what kindof physics engine or collission detection i would need if you want to walk over hills or objects where the persons reacts to
View 2 Replies