00:00
00:00
Newgrounds Background Image Theme

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

As: Platform Game Basics

25,904 Views | 69 Replies
New Topic Respond to this Topic

Response to As: Platform Game Basics 2005-12-25 11:47:33


Wait...nevermind...I thought you meant the MC names are hero and end. Now (correct me if I'm wrong...), I think you mean the instance names?

As: Platform Game Basics


:(

BBS Signature

Response to As: Platform Game Basics 2005-12-25 11:49:41


'course instance names. Didnt i state it?

Response to As: Platform Game Basics 2005-12-25 11:50:49


Sorry...I'm not the best at ASing. I get confused every once in a while...I am SO sorry.


:(

BBS Signature

Response to As: Platform Game Basics 2005-12-25 11:51:24


At 12/25/05 11:50 AM, frog102 wrote: Sorry...I'm not the best at ASing. I get confused every once in a while...I am SO sorry.

nah this cool. As long as youre learning instead of copy pasting. :3 now i think we should let this thread die again.

Response to As: Platform Game Basics 2005-12-25 11:54:55


Okay. But...I think I'm etter off with a mouse game. That would be easier to make anyway.


:(

BBS Signature

Response to As: Platform Game Basics 2006-02-08 12:59:55


I know this is an old thread but i have just read through it and have decided to make a platformer seeing as this is probably the best AS i have found for making one.

I started making it and i got to the point were you make the ground. I put the actionscript in it and made sure it was all correct but it still didn't work. When you test the movie the player just falls straught through it and the floor doesent even show up.
Also when the player is falling is it meant to stay in the jumped position or keep going from the jumping to the standing position. Can anyone tell me what im doin wrong?
Thanks.

Response to As: Platform Game Basics 2006-02-11 00:09:29


UMM Cud someone tell me how to do a scrolling background with the ground code????? I tried the scrolling code, but then the ground didnt work. But i wanted the ground to scroll


;D

Sig by me.

BBS Signature

Response to As: Platform Game Basics 2006-04-16 17:41:10


Hey, I've just got one question... Im sure it'll be easy for most of you but here goes.
I wanted to know if i could make the character move while he's in the air. I've got my script working wonderfully but i find it inconvinient having to run to be able to jump and move.

OH! and great tut!

Response to As: Platform Game Basics 2006-05-01 08:13:38


This is great! Deefinitly going to use it.


...

Response to As: Platform Game Basics 2006-05-06 12:57:36


*help full hint*
make a example file that acually wrks


.

BBS Signature

Response to As: Platform Game Basics 2006-08-02 13:11:49


Hello,

After you finished with that, go to the main stage and drag the playerClip out from the library. Give it the instance name of "player". Open up the actions panel and add the following code:

Im sorry, but what or where is this 'playerclip'?

Thanks

Response to As: Platform Game Basics 2006-09-04 00:51:43


My ground is invisible and the dude falls through it. I'm either doing something wrong, or my Flash is messed up. I'd put money on the first choice.

Response to As: Platform Game Basics 2006-11-18 14:04:42


Oh man I'm really sorry. You didn't have to do that, but thanks. I experimented with code I learned, but it made a lot of errors which I couldn't find out.


Pre.Crew.Club - Get help making a club or crew.

Un.fr.gv.bl

Not really around much anymore

BBS Signature

Response to As: Platform Game Basics 2007-05-24 23:40:19


Great tut. Just wondering, is there a way to be able to run and jump at the same time? it would really help.

Response to As: Platform Game Basics 2007-05-25 00:07:19


sorry mistyped part of code. it works fine.

Response to As: Platform Game Basics 2007-05-25 02:00:04


Guhh... don't bump old threads...fine:
To be able to run and jump just get rid of the "and !jumping" for the "Key.isDown(Key.RIGHT/LEFT)"... Voilà.


AS2 Main | AS3 Main | Flash Wiki There is no excuse for not trying to learn. Linux.

BBS Signature

Response to As: Platform Game Basics 2007-06-30 23:57:39


Why is it whenever i test it the walls are invisible?

Response to As: Platform Game Basics 2007-07-01 00:09:31


At 7/1/05 01:46 PM, Nemo wrote: AS: Main

congrats on the one year aniversary

im bored

Response to As: Platform Game Basics 2007-07-19 22:09:33


At 12/25/05 11:09 AM, Fraggles wrote: Well, I have one question...HOW DO YOU MAKE AN ENDPOINT!?
Every tutorial that I have ever read never said anything about making ENDPOINTS.

Everyone is forgetting the most important thing: HOW TO GET TO THE NEXT LEVEL!

il cover this! i did this bewfore, and it works. make the endpoint thing u wanna touch, make it a MC and give it the instance name of thingy (change it if u want, but change in code as well), then add this code to the player:

onClipEvent (enterFrame) {
//handler, and makes it play on all frames
if (this.hitTest(_root.thingy)) {
//saying weather there is a collision betweeen player and endpoint
_root.nextFrame();
//you know what this is god dammit!
} else {
//else.......
_root.stop();
//stop the main timeline
}
}
//ends it

if that dosent work then your more screwed then a prostatute on speed night


If a man that always tells the truth comes up to you and says that another man always tells lies, and the man who always lies come up to you and says "I'm lying", then is he?

BBS Signature

Response to As: Platform Game Basics 2007-08-05 23:30:40


omfg thx soooo much im new 2 flash but that explains quite well 2 me ty


Rawr Bannana Time :)

BBS Signature

Response to As: Platform Game Basics 2007-08-06 01:31:38


I like how he jumps. Very good movement.

Response to As: Platform Game Basics 2007-09-12 13:10:58


im having trouble with my running action.
when my character starts to run, he gets stretched out, scaled horizontally.
wtf?

Response to As: Platform Game Basics 2008-04-06 02:53:23


At 9/12/07 01:10 PM, Trippy-Hippie wrote: im having trouble with my running action.
when my character starts to run, he gets stretched out, scaled horizontally.
wtf?

Pretty sure it's your _xscale when you're going left (or maybe right). It should be set to 100 for going right and -100 for going left.

When the player runs into the wall, he can keep tapping right and skip through the wall. I tried making the graphic for the wall thicker but that didn't help. Anyone know what might cause this?

Response to As: Platform Game Basics 2008-04-06 06:40:40


sorry but , i dnt like it , the way that it has a fixed root for a jump is a bit annoying..


BLOCKHEAD DRESSUP 2!!!!!! is coming out soon so keep your silly lil eyes on plant-eating-cats profile fool!

BBS Signature

Response to As: Platform Game Basics 2008-04-06 06:44:44


Why do you guys keep bumping a 3year old topic?!?!

Response to As: Platform Game Basics 2008-04-06 12:54:21


He asked a question, I knew the answer, I answered it. Then I had one of my own related to the topic. I didn't know (or cared) that it was three years old, or that it would bump.

Response to As: Platform Game Basics 2008-04-06 13:30:40


And never mind on my question, I fixed it. :)

Response to As: Platform Game Basics 2008-05-03 18:39:57


hhhhhhmmmm...
I did everything from the start, to the part:
stop();
_root.player.hitwalll = false;
_root.player.hitwallr = false;
and i played it, and my guy went through the ground...
any reason why this happened?
(and i copied the code directly from the post too)


Why the hell do people keep deleting my topics!

My opinions on stupid things are important too!

Response to As: Platform Game Basics 2008-05-03 18:41:21


Firstly, next time post all the code involving the problem. Secondly, way to bump a really old thread...you should have just made a new topic about your problem if anything.


MY E-PENIS IS BIGGER THAN YOURS

8=================================>

...and this is my fag...

BBS Signature

Response to As: Platform Game Basics 2008-06-01 14:36:22


i have a stage that extends past the screen, how do i make the view follow the character?


Told ya'll we shoulda practiced...