00:00
00:00
Newgrounds Background Image Theme

JustAndrew just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Foss: Credits Through As

3,299 Views | 31 Replies
New Topic Respond to this Topic

Foss: Credits Through As 2005-07-27 09:46:41


this code allows you to make your credits through AS, I never finished it though, what I really need done is someone to add a script that will make them hope elastically to a higher position and then continue scrolling

(needs to be implented where trace(this._y+this._name);
//this.speed=0;
this.triggered = true; is)

please someone help ;) this can be pretty cool
(chars going up, tweening elastically into their positions and then if you could add twinning coolly out that could also rock, one mod at a time)

imagine that, a very leet credits script.

the chars are already broken into characters and not strings :)

function toChars(s:String):Array {
s = s.toUpperCase(); //remove to disable all caps
var a = new Array();
var i;
for (i=0; i<s.length; i++) {
a.push(s.charAt(i));
}
return a;
}
function formatBg():Void {
if (_root.container == undefined) {
_root.createEmptyMovieClip("container", 2000);
}
_root.container.createEmptyMovieClip("draw
ing", 20);
_root.container.drawing._y = 0-_root.container._y;
_root.container.drawing.lineStyle(5, 0x000000, 100);
_root.container.drawing.lineTo(550, 0);
_root.container.drawing.beginFill(0x000000
, 100);
_root.container.drawing.lineTo(550, 400);
_root.container.drawing.lineTo(0, 400);
_root.container.drawing.lineTo(0, 0);
_root.container.drawing.endFill();
}
function toClips(a:Array, lineNum:Number):Void {
//gets only 1 line
var i;
var my_fmt;
if (_root.container == undefined) {
_root.createEmptyMovieClip("container", 2000);
}
if (_root.container.lastOffset == undefined) {
_root.container.lastOffset = 0;
}
var baseoffset = (550/2)-((a.length)/2)*12;
my_fmt = new TextFormat();
my_fmt.font = "Impact";
my_fmt.size = 20;
my_fmt.color = 0xFFFFFF;
for (i=_root.container.lastOffset; i<a.length+_root.container.lastOffset; i++) {
_root.container.createEmptyMovieClip("cont
"+i, 1000+i*10);
_root.container["cont"+i].createTextField(
"char"+i, 109, (i-_root.container.lastOffset)*14+baseoffs
et, lineNum*20, 50, 50);
if (a[i-_root.container.lastOffset] == 'I') {
baseoffset -= 5;
} else if (a[i-_root.container.lastOffset] == 'J') {
baseoffset -= 3;
} else if (a[i-_root.container.lastOffset] == 'L') {
baseoffset -= 2;
}
_root.container["cont"+i]["char"+i].text = a[i-_root.container.lastOffset];
_root.container["cont"+i]["char"+i].setTex
tFormat(my_fmt);
_root.container["cont"+i].triggered = false;
_root.container["cont"+i].i=i;
_root.container["cont"+i].onEnterFrame = function() {
if (this.triggered) {
this._y-=speed;
this.speed++;
} else {
this._y -= 4;
if (((this._y+this["char"+this.i]._y)<=-50) && (this.triggered == false)) {
trace(this._y+this._name);
//this.speed=0;
this.triggered = true;
}
}
};
}
_root.container.lastOffset = i;
}
s = new Array(
"Hello Dudes I like Pie",
"Credits:",
"Maker:",
"Inglor",
"AS:",
"Inglor",
"Scams:",
"MoFuckZone ;)",
"Copying from: Juice Tin",
"(He actually cheated)",
"LMNOPQR",
"STUVWXYZ"
);
_root.createEmptyMovieClip("container", 2000);
_root.container._y = 400;
formatBg();
for (i=0; i<s.length; i++) {
d = toChars(s[i]);
toClips(d, i);
}

sorry for the APL account use, I said I'll minimize it and I meant it... I just need to get FOSS a jumpstart... won't post any AS:/FOSS: thread with an APL account again.

Response to Foss: Credits Through As 2005-07-27 09:49:06


Actually not usefull at all :P
Just type the credits and tween it :D
Silly Inglor : P : ) ...


BBS Signature

Response to Foss: Credits Through As 2005-07-27 09:51:45


Response to Foss: Credits Through As 2005-07-27 09:53:56


At 7/27/05 09:49 AM, -Toast- wrote: Actually not usefull at all :P
Just type the credits and tween it :D
Silly Inglor : P : ) ...

