Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

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


OOP Platformer Tutorial

Author

smokinjoeevil

Contact | Add Artist to Favorites

Date Submitted

08/20/2007 | 03:37PM EST

File Information

Game | 490.4 KB

Add Game to Favorites

Current Score

3.68 / 5.00

Score Rank: #18,187
Popularity Rank: #39,403

485 votes | 3,935 views

Click an icon to vote on this!

You are not logged in.

If you log in to vote, you could win $100!

Related Submissions

Submissions by smokinjoeevil:

Users who liked this also enjoyed:

Everyone Suitable For All Audiences
OOP Platformer Tutorial
Play this Game!
Pop-Up | Add to Favorites
  • Daily 5th Place Daily 5th Place – 08/21/2007

Author Comments

If you're not too familiar with object-oriented coding, try viewing my other tutorial submission first (Object Oriented AS).

This Flash tutorial is meant to introduce the moderately experienced Flash user to a world of platform game design using movie-clip fundamentals fused with ActionScript coding in an object-oriented space.

My second tutorial. Please let me know what you think. If you think it moves too fast, leaves some things out that could otherwise have been covered in more detail, anything you like, etc.

21 reviews | Log in to write a review | Share this!

The people have spoken

Average Score: 8.8 / 10

Score: 10
Archon68

"Amazing."

date: August 21, 2008

I love the way you explain this. It is very very very very long, but also very very very very good. It's very informative, and I love the "nuke" button..

August 23, 2008

Author's Response:

Thanks a lot. You get here through viewing/using the Icon Creator? Seems I'm getting all sorts of attention recently...

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.

Score: 10
palodigon

"amazing tutorial"

date: June 27, 2008

This is an amazing tutorial. It didn't really help me because that's way too hard for me.
But I loved reading it. The graphics are cool, it looks very neat and it's very informative too.
It's everything a tutorial needs to be.
great job !

June 28, 2008

Author's Response:

Thanks! If you start with my other tutorial, you may find it easier to grasp some of the code and concepts presented in this one. Anyway... good luck in any of your Flash endeavors.

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.

Score: 10
YoinK

"excellent tutorial"

by: YoinK
date: June 14, 2008

but one thing I really would like to know... is how do you code bad guys... how do you make them move toward the person you control? And how do you enable all this stuff to work and have the screen scroll at the same time??? hmm... but yea. nice tutorial. I'm definitely going to look at this again.

June 15, 2008

Author's Response:

I'm actually going to be coming out with an AS3 re-hash of this tutorial plus the things you're asking about and more. The scrolling is actually a really easy one though. You simply make the background graphic into its own movie clip, give it an instance name, and tell it to move in the opposite direction the character clip moves. Then you just encase that movement in an if condition that controls when it stops moving as the character approaches the edge of the level on either side.

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.

Score: 9
Smconstpdgy

"An Awesome Tutorial! But.."

date: April 17, 2008

I would give it a 10/10 but I can't get any of this to work on flash cs3 '~' my character just wont move and yes I've check all the instance names and script and its all correct... it just wont move :\ and I did make the names. So If you can.. could you like send me a .fla with it or just a copy/paste other tutorial with just telling instance names? Thanks!

April 27, 2008

Author's Response:

The coding scheme/object/class setup is, regretably, not compatible with AS3. The project will work in Flash CS3, as long as you create it as an AS 2 document.

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.

Score: 10
psfreak2000

"great"

date: March 23, 2008

its really helpfull. the only problem (4 me) was that i couldn't copy and paste things. probarbly jut me though.

March 24, 2008

Author's Response:

Any of the code-boxes that you click to open during the tutorial should be copy and paste-able. You DO have to click and drag to highlight all of the text in those boxes... or I think pressing the [Control] + [A] key combination will also select-all in the text box. Then just use [Control]+[C] to copy, and paste into your text-editor of choice... or directly into Flash.

Rate this review:
Helpful!
Useless.
Flag as abusive.
No users have weighed in on this review.