29 Forum Posts by "EL1TE"
Nvm, it's Ctrl+Shift+8
Hi, I was working on a code, my finger slipped and hit some unknown buttons. Now the paragraph symbol (pilcrow) is after every line of code, and it annoys me.
I cannot figure out how to reverse it, I restarted Flash to no avail. Help please.
If you get an award or something, does a button normally appear? What happens that allows you to post on the front page?
I'm working on a very good flash hopefully worthy of an award, and if I get an award with it, where does the option to post on the front page appear? I'm just curious while I have this topic up.
How do I make a post on the front page with my news posts? Can someone post a screen shot of the button or something? I remember there used to be a button, but now where is it? I see a lot of the users who post have trophies, is that why? When you get trophies, where is the button after that?
Screen shots please?
How would I do 5 shapeFlags? Can you show me an example? KyleDaFox's way works, but I'd like to know how to do the shapeFlags.
In the picture, the blue box goes over the point of the pencil. And objects hitTest the box, not the actual drawing. So the action happens when it touches the surrounding box, not when it hits the point of the pencil. I don't want shapeFlag, that doesn't work too well.
I don't really know how to explain this, and I'm sorry.
Sorry
You know the shape of a pencil? The point is thinner than the rest.
You know the blue box that appears when you select an object? That's what is hitTested.
The blue box is a rectangle, and goes over the point. How can I hitTest the point, not the box?
Hopefully this picture will clear it up.
Hi, I'm working on a game, and I need something to happen when two movie clips hitTest. I understand hitTesting, but one of the movie clips is somewhat of an abnormal shape.
Think of a pencil, everything works fine with the hitTest but the point because it isn't as high of low as the rest, and the blue box when it is selected is over the point.
So when the movie clip hitTests the blue box over the point, something happens, but it still didn't touch the point. I don't know how to explain it well, but, do you understand?
I tried different methods, but I can't figure an efficient way to do this out.
Can anyone help me with this?
Thanks
So creeping more off topic, since i is mostly used in loops, what is "for" for? What does it do?
Sorry for the quick double post, but in the codes I never see them call what i equals. This is quite confusing.
I remember in Algebra i was an imaginary number, and it's basically used for square roots of negatives, but in the code it does not mention it or anything.
I have a quick question, I've seen many scripts, and I've been wondering one thing - What is "i?"
What does i equal?
How would you use it?
When/where would you use it?
If anyone can explain somewhat in depth, I'd greatly appreciate it.
For a DDR type thing wouldn't you have a movie clip on the bottom and add if (this._y<=whatever,>=whatever){ and stuff? That doesn't sound too hard, I might do something:)
I fixed it, the getNextHighestDepth(); wasn't that good for what I wanted. I just changed that and added removeMovieClip(); so it wouldn't lag to hell after a while and it's good.
NEW CODE I WROTE
onEnterFrame = function () {
if (_root.mc._y>=450) {
duplicateMovieClip(_root.mc, "mc2", 4());
removeMovieClip(_root.mc);
_root.mc2._y = 0;
_root.mc2._x = Math.random()*550;
_root.mc2._y += 40;
if (_root.mc._y>=450) {
duplicateMovieClip(_root.mc2, "mc", 5());
removeMovieClip(_root.mc2);
_root.mc._x = Math.random()*550;
}
}
};
Thanks for the help, I guess.
EXAMPLE:
I don't totally suck at action script, I understand exactly what they are saying and I wrote out the code myself.
I want it to duplicate a lot but not all at once. Maybe there will be 4 or 5 things on the stage at once. I don't know how to make it work but I understand everything people have said. So basically I want 5 things on the stage at once falling at a normal rate. Can anyone help me?
Press T, go to Properties, click the box that says static or input text, (either one, not both), choose dynamic text, type.
Just to tell ya man, Piglet's a frickin' beast. If you think Piglet's a wimp just because of his size, he'll whoop yo ass in a second.
Thanks but that's not all of it. Now my code looks like this, I changed a bit of it.
onEnterFrame = function () {
if (_root.mc._y>=350) {
duplicateMovieClip(_root.mc, "mc2", _root.getNextHighestDepth());
_root.mc2._y = 0;
_root.mc2._x = Math.random()*400;
_root.mc2._y += 40;
if (_root.mc._y>=350) {
duplicateMovieClip(_root.mc2, "mc", _root.getNextHighestDepth());
_root.mc._x = Math.random();
}
}
};
This is what it looks like: http://denvish.net/ulf/060607/59186_safga.php
You're supposed to dodge these things! is there a way to have like 2, 3, 4, or 5 duplicates on the stage at a time? Hopefully this isn't to much but I'd appreciate help.
I'm making a code where I have my movie clip's y coordinate adding 25, I want it so that when my mc's _y = 350 it duplicates and it has a random _x. I have this but it duplicates once and the _x jumps around in random spots, I want it in one. Also when that movie clip gets to _y = 350 I want it to duplicate and so forth.
onEnterFrame = function () {
if (_root.mc._y>=350) {
duplicateMovieClip(_root.mc, "mc2", 3);
_root.mc2._x = Math.random()*400;
_root.mc2._y == 0;
_root.mc2._y += 25;
if (_root.mc2._y>=350) {
duplicateMovieClip(_root.mc2, "mc", 3);
_root.mc._x = Math.random();
}
}
};
Try it and you'll know what I mean, just make the _y add 25. Can anyone help me if you know what I'm talking about? Should I explain it more?
Thanks.
I think it's pretty offensive to the people that took part in the tragedy. The guy does have the freedom of speech and everything so that weighs in on this. I don't think it should be taken off but it should be put under the mature zone, it's a mature topic. I played it and the gameplay isn't bad it's just a bit offensive. But then again Newgrounds has it's history of offensiveness. I say keep it on in the mature zone.
At 3/10/07 06:01 PM, jmtb02 wrote:
+ You need to do something besides tutorials. Tutorials have been done over and over and over again, and unless you do it perfectly, you can't bank on an awesome score.
I believe there is a Tutorial Contest going on and the due dates March 23rd I think, I bet we'll be seeing some more tutorials.
In the demonstration of what it'll look like do us a favor, don't use rainbow. That's a horrible overused color. Improve the graphics (background was bland) and explain the script more.
It's pretty much $400. Maybe there are some deals on it, didn't really look.
Either the second or third. The third would be for slow blinks, maybe if a character is waking up, his eyes open slowly. For regular blinks use the second.
What I'm implying is for you to use both.
At 3/7/07 07:48 PM, FlashOverlord wrote: I am going to make a flash movie called legends of vg and it will have sonic characters, mario char., zelda char., megaman char., and that is it for now. i need help give me some suggestions of who you want to see in it and i will see what i can do. it will be an action drama. tell me what you think about this idea. i will make the preview after i get more feedback on this idea.
Game sprites in this kind of movie is a bit overdone. If you can pull it off better than a lot of others than people may like it. Might I suggest to use about 24 FPS and make the movement as smooth as possible. To pull this off you need a great plot and from what you told us it's just sprites from different games in an action-drama. make a compelling storyline like this,
Luigi stole Zelda to have his way with her but Megaman comes to save the day. Mario is guarding the place where Megaman has to go and a big fight scene goes on.
Use it if you want (*coughcough*creditmethough*coughcough*) but add a nice plot.
At 3/8/07 04:14 PM, GustTheASGuy wrote: You might not want to post that on Denvishes site, says his host goes X(
Oh yeah, forgot about that XD
Imageshack?
I don't use them but others do. I don't have a link either. Maybe if he does post it on Denvish after like 20 minutes he could delete it. Just a thought.
At 3/8/07 04:10 PM, Exhumer wrote: i meant, its a crazy person doin somthing..... its kinda dumb.
Maybe since "its kinda dumb" it got blammed?
its a habd with a knife carving up a womans torso, and then another hand comes in and plays in the blood.
Just upload it onto Denvish and give us a link. We'll hopefully tell you why it got blammed.
As everyone said, export it as Flash 7.
I got my tablet for only $50 on Amazon.com. Maybe the prices went up, I don't know but mine works like a charm and was cheap.
At 3/7/07 11:05 PM, PowersClan wrote: just did the button tutorial. And I tested it And it says
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Wrong number of parameters; play requires exactly 0.
play(25)
Total ActionScript Errors: 1 Reported Errors: 1
What does that mean?
It means that play(); should not have anything in the ().
2.What Do I type for replay?
on(release){
//When the button is released
_root.gotoAndPlay(1);
//Goes to frame one and playsd on the main timeline.
}
//Ends the code.
And how do I test my movie with flash pro 8?
Press Ctrl+Enter.
You can also go to File->Publish Preview->Flash
Or you can go to Control->Test Movie.

