00:00
00:00
Newgrounds Background Image Theme

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

Reviews for "OOP Platformer Tutorial"

Very good... err...

Well! Very very well made... but im too lazy to read it all ^^ but i bet its better than other tutorials... err... u made with attack? xD

Great tutorial

It was great, I never coded a game with objects like that it gave me a new perspective of as.

Great! but...

i'm stuck at the part when i'm done moving the stickman, i made 5 frames and stuff got it moving ( my art sux but it still moved :P ) but then i need t get a code working, so i go back to the empty movieclip and pres F9 and paste the whole code there, but it doesn;t work, please PM me or something, if you want i can send you the fla

great

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

smokinjoeevil responds:

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.

excellent tutorial

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.

smokinjoeevil responds:

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.