I guess you're kinda stupid aren't ya :P

don't you see the potential?

Response to Foss: Credits Through As 2005-07-27 09:55:21


At 7/27/05 09:53 AM, Inglor wrote: don't you see the potential?

No. = )


BBS Signature

Response to Foss: Credits Through As 2005-07-27 09:57:47


Imagine the credits going up then twining in a spiraly motion and tinting, and placing themself correctly, then fading when they reach the top, now that's doable with this script, but not with tweens.

Response to Foss: Credits Through As 2005-07-27 10:01:31


or having a spiral in the background with the credits.

Response to Foss: Credits Through As 2005-07-27 10:02:08


People don't vote higher for good credits = )


BBS Signature

Response to Foss: Credits Through As 2005-07-27 10:17:27


At 7/27/05 10:02 AM, -Toast- wrote: People don't vote higher for good credits = )

Is your goal only to get a high score? I mean, sure it's good to get a high score, but at least I want my flash to actually be good, not only get a good score.


BBS Signature

Response to Foss: Credits Through As 2005-07-27 10:25:15


I vote higher on submissions with good credits. O.o I vote higher on any submission with good presentation... films don't get 5 from me unless they have a pause button, for example. :D


I'm back! on a temporary basis. No-one can remember who I am! but I don't really mind.

Response to Foss: Credits Through As 2005-07-28 07:59:02


i see potential in this, youi can probly mod it so it's somewhat like the star wars thing. it wont be as good but still

Response to Foss: Credits Through As 2005-07-28 08:03:36


At 7/27/05 10:17 AM, Rantzien wrote:
At 7/27/05 10:02 AM, -Toast- wrote: People don't vote higher for good credits = )
Is your goal only to get a high score? I mean, sure it's good to get a high score, but at least I want my flash to actually be good, not only get a good score.

I agree.
Plus yes the credits looking good adds to the overall thing being good so yes it DOES raise the score.
Silly toast


- Matt, Rustyarcade.com

Response to Foss: Credits Through As 2005-07-28 08:09:21


At 7/28/05 08:03 AM, Ninja-Chicken wrote: Silly toast

