Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


Forum Topic: MegaMan like movment?

(60 views • 6 replies)

This topic is 1 page long.

<< < > >>
Questioning

2-3-ryan-5

Reply To Post Reply & Quote

Posted at: 6/19/08 05:00 PM

2-3-ryan-5 LIGHT LEVEL 05

Sign-Up: 02/10/08

Posts: 98

I'm trying to find a good AS for megaman like movement with dashing and wall jumping
can anyone help please

Flash ROCKES!!!!!! My E-mail

BBS Signature

None

Deathcon7

Reply To Post Reply & Quote

Posted at: 6/19/08 05:17 PM

Deathcon7 LIGHT LEVEL 20

Sign-Up: 10/01/03

Posts: 5,140

At 6/19/08 05:00 PM, 2-3-ryan-5 wrote: I'm trying to find a good AS for megaman like movement with dashing and wall jumping
can anyone help please

There's no such thing as a 'good as for...' Something is either well programmed or it isn't. You're not going to find an easy to download file that will enable you to create a generic clip that will inherit that kind of interactivity. Flash is not a point and click program, everything it produces is user created, including Actionscript based programs that produce similar effects to Megaman like movement.


None

Ransom09

Reply To Post Reply & Quote

Posted at: 6/19/08 05:24 PM

Ransom09 EVIL LEVEL 16

Sign-Up: 08/05/03

Posts: 122

My scripts can be a bit inefficient but they work. Just define variables like "stance" (left or right) and "act" (run, jump, stand, etc.) based on keys pressed and then switch animations and do movements based on what the variables are every frame.

Meaning, the first half of the script would be an "action plan" where a bunch of questions are asked about what keys are being pressed and defines variables based on the answers, and the second half is the "execution" where it reads the variables and places the right animation and does things like this._x += 15, and so on.

What I mean by "places the right animation" is have every animation like running, standing, jumping, etc. all as their own MCs, then place them all into one MC, each frame being its own animation, and put the script on THAT MC, telling it to gotoAndStop(desiredAnimation);

Get it? This is just how I do it. There's probably a much more efficient way.


None

Deathcon7

Reply To Post Reply & Quote

Posted at: 6/19/08 05:28 PM

Deathcon7 LIGHT LEVEL 20

Sign-Up: 10/01/03

Posts: 5,140

Good effort but you have to realize he's only going to ask you to PM the code you use or e-mail him an swf.

And if you want to make your code more effective look into AS3. Or read up on Object Oriented Programming so that you can learn the principles behind programming efficient, object based code, found so often in video games. The reason I say learn AS3 is because it forces good practice on you, as well as it being laid out in a more object based layout.


None

2-3-ryan-5

Reply To Post Reply & Quote

Posted at: 6/19/08 05:36 PM

2-3-ryan-5 LIGHT LEVEL 05

Sign-Up: 02/10/08

Posts: 98

I'm not a beginer to flash or the AS
I'm just not the master at it so I ask people who are beter than me for help sometimes

have you ever played the game here called megaman x next
An AS like that would work fine

also shooting has been a problem for me

and I have a AS that would work but it dosent have dashing or wall jumping

Flash ROCKES!!!!!! My E-mail

BBS Signature

None

Deathcon7

Reply To Post Reply & Quote

Posted at: 6/19/08 05:43 PM

Deathcon7 LIGHT LEVEL 20

Sign-Up: 10/01/03

Posts: 5,140

If that's the case you should know by now how to figure you issues out. If you have any experience with AS at all you can program anything at all. All it requires is a tutorial or two and you're on your way. Nobody is going to program a game for you. Plus, if you have basic motion down these two additions shouldn't be too difficult to implement. Given of course that you actually programmed the game thus far yourself.


None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 6/19/08 05:47 PM

Super-Yombario LIGHT LEVEL 03

Sign-Up: 03/16/07

Posts: 310

Theres a perfect flash platform tutorial here, search Platform Tutorial... It talks about cameras and whatnot. Also, make a box and call it 'wall', use
jumping == false
to simulate wall jumping.


All times are Eastern Daylight Time (GMT -4) | Current Time: 02:46 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!