You need a Grounds Gold Account to post on the NG BBS!If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!
Say my current _rotation is .. 15. I have set my goal to -56. I've been trying really hard to make a script to figure out the shortest way to get my _rotation to the goal. To Add or Subtract. Never worked correctly. So, does anyone know how i could figure out if it's shorter to Add of Subtract to reach my goal?
I'm wondering, Can i get a new number behind my movieclip everytime i paste it? like, i paste the movie clip once, and the instance name is Test1, and the next time i paste it, it will be Test2. Etc.. Is this possible, or is there an alternative that will do the same?
I'm making a simple racing game. You view your car from the top. It rotates using _rotating. Of course, a race game is boring without someone to race against - Ai's. I've spent all day trying to get these AI's working but i just can't. I thought about making a movie clip, with a car moving using tween, but it would be hard to make it move the same speed as the player, which makes it too easy, or just unfair. Then i thought about making the AI car face some "nodes" and move in the direction it's facing. When it reaches one "node" it faces the next node on the course and moves toward it. My problem is simply, that i cant make it face another movie clip. So if anyone knows how make one movie clip turn around to face another - or have another way to make racing AI's, i would really love if you would take a minute to tell me, or link me to a tutorial. Thanks!
Hey there! I am in need of some help. I want to turn around a movie clip. Changing it's angles. And then moving in the direction it's pointing. Is this possible? Any help is appreciated.
At 2/10/09 02:27 PM, prut97 wrote:
LIES, I did it with AS2 b4.
Calling someone a liar and stating complete horseshit?! Seriously if you had the slightest bit of knowledge about flash and its restrictions you would never have said that. Does the term "sandbox" and "security" ring a bell? Wake up!
It is not possible to write to a users hard disk with flash without using other tools or scripts ect. Live with it.
I was talking to the guy who said that you could only do it with permision and it was only possible with AS3, i was told once how to do it, and it worked in AS2. And i don't wanna write to people's harddisk... To my website, Depending on stuff they write in inputs.
If i have a var i need to write into a txt file ? Someone helped me once but resulted in it asked me where i want to save the file, i want it to just overwrite the file :)
Is there a way to replace a certain piece of code (in my case gotoAndStop(4); ) with something else EVERYWHERE in the document? Frame 4 is the "You fail, lose etc..." screen where i don't want that but i wanna add health bar so instead of just failing you lose some health then the health bar takes care of moving to frame 4 when you don't have anymore health left.
My flash game is based on a guitar hero likely, and people can make custom songs, by uploading the mp3 and giving the game a DIRECT URL to the mp3 file, so to make looading time of game faster i'll do the same with the build in songs, so does anyone know a website that you can upload files to who also gives you a DIRECT link? This way i can also recommend people where to upload the mp3 to their custom songs.
Can i load an mp3 to a timeline, so the sound file it is playing on the timeline is the one from the url you have written in the script or the input? :D
yeah! :D
Know i'm late but i was checking up on these old "help" threads i made to get the help again as i completely forgot it :3
So is there a way to do that? :3