ActionScript 2.0 :: Add AI Cars And People To A Driving Game?
Dec 21, 2003I 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 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 have the controls for car number 1 that would be the arrow keys if [code]but how can i make controls for car 2.i wann use wasd but i cant figure out how the key.a doesnt work.
View 1 RepliesHow can I build 3D object - a car which follows the path in Flash (like in 3d MAX's Path Constrant do)? I wanted to create a virtual map of our field, where stated our office, and wanted to animate a car which follows the paths (streets) showing how can you get to us. Ok, I can build streets in 3d Swift express (paint them from top then Commands -> 3d Swift Express), there are static, but the car must drive and turn in cross sections (so the car must drawn from each side).
View 0 Repliesi was just wondering, how could you make realistic car driving, with regard to turning, braking, backing up etc.....
View 4 Repliesis there such a thing? it's either this or "for each" pretend I have 6 red cars and 14 blue cars in my ParkingLot class. I want ParkingLot to tell just the red cars to drive. In my mind it works as follows:
[code]...
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;
I do a lot of all Flash sites, and sometimes I have problems getting the latest update to show on everyone's machine because of temporary internet files. Is there a way to force people to re-download the SWF?
View 2 RepliesIs there any way I can put a paragraph that people can copy and paste?
View 4 RepliesI have an fms app which won't disconnect people in IE unless they close the browser completely. Simply going to another url in the browser leaves their name in the peoplelist. I've tried everything here without success. Even IE 8 shows same problem on Vista. IE on XP works fine as well as some versions of IE on Vista.Firefox, opera, chrome all work fine everytime.The problem, it seems, is IE won't "leave" pages until it's closed no matter what.
View 3 RepliesI really want to attempt in making my own game kind of like Farmville. I know most of the actionscript, but I do not understand how they make the artwork. I try to make those isometric art in photoshop and stuff, but it's almost impossible for me. I use a tablet.So I'm wondering how do so many people make that art work so easily?
View 1 Replies[URL] I came to hear that many people cannot load the site entirely. I cannot reproduce the problem as it works for me with all kinds of connections (even a crappy usb modem in Indonesia!). I've asked friends all over the world to check it and they have had no problems. But I've also recevied e-mails from completely unrelated people from different parts of the world, using different OS and browsers, that it will only load to 66% and then gets stuck. The site was made with adobe flash cs3 and exported for flashplayer 9 (and I've tried it as fp6 too). The file in question is on [URL]
View 5 RepliesI have a website running with embedded .swf files. Someone keeps stealing them and uploading them to their own webpage. Is there a a way to prevent this from happening?
View 1 RepliesI would like to know if it's possible to use Flash/AS 3.0 to create a website acessible to blind people. Using for example, the native text recognition from Windows or Mac. What I have to do to make this possible? Making HTML text is enough?
View 2 RepliesI am trying to create a Flex application with a shared viewing experience for users watching video. Specifically, there are a group of users in a virtual room, and one of them is the remote holder. One approach is to have everyone have a video player, and then use our own protocol sent among the different Flash player instances to make sure people are in sync (we have our chat routed over XMPP for the people in the room).
However, we were wondering if there was a simpler way to do it using Flash Media Server. Is it possible to create a synchronized viewing experience in FMS where everyone is always at the same point in the video? And is it possible for 1 person to then have control over that stream (e.g. pause, play, seek, etc.) for everyone connected to that stream?
I can code things fine myself but I've never used anyone elses code components to build something. I need to make a magazine that has a page fli effect and someone pointed me to Rubens flex book component (I'm assuming I can use it with flash). I've downloaded the zip file but I'm not sure how to actually start making my book. Everything is in different folders, because I assume they all are interlinked and are specificied with their paths within their classes.
I'm thinking I need to make a fla and then a document class and link that to the fla. But what do I put in the document class?
Is there a way to break apart text using ActionScript 3 so that it can be used in a Shape Tween?
Or is there a way to shape tween using AS3. I want people to be able to type in a box and then have that text morph into something. I was thinking about creating an alphabet of letters then reading the inputted text and calling those letters. But those letters would still be in MovieClip form.
I want to run a website where people could see each other through web camera.
View 6 Replieshow if it's possible to use Flash/AS 3.0 to create a website acessible to blind people. Using for example, the native text recognition from Windows or Mac. What I have to do to make this possible? Making HTML text is enough?
View 2 RepliesBut i want my question run randomly each time when different people play it.
View 6 RepliesWe are a Wireless ISP and we have portal page at a local airport. We offer free wifi there because of sponsorship. We would like the page to have a 30 sec movie on it that people have to watch in order to get online. I have 2 ideas on how to do this. 1. watch the movie and when movie is over automatically call to our login script and then log the user in through our network device. 2. have a get online button grayed out until the movie is over after the movie is over button becomes clickable and then the button after clicked calls to the script that logs my users in through my device.
View 5 RepliesI've got a page laid out that houses a nightly live webstream of music at a venue. Every night (except Sunday) the stream turns on from 8pm-2am Eastern Standard Time. Some nights, I notice there is nobody watching the stream, yet the stream plays everyday no matter what. In the interest of saving bandwidth per month, I'm trying to figure out how to only stream if somebody is watching.So basically the camera would be recording locally, and when someone connects to the website something tells the server to start broadcasting. If the person leaves, the server stops broadcasting. Has anyone ever tried doing this? I'm using Influxis for my media streaming and they've assured me I can execute server side scripts.
View 12 RepliesI'm wanting to have ads radomly play before people watch a video on my site.Is there a way to write the script for this and place it in the xml or do I have to something differently.I already have the video up on our site. So I'm just not sure how I "connect" the actionscript and xml that way it plays the commercial before the video.Do I have to build a new player and everything to do this? I've never built a player before, so if I don't have to, I'd rather not.
View 1 RepliesOk so we have a website at www. wsca .ie. This website has a flash banner along the bottom of the page but our problem is we have installed flash on our clients pc and updated his internet explorer but still the flash banner doesnt display. Also we have checked to make sure flash is enabled and it is so is there anything else we can do to get this to work?
View 1 RepliesI am designing a game that will be at a tradeshow which means lots of people walking by. The problem it seems is that once kinect sees you "New user" even if you are just strolling by it seems to kill or mess up the ONISkeletonEvent.USER_TRACKING data when that user is "LOST".
This thing needs to ship end of week. I thought I could handle this by assigning an activeUserID and filtering based on that but it just doesn't care. When it "LOST USER" it is game over even if that was just someone watching and then moving away.
I'm trying to do something I'm sure which is really basic and hope some wonderful person out their could spare me a few mins of time before I top myself. I have 8 buttons that appear after a very poor animation sequence which all link to different websites. I simply want to track in a .csv file what buttons people click, and if possible to wack a date and time stamp against when each button was clicked. I bet you're thinking this guys a complete fool for posting this but the last time I used Flash was version 4 and that was for basic banner animation. I don't have the foggy-ist about AS 2.0 or 3.0 and I've been reading I need to use .PHP script to pass the data out to the CSV file (SCARY for someone who see's code as gobble-de-gook).
View 9 RepliesI was searching around the internet for a way to talk to others without installing software like Skype. I found a site called DED Messenger which allows you, using flash, to talk with each other. Could someone here at Kirupa write a tutorial, following on from the earlier Microphone one to allow other people to hear what you say?
View 2 RepliesI've been trying to come up with a way to stop people from using hacked versions of an swf application, either by creating a new one, by decompiling, hacking and recompiling the whole thing or simply by stealing the swf and hosting it somewhere else.This would only be useful for interactive applications, such as games with high-score tables or multiplayer games.
View 14 RepliesI've thought about storing the info into mysql, but just realized that if people close the explorer instead of logging out, it still stays the same. Is there a way around this?
View 10 RepliesSo i want to make a form which people can use to get price quotes immediately. There will be about 15 fields. I have 'some' clue as to how this 'might' be done. The 'if' statement could be used. But that sounds like a lot of combinations and a lot of scripting. I would also like them to be able to send the form to my email if they want.
Now i know how to script the basic forms.. eg. contact forms.. etc. with php and all. So once they've selected specific info from the fields, i'm sure i can have it sent into my inbox. But I don't get how to do the main thing (the price quote display - according to the information selected). Will it have to be XML based? Something to do with a database? Or what?