Nooo ... : (
Seems like I just got "pwned" by everybody!


BBS Signature

Response to Foss: Credits Through As 2005-07-28 08:11:48


-Toast- is now Burnt Toast

Response to Foss: Credits Through As 2005-07-28 08:13:04


Example?

Response to Foss: Credits Through As 2005-07-28 08:13:08


At 7/28/05 08:11 AM, Glaiel_Gamer wrote: -Toast- is now Burnt Toast

Damn it!
Why is everybody against me today?
What did I do? : (


BBS Signature

Response to Foss: Credits Through As 2005-07-28 08:13:57


At 7/28/05 08:13 AM, -Toast- wrote:
At 7/28/05 08:11 AM, Glaiel_Gamer wrote: -Toast- is now Burnt Toast
Damn it!
Why is everybody against me today?
What did I do? : (

You insulted this thread for no reason. And lied to me and inglor about you being in aladins cave


- Matt, Rustyarcade.com

Response to Foss: Credits Through As 2005-07-28 08:17:01


At 7/28/05 08:11 AM, Glaiel_Gamer wrote: -Toast- is now Burnt Toast

Toast was always burnt toast. That silly little child.

Response to Foss: Credits Through As 2005-07-28 08:20:31


At 7/28/05 08:13 AM, -Toast- wrote:
At 7/28/05 08:11 AM, Glaiel_Gamer wrote: -Toast- is now Burnt Toast
Damn it!
Why is everybody against me today?
What did I do? : (

Child, you were born. You post on average about 27 time per day. You raised your post count to2,000 in like 2 months. Answered?

Response to Foss: Credits Through As 2005-07-28 08:21:09


At 7/28/05 08:17 AM, kipling wrote:
At 7/28/05 08:11 AM, Glaiel_Gamer wrote: -Toast- is now Burnt Toast
Toast was always burnt toast. That silly little child.

STOP FLAMING!
You don't even know me, so please stop saying that stuff...

At 7/28/05 08:13 AM, Ninja-Chicken wrote: You insulted this thread for no reason. And lied to me and inglor about you being in aladins cave

Uhhh.. I guess you didn't get me...
I'm allowed to flame inglor anyways,he's my friend. = )


BBS Signature

Response to Foss: Credits Through As 2005-07-28 08:23:43


At 7/28/05 08:20 AM, kipling wrote: Child,

You can't know.
You don't know.

you were born.

As every other human being.

You post on average about 27 time per day.

Wrong,I have less than 20.

You raised your post count to2,000 in like 2 months.

Less than two months, I think.
So what?

Answered?

Nope.


BBS Signature

Response to Foss: Credits Through As 2005-07-28 08:25:58


2,079 in total (17.837 per day)

that's just nasty, that's like 3 times what I have and i reg here... :P postwhore.

Response to Foss: Credits Through As 2005-07-28 08:30:00


At 7/28/05 08:25 AM, Inglor wrote: that's just nasty, that's like 3 times what I have and i reg here... :P postwhore.

You have a nice strategy there:
If you havn't posted this post,I wouldn't reply.
Since you posted that post,my post count got higher.
Now you're going to say that I posted another post and call me "postwhore + 1".

Bastard :P

Actually,I've reached the quota of 4 replys.Now you can't call toast anti post limit a "postwhore" since it's notn a reg ;-p

Response to Foss: Credits Through As 2005-07-28 08:33:10


At 7/28/05 08:30 AM, ToastAntiPostLimit wrote:
You have a nice strategy there:

Thanks but if you ever use your APL account for such a dumb reason, neg will ban us both >:(

If you havn't posted this post,I wouldn't reply.

MY post did not trigger your reply, your postthirst did.

Since you posted that post,my post count got higher.

wtf are you talking about, are you dreaming you're flying in pakistan again :/ ?

Now you're going to say that I posted another post and call me "postwhore + 1".

yeah, postwhore++ actually, since it's after I'll submit this reply.

Actually,I've reached the quota of 4 replys.Now you can't call toast anti post limit a "postwhore" since it's notn a reg ;-p

I can call it a silly attempt to get banned since neg said not to use them where we can.

This got off topic, I'm not going to reply to anything else offtopic on this post.

Response to Foss: Credits Through As 2005-07-28 08:42:46


At 7/28/05 08:33 AM, Inglor wrote: Thanks but if you ever use your APL account for such a dumb reason, neg will ban us both >:(

Do YOU get banned if other people use anti post limit accounts?

wtf

Response to Foss: Credits Through As 2005-07-28 08:49:11


so how bout that AS... pretty neat stuff you can do with that AS. im makeing one of these foss things. im not gonna say what it is because if i do, 50 people will make one faster most of its done but im makeing it api instead of telling you to put "this" on "that" and what not. i can guarantee you its very useful.

Response to Foss: Credits Through As 2005-07-28 08:49:34


I get angry reactions from negativeONE ... I don't really care about being banned...

Response to Foss: Credits Through As 2005-07-28 09:01:11


At 7/28/05 08:25 AM, Inglor wrote: 2,079 in total (17.837 per day)

that's just nasty, that's like 3 times what I have and i reg here... :P postwhore.

BBS Posts: 5,208 in total (22.805 per day)

I'm a post-whore, but at least I use my posts to others advantages (as much as I can anyway), but whatever.. about the credits.

Are they supposed to stop at the bottom of the screen?


Sup, bitches :)

BBS Signature

Response to Foss: Credits Through As 2005-07-28 09:04:19


you mean 5209.

Response to Foss: Credits Through As 2005-10-29 18:22:08


At 7/27/05 09:46 AM, InglorAntiPostLimit wrote: tons of code

when i paste all that in, theres 8 actionscript errors. care to explain/fix?

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 14: String literal was not properly terminated
_root.container.createEmptyMovieClip("draw

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 15: ')' or ',' expected
ing", 20);

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 16: Syntax error.
_root.container.drawing._y = 0-_root.container._y;

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 42: String literal was not properly terminated
_root.container.createEmptyMovieClip("cont

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 43: String literal was not properly terminated
"+i, 1000+i*10);

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 44: ')' or ',' expected
_root.container["cont"+i].createTextField(

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 46: ')' or ',' expected
et, lineNum*20, 50, 50);

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 74: Unexpected '}' encountered
}

Total ActionScript Errors: 8 Reported Errors: 8

well, actually, i fixed it up, but now it doesnt even do anything except draw the black background \:


snyggys