Forum Topic: Really stupid question...

(474 views • 21 replies)

This topic is 1 page long.

<< < > >>
Questioning

Wizard-Lock

Reply To Post Reply & Quote

Posted at: 9/17/05 10:22 AM

Wizard-Lock LIGHT LEVEL 30

Sign-Up: 02/07/05

Posts: 2,555

But can someone tell me the Actionscript for something like a metal slug game.

I don't care how much you tell me, just as long as its something like "Walk, shoot, jump"

Thanks, and don't play with yourself!

BBS Signature

None

Denvish

Reply To Post Reply & Quote

Posted at: 9/17/05 10:25 AM

Denvish DARK LEVEL 42

Sign-Up: 04/25/03

Posts: 15,933

"Walk, shoot, jump"

Hope that helps.

- - Flash - Music - Report Abuse - -
Not around any more, see last news post.

BBS Signature

None

Toast

Reply To Post Reply & Quote

Posted at: 9/17/05 10:27 AM

Toast DARK LEVEL 09

Sign-Up: 04/02/05

Posts: 8,414

onClipEvent(enterFrame){
doFunctions:
Walk, shoot, jump, kill, die, win, get ammunitions;
if !end:
loop;
}

I put on my robe and wizard hat

Why don't you check out my check out my userpage?

BBS Signature

None

DannyIsOnFire

Reply To Post Reply & Quote

Posted at: 9/17/05 10:28 AM

DannyIsOnFire DARK LEVEL 16

Sign-Up: 04/14/05

Posts: 6,393

you cant just ask for a full code to a game...
search for some tutorials on N.G

Danny

BBS Signature

Happy

Toast

Reply To Post Reply & Quote

Posted at: 9/17/05 10:31 AM

Toast DARK LEVEL 09

Sign-Up: 04/02/05

Posts: 8,414

At 9/17/05 10:28 AM, danny_is_on_fire wrote: you cant just ask for a full code to a game...

Of course he can!
Here's version no.2:
onClipEvent(makeGame){
attach.Hero();
attach.Ground();
attach.Enemy();
attach.Score();
Hero = newObject{shoot, dodge, walk, jump, win};
Ground = Jump(Limit);
Enemy(function) = attack.Hero();
Score = Enemy[death+i];
}
Here ya go, made an entire engine for you :)

I put on my robe and wizard hat

Why don't you check out my check out my userpage?

BBS Signature

None

DannyIsOnFire

Reply To Post Reply & Quote

Posted at: 9/17/05 10:42 AM

DannyIsOnFire DARK LEVEL 16

Sign-Up: 04/14/05

Posts: 6,393

At 9/17/05 10:31 AM, -Toast- wrote:
At 9/17/05 10:28 AM, danny_is_on_fire wrote: you cant just ask for a full code to a game...
Of course he can!
Here's version no.2:
onClipEvent(makeGame){
attach.Hero();
attach.Ground();
attach.Enemy();
attach.Score();
Hero = newObject{shoot, dodge, walk, jump, win};
Ground = Jump(Limit);
Enemy(function) = attack.Hero();
Score = Enemy[death+i];
}
Here ya go, made an entire engine for you :)

lol poor kid he must be so confused tryin this code out wondering why it wont wok

Danny

BBS Signature

None

Toast

Reply To Post Reply & Quote

Posted at: 9/17/05 10:44 AM

Toast DARK LEVEL 09

Sign-Up: 04/02/05

Posts: 8,414

At 9/17/05 10:42 AM, danny_is_on_fire wrote: lol poor kid he must be so confused tryin this code out wondering why it wont wok

You must be either very stupid or not knowing when to use sarcasm...

Danny

~Toast

I put on my robe and wizard hat

Why don't you check out my check out my userpage?

BBS Signature

None

Go0gley

Reply To Post Reply & Quote

Posted at: 9/17/05 10:46 AM

Go0gley LIGHT LEVEL 19

Sign-Up: 07/08/04

Posts: 218

You'll have to learn Actionscript (help section in Flash). If I write the code, the game will be mine, not yours. And you can ignore idiots like Toast... he lacks style.


None

Paranoia

Reply To Post Reply & Quote

Posted at: 9/17/05 10:54 AM

Paranoia DARK LEVEL 31

Sign-Up: 04/22/05

Posts: 9,119

At 9/17/05 10:31 AM, -Toast- wrote: Here's version no.2:
onClipEvent(makeGame){
attach.Hero();
attach.Ground();
attach.Enemy();
attach.Score();
Hero = newObject{shoot, dodge, walk, jump, win};
Ground = Jump(Limit);
Enemy(function) = attack.Hero();
Score = Enemy[death+i];
}
Here ya go, made an entire engine for you :)

Shame on you! Lying out in the open like this, a wild n00b could wander over, swallow this and choke to death on it. Is that what you want to happen?

A rate of change in sanity with respect to time.

BBS Signature

None

gorman2001

Reply To Post Reply & Quote

Posted at: 9/17/05 10:57 AM

gorman2001 NEUTRAL LEVEL 14

Sign-Up: 08/18/02

Posts: 1,879

well, to give a usefull answer:

FOR ALL YOUR NEEDS IN ACTIONSCRIPT, SEARCH NO MORE ! GO TO AS: MAIN !


None

Denvish

Reply To Post Reply & Quote

Posted at: 9/17/05 10:58 AM

Denvish DARK LEVEL 42

Sign-Up: 04/25/03

Posts: 15,933

Here you go, paste this onto the first frame of a new fla and press CTRL+ENTER to view the game. You might need to tweak the code a little for it to suit your requirements.

SW = Stage.width;
SH = Stage.height;
C1 = new Array("0xFFFFFF", "0x000066", "0xFF00FF", "0x632794", "0xB10303", "0x000033", "0x6D6DFE", "0xCC33FF", "0x4B016B", "0xFF9900", "0xFEBE81", "0x00CCFF", "0x00FFFF", "0xFFFF99", "0x003399", "0xE6FFFF", "0x01ADAD", "0xFF99FF", "0xFFFFCC", "0xFFFFC1");
beginFill(0, 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
onEnterFrame = function () {
for(i=1;i<6;i++){
new Color(_root.w["l"+i]).setRGB (C1[random(C1.length)]);
}
};
with (_root) {
createEmptyMovieClip("w", 1);
with (w) {
createEmptyMovieClip("l1", 1);
with (l1) {
lineStyle(5, 0xF40500, 30);
beginFill(0xF40500, 100);
moveTo(-92, -57);
lineTo(-91, 31);
curveTo(-52, 26, -37, -16);
curveTo(-32, -54, -69, -62);
curveTo(-82, -64, -92, -57);
moveTo(-79, -44);
lineTo(-77, 10);
curveTo(-45, -8, -54, -38);
curveTo(-65, -51, -79, -44);
endFill();
}
createEmptyMovieClip("l2", 2);
with (l2) {
lineStyle(5, 0xF40500, 30);
beginFill(0xF40500, 100);
moveTo(11, -19);
curveTo(18, -50, 47, -56);
curveTo(83, -66, 90, -23);
curveTo(93, 1, 65, 17);
curveTo(38, 28, 19, 12);
curveTo(10, 1, 11, -19);
moveTo(29, -24);
curveTo(31, -36, 54, -41);
curveTo(76, -42, 74, -18);
curveTo(73, 3, 48, 7);
curveTo(22, 3, 29, -24);
endFill();
}
createEmptyMovieClip("l3", 3);
with (l3) {
lineStyle(5, 0xF40500, 30);
beginFill(0xF40500, 100);
moveTo(-147, -52);
lineTo(-111, -60);
lineTo(-107, -47);
lineTo(-117, -44);
lineTo(-118, 28);
lineTo(-109, 25);
lineTo(-107, 39);
lineTo(-142, 48);
lineTo(-145, 34);
lineTo(-134, 31);
lineTo(-134, -38);
lineTo(-144, -37);
lineTo(-147, -52);
endFill();
}
createEmptyMovieClip("l4", 4);
with (l4) {
lineStyle(5, 0xF40500, 30);
beginFill(0xF40500, 100);
moveTo(96, -33);
lineTo(92, -51);
lineTo(170, -69);
lineTo(168, -51);
lineTo(136, -43);
lineTo(137, 33);
lineTo(122, 37);
lineTo(120, -39);
lineTo(96, -33);
endFill();
}
createEmptyMovieClip("l5", 5);
with (l5) {
lineStyle(5, 0xF40500, 30);
beginFill(0xF40500, 100);
moveTo(-32, -55);
lineTo(4, -63);
lineTo(8, -50);
lineTo(-2, -47);
lineTo(-3, 25);
lineTo(6, 22);
lineTo(8, 36);
lineTo(-27, 45);
lineTo(-30, 31);
lineTo(-19, 28);
lineTo(-19, -41);
lineTo(-29, -40);
lineTo(-32, -55);
endFill();
}
_x=SW/2;_y=SH/2;
}
}

- - Flash - Music - Report Abuse - -
Not around any more, see last news post.

BBS Signature

None

Nick

Reply To Post Reply & Quote

Posted at: 9/17/05 11:02 AM

Nick FAB LEVEL 22

Sign-Up: 08/22/05

Posts: 1,966

Lol, i just tested that code. I thought it was going to be something like "n00b" when i first saw it was API.


None

Denvish

Reply To Post Reply & Quote

Posted at: 9/17/05 11:05 AM

Denvish DARK LEVEL 42

Sign-Up: 04/25/03

Posts: 15,933

At 9/17/05 11:02 AM, _Nick_ wrote: Lol, i just tested that code. I thought it was going to be something like "n00b" when i first saw it was API.

All I can say is I slaved my guts out writing that game for him, I'd better get a mention in the credits.

- - Flash - Music - Report Abuse - -
Not around any more, see last news post.

BBS Signature

None

liaaaam

Reply To Post Reply & Quote

Posted at: 9/17/05 11:07 AM

liaaaam NEUTRAL LEVEL 21

Sign-Up: 12/11/04

Posts: 12,766

At 9/17/05 11:05 AM, Denvish wrote: I'd better get a mention in the credits.

A mention in the credits? I'd want co-author for that, really good work.


None

Wizard-Lock

Reply To Post Reply & Quote

Posted at: 9/17/05 11:08 AM

Wizard-Lock LIGHT LEVEL 30

Sign-Up: 02/07/05

Posts: 2,555

At 9/17/05 10:31 AM, -Toast- wrote:
At 9/17/05 10:28 AM, danny_is_on_fire wrote: you cant just ask for a full code to a game...
Of course he can!
Here's version no.2:
onClipEvent(makeGame){
attach.Hero();
attach.Ground();
attach.Enemy();
attach.Score();
Hero = newObject{shoot, dodge, walk, jump, win};
Ground = Jump(Limit);
Enemy(function) = attack.Hero();
Score = Enemy[death+i];
}
Here ya go, made an entire engine for you :)

Hey thanks, That's exactly what I needed.

I didn't try it, I'm not an idiot... Made me laugh though ^_^

Kyle_Ph (Function) "Laugh_out_loud" {1} end()

And that "Idiot" syntax made my day :)

I told you it was a stupid question

BBS Signature

None

liaaaam

Reply To Post Reply & Quote

Posted at: 9/17/05 11:10 AM

liaaaam NEUTRAL LEVEL 21

Sign-Up: 12/11/04

Posts: 12,766

At 9/17/05 11:08 AM, Kyle_Phoenix wrote: Kyle_Ph (Function) "Laugh_out_loud" {1} end()

..what?

function Kyle_Ph(){
trace("Laugh out loud");
}


None

Mogly

Reply To Post Reply & Quote

Posted at: 9/17/05 11:11 AM

Mogly LIGHT LEVEL 25

Sign-Up: 09/05/04

Posts: 10,304

1) goto flash kit
2) look for a tut
3) dload it
4) change stuff
5) submit

and toast, dont steal liams joke. its got a bit old now

~ MogTom ~ Dont fuck around with my dog. All that I can see I steal. ~
NG FFR ~ Automatic for the people.

BBS Signature

None

Toast

Reply To Post Reply & Quote

Posted at: 9/17/05 11:17 AM

Toast DARK LEVEL 09

Sign-Up: 04/02/05

Posts: 8,414

At 9/17/05 11:11 AM, Mogly wrote: and toast, dont steal liams joke. its got a bit old now

What the heck are "Liam's jokes"?

I put on my robe and wizard hat

Why don't you check out my check out my userpage?

BBS Signature

None

Wizard-Lock

Reply To Post Reply & Quote

Posted at: 9/17/05 11:31 AM

Wizard-Lock LIGHT LEVEL 30

Sign-Up: 02/07/05

Posts: 2,555

At 9/17/05 11:17 AM, -Toast- wrote:
At 9/17/05 11:11 AM, Mogly wrote: and toast, dont steal liams joke. its got a bit old now
What the heck are "Liam's jokes"?

Exactly what I was thinking

BBS Signature

None

Inglor

Reply To Post Reply & Quote

Posted at: 9/17/05 12:08 PM

Inglor NEUTRAL LEVEL 17

Sign-Up: 01/26/03

Posts: 10,957

hahahahahahahah, rock on denvish :) this game will get frontpaged fo' sure


None

Wizard-Lock

Reply To Post Reply & Quote

Posted at: 9/17/05 12:10 PM

Wizard-Lock LIGHT LEVEL 30

Sign-Up: 02/07/05

Posts: 2,555

At 9/17/05 12:08 PM, Inglor wrote: hahahahahahahah, rock on denvish :) this game will get frontpaged fo' sure

Rolfs! I can imagine the score, "You voted 5 for this movie, raising it's score from 5.000 to 5.000!"

Wheee!

BBS Signature

None

Denvish

Reply To Post Reply & Quote

Posted at: 9/17/05 01:57 PM

Denvish DARK LEVEL 42

Sign-Up: 04/25/03

Posts: 15,933

At 9/17/05 12:08 PM, Inglor wrote: hahahahahahahah, rock on denvish :) this game will get frontpaged fo' sure

I was actually very tempted for a short while, then I realised that people just wouldn't get the joke and it would be flagged or blammed pretty quickly.

- - Flash - Music - Report Abuse - -
Not around any more, see last news post.

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 11:21 AM

<< Back

This topic is 1 page long.

<< < > >>
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!