PDA

View Full Version : [Flash] Rather Cheesy's Platform Tut!


Rather Cheesy
06-12-2007, 11:50 AM
This old tut was a big hit back on old SP so I figured I'd bring it back so that way people can use it here =)
This is very old and the graphics need updateing but the tut is still good
http://rathercheesy.douthitt.us/platformertut.swf height = 400 Width =550
Final Product (http://rathercheesy.douthitt.us/platformer1.swf) [hit the "How to Play" button never finished the game only the how to play level]
download the games .fla file (http://rathercheesy.douthitt.us/platformer1.fla)

Hope this helps some of you people out there =)

Freddeh
06-12-2007, 01:58 PM
Kewl.

Didn't read the tut, tho. :P

Vervanda
06-12-2007, 03:19 PM
your good at action script, there is a couple of little glitches but waay good.

Jousteh
06-12-2007, 03:24 PM
this is good tut... when i will get bored then im gonna make game from this tut...
this thread is worth for subscribing
*subscribed*

Scorpioxxx
06-12-2007, 03:50 PM
If i remember there was a problem with the box code, you could add more description for some of the codes.

Apples
06-12-2007, 04:24 PM
I saw it back on sp.
It was pretty good, helped me.

SSOutPhase
06-12-2007, 06:29 PM
I remember this tut. Best tut that helped me when it came to games. Thanks RC. ^_^

Rather Cheesy
06-12-2007, 09:57 PM
woo! again its popular =)

yes there is a MAJOR glitch in the platform code, if you jump when theres a wall above you you will jump into the wall and if you keep jumping, climb the wall BE AWARE OF THIS WHEN MAKEING THIS GAME

I hope to add more to it soon, and update graphics [I have to get into summer first =\]

hitman2333
06-13-2007, 02:52 PM
its nice but the play button on the final product doesnt work :P

Rather Cheesy
06-14-2007, 01:03 AM
its nice but the play button on the final product doesnt work :P

becuase you have to hit how to play =P I never finished the game just the how to play level so hit that, forgot to put that in first post...

*jynx*
06-14-2007, 01:41 AM
great tut well done dude.. good job. looks cool :D

Rather Cheesy
06-14-2007, 01:37 PM
I really want to add more but I'm to lazy to do so, and I have collabs I need to work on...

stick puppet
06-16-2007, 06:47 AM
Damm.. I did it but there were 5 syntax errors>
Maybe you can see what i did wrong!

**Error** Symbol=char, layer=Layer 1, frame=1:Line 1: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {

**Error** Symbol=char, layer=Layer 1, frame=2:Line 3: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {

**Error** Symbol=char, layer=Layer 1, frame=3:Line 3: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {

**Error** Symbol=char, layer=Layer 1, frame=4:Line 3: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Syntax error.
nClipEvent (load) {

Total ActionScript Errors: 5 Reported Errors: 5

Scorpioxxx
06-16-2007, 08:54 AM
Damm.. I did it but there were 5 syntax errors>
Maybe you can see what i did wrong!

**Error** Symbol=char, layer=Layer 1, frame=1:Line 1: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {

**Error** Symbol=char, layer=Layer 1, frame=2:Line 3: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {

**Error** Symbol=char, layer=Layer 1, frame=3:Line 3: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {

**Error** Symbol=char, layer=Layer 1, frame=4:Line 3: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Syntax error.
nClipEvent (load) {

Total ActionScript Errors: 5 Reported Errors: 5

Instance names? Last one is missing the first 'o'

Raffi
06-17-2007, 04:43 AM
Why can't you add a link to download the .fla file as well? I tried the tut and the game went completely wrong.

Rather Cheesy
06-18-2007, 10:57 AM
to the sntax error guy, just fromlooking at what you posted it looks like you had put the codes on the frames instead of the MC's

also I used to have a downloadable .fla on the site lemme check and see...
EDIT: found it!, putting it on the front page, its an .fla for my game section, don't steal it lol...

Rather Cheesy
06-25-2007, 04:41 PM
i'm just bumping the thread before it gets onto the second page =D

Raffi
07-08-2007, 09:54 AM
STEAL IT!!! Just kidding lol. Thx for the dowloadable link tho

Rather Cheesy
07-11-2007, 09:14 PM
no problem raffi, should I request for this to become an official tut? there aren't that many in depth tuts on things like this in the official ones...

I don't care if you steal it lol it has my fingerprints all over it lol

but don't steal it...

Steyene
07-12-2007, 05:51 AM
Hey cheesy wouldn't it make it a little better if it deleted the coin movie clip rather then make it invisible as then you still could have a hit test with it.

Vincent
07-12-2007, 08:38 PM
wow it was a little confuseing at first but after i read it twice i got the hang of the codes and movie clips, thx.

Rather Cheesy
07-25-2007, 11:46 AM
Hey cheesy wouldn't it make it a little better if it deleted the coin movie clip rather then make it invisible as then you still could have a hit test with it.
its a blank keyframe I thought... I don't know

I'm currently working on a game very similar to this, after it is finished I might make a newer tut for that game

finchywinchylynchy
07-31-2007, 12:27 PM
its awesome xcept i still need to know no how 2 make enemies

Rather Cheesy
08-02-2007, 03:18 PM
its awesome xcept i still need to know no how 2 make enemies[Period maybe?]

One word: GRAMMAR!

For the record the enemy I made for this game sucks and has TONS of glitches. I very recently made a new game with an alternative way of dieing [link in sig] if it gets good enough reveiws I might make a tut on it. In the mean time make do with what is here and experement with different codes to get better. ^_^

DancerOfDeath
08-03-2007, 07:41 AM
cool tut, helped me alot

Marshmallow
08-04-2007, 04:30 PM
I have a problem,when I start the game, the main character automatically goes down and I can't stop him....

Scorpioxxx
08-04-2007, 04:40 PM
One word: GRAMMAR!

For the record the enemy I made for this game sucks and has TONS of glitches. I very recently made a new game with an alternative way of dieing [link in sig] if it gets good enough reveiws I might make a tut on it. In the mean time make do with what is here and experement with different codes to get better. ^_^

I took the code, tore it appart, and made a working AI

scorpix
08-04-2007, 08:01 PM
hey dancer i got flash flash 9 pro

Rather Cheesy
08-04-2007, 10:12 PM
hey dancer i got flash flash 9 pro

OI! get an original name, stop spamming in my thread, and there is no flash 9! [after 8 its CS3]

@ the real Scorpio;
you have to give me the AI script :Cry: lol please? I'll be on MSN later [dunno when, but later]

Rather Cheesy
08-07-2007, 05:27 PM
bumpage

Do you guys think that this tut is good enough for the offcial tut section? [do you think I should ask paperclip to move it there?]

Scorpioxxx
08-08-2007, 06:25 AM
bumpage

Do you guys think that this tut is good enough for the offcial tut section? [do you think I should ask paperclip to move it there?]

He'll move it if he thinks it deserves it, also, you sorta need to make more indepth tutorial, you understand actionscript so should be able to do so.

Rather Cheesy
08-13-2007, 07:58 PM
ok then I will redo this once I find the time to do so and post it here again ^_^

NCz
10-21-2007, 10:40 PM
its cool i liked it. i got all the way through the "how to play" thing the dissapearing boxes dissapeared to fast when i tried to run over them i ended up just jumping...

Rather Cheesy
11-23-2007, 07:38 PM
bumping to get it off second page...

Paco
12-22-2007, 04:26 PM
lol never saw this
pretty nice though ,
could be more indepth.

Rather Cheesy
12-22-2007, 05:31 PM
Its old I was slightly a noob hence the graphics >_>

Raffi
12-23-2007, 06:43 AM
567.

Someone stole the fla and cut off the running, then submitted it onto the portal. But it got blammed.

Rather Cheesy
12-24-2007, 05:54 PM
Wait what? Some one stole my fla and submitted it to our portal? or Newground's? Do you know who? lol

I'm honestly not concerned about it.

Raffi
12-25-2007, 04:31 AM
Uhm...






























I don't remember who. It was here though >_>

Rather Cheesy
12-25-2007, 07:40 AM
lol fag, It has my name all over it. I'd love to see that submission, curse blam!

poovampire125
12-30-2007, 05:47 PM
help!!! ok i did everything u told me to up to the part where u say draw a box and name it ground as a mc and this is what i get

http://i243.photobucket.com/albums/ff282/poovampire125/error.jpg

help?
oh and can u put how to make the enemy.

Raffi
04-10-2008, 08:19 AM
Are you sure you didn't make the ground symbol a Button?

Just bumping this for the nubzz.

Rather Cheesy
04-10-2008, 12:14 PM
help!!! ok i did everything u told me to up to the part where u say draw a box and name it ground as a mc and this is what i get

http://i243.photobucket.com/albums/ff282/poovampire125/error.jpg

help?
oh and can u put how to make the enemy.
Its say8ing that the clipevent codes are only allowed on movieclip instances. I believe you are putting the codes on the frame. Its supposed to go inside the player movieclip on I think its the attack movieclip, I could be wrong though, check the tut. I believe I stated that this tut is not for people just starting scripting and they have to have a basic knowledge of the codes. So don't expect to get it the first time. Go learn some more codes and try my tut again. ^_^

and sorry about the MASSIVE delay in responing [lol couple months] I don't come to this section and check my threads often.
Are you sure you didn't make the ground symbol a Button?

Just bumping this for the nubzz.
He probably put it on the frame. Its a common mistake with first time scripters...

And thanks for the bump

axerman1001
04-20-2008, 07:19 PM
wow nice tut i really needed help with the MC's

madpassion
04-23-2008, 07:05 PM
Finally! A simple, easy to understand tutorial on making a flash game. Helped me alot. But my character has the occasional falling throught the ground thing, not a serious issue but if there is a solution to that problem, I would be very grateful.

pagan
04-24-2008, 05:34 PM
deathwish is a moron, he's really fat and ugly as well.
Disregard that, i suck cocks.


thanks for this tutorial, it helped me a lot.

Rather Cheesy
04-24-2008, 09:19 PM
wow nice tut i really needed help with the MC's
Thanks, glad it helped you!
Finally! A simple, easy to understand tutorial on making a flash game. Helped me alot. But my character has the occasional falling throught the ground thing, not a serious issue but if there is a solution to that problem, I would be very grateful.
Its possible that the ground may not be thick enough, the engine used for this honestly isn't that great. I've found better ways to do it since then, but it'd take to long to explain and I might as well make another tut if I was to explain it. But I don't want to make another tut so you're stuck with this, sorry. =P
deathwish is a moron, he's really fat and ugly as well.
Disregard that, i suck cocks.


thanks for this tutorial, it helped me a lot.

Deathwish stop editing pagan's posts, even if he is spamming. Just delete it and move on... You power craze is starting to get on my nerves...

tomboi232
04-26-2008, 01:06 AM
good tut man the coin at the end iz well good! =] :smile:

madpassion
04-27-2008, 04:19 AM
i'm new to stick page and i dont know how to get those grey boxes up with what someone else said (the quote thing) but like i said the ground doesent really bother me, but i did find this tutorial http://www.emanueleferonato.com/2007/04/20/create-a-flash-game-like-security-part-1/"]www.emanueleferonato.com/2007/04/20/create-a-flash-game-like-security-part-1/
that has hit test improvements on it. I dunno but you could maybee have a look at it.
Just an idea

jake the stick fighter
04-27-2008, 04:31 AM
. . . . . . . . you just go to Quote on the mesege you wanna quote and the thing you call "gray box"will apear

Raffi
04-27-2008, 05:28 AM
And thanks for the bump
No problem.

It's useful anyway.

madpassion
04-28-2008, 04:13 AM
. . . . . . . . you just go to Quote on the mesege you wanna quote and the thing you call "gray box"will apear

Ingenious.... thanks

Rather Cheesy
04-28-2008, 04:45 PM
i'm new to stick page and i dont know how to get those grey boxes up with what someone else said (the quote thing) but like i said the ground doesent really bother me, but i did find this tutorial http://www.emanueleferonato.com/2007/04/20/create-a-flash-game-like-security-part-1/"]www.emanueleferonato.com/2007/04/20/create-a-flash-game-like-security-part-1/
that has hit test improvements on it. I dunno but you could maybee have a look at it.
Just an idea

I'm not going to edit this tut, I've gotten alot better since I made it and I personally don't use many of the codes or techniques in it anymore. If I was going to edit this tut to make it better, I would just remake it from scratch. But I don't want to make a new one so you're stuck with this one, sorry.

Lixu
05-23-2008, 11:06 AM
Major bump.. But.. Cheesy, my "char" falls down, and I can not stop it, also the jump wont work

Chimaera
05-23-2008, 01:18 PM
Do you give the floor an IN?

Lixu
05-24-2008, 02:42 AM
I did, and I fixed it now, I forgot the symbol.
But what about the jump, it just shows as a normal pose wich goes up.

chahn375
05-24-2008, 05:53 PM
how come even though i copied your exact HUD code, my HUd health lags behind my guy? same speed and all.

madpassion
05-28-2008, 02:19 AM
well everything on mine forks fine now, but i was wandering if it is possible to make a checkpoint or something and maybe be able to save your game.

Rather Cheesy
05-28-2008, 01:23 PM
Major bump.. But.. Cheesy, my "char" falls down, and I can not stop it, also the jump wont work
The ground or char probably wasn't a symbol. Its a common mistake.
how come even though i copied your exact HUD code, my HUd health lags behind my guy? same speed and all.
Its probably my code, you most likely did nothing wrong. This code is unrefined and over a year old.
well everything on mine forks fine now, but i was wandering if it is possible to make a checkpoint or something and maybe be able to save your game.

Well of course its possible, but I'm not going to make everything in the game for you. If you want more advanced stuff like that, find another tut with it and add the needed codes in. I'm not adding on to this tut.

Nikiyolstik
06-02-2008, 07:31 PM
żOK?
So please do it.

Rather Cheesy
06-02-2008, 08:32 PM
I said I was NOT doing it. As in will not. As in not going to. As in I am not adding on to this tutorial.

Prince of PIMPs
06-12-2008, 08:43 AM
I'm such a nub, I ripped the tut, then I ripped the game,..... now I can't find them on my BIG ASS HARD DRIVE.... no srsly....

Prince of PIMPs
06-12-2008, 09:01 AM
also i found teh secrete place with all the coins on top

Lixu
06-16-2008, 06:46 AM
Wow ur so cool!

_slanted_
06-22-2008, 05:34 PM
nice tut i used it to make a game, link in my sig

Rather Cheesy
06-22-2008, 06:27 PM
nice tut i used it to make a game, link in my sig

Haha its like an exact copy of mine, animation included [minus the fullbody, skinning]

I don't mind though, its old and theres so many glitches and bugs in it.

_slanted_
06-22-2008, 09:29 PM
ya i used the codes and coped the way the animation looks I'm glad you don't mind i kinda felt like I was stealing, I'm going to watch your kh animation on ng now lol

unkownthous
06-24-2008, 12:24 PM
.... all thoughs scripts are hard to remember... how do u type all that and remember wat is wat

Hackor Pickel
07-03-2008, 12:27 PM
pretty god damn awsome, although i can't get the character to move, i think i done everything...
i could send you the .fla cheesy?

Raffi
07-04-2008, 09:54 AM
Just download tghe fla on the first post.

Rather Cheesy
07-04-2008, 03:27 PM
ya i used the codes and coped the way the animation looks I'm glad you don't mind i kinda felt like I was stealing, I'm going to watch your kh animation on ng now lol
Its not on Newgrounds, at least not yet... And I don't mind so long as you don't pass it off as your "hard work"...
.... all thoughs scripts are hard to remember... how do u type all that and remember wat is wat
Their not that hard to remember, its like learning a second language. Eventually after just typing it for so long you just start to think in that language when you're writing it...
pretty god damn awsome, although i can't get the character to move, i think i done everything...
i could send you the .fla cheesy?

Theres a link to download it on the first post...

Hackor Pickel
07-05-2008, 08:38 PM
Theres a link to download it on the first post...
i know, i dont need that one...
nevermind...
i found a different way, i prefer it and it's easier =]

Blayzed.
09-26-2008, 09:05 PM
this is probaly really old now but why does my guy fall through the floor after a couple of steps? http://fwup.net/view/a8q6enq98p

Scorpioxxx
09-28-2008, 12:00 PM
this is probaly really old now but why does my guy fall through the floor after a couple of steps? http://fwup.net/view/a8q6enq98p

He doesn't until he runs out of floor.

Raffi
09-29-2008, 10:43 AM
Ollolol, I found a way of improving the animations.

@ scorpio: Actually, when you use the run button, he falls through the floor. The run anim is too high. And the attack anim.

Scorpioxxx
09-29-2008, 12:11 PM
The foot goes down through the floor making its level drop down so he eventualy gets to low, the foot must START and END in the same hight in all anims in the player.

poo on a stick
09-30-2008, 04:05 AM
Dude... YOU TOTALLY FREAKIN ROCK!!!!!

I can see why this tut. was popular, the part that I liked the most was the fact that you explained what each code meant rather than just giving people a 'copy for credit' tut. I have been taking some lessons since I joined SPP and I'm deciding to make Poo on a Stick Productions, yeah I know it's gonna take ages but I'm sure that if I take good tuts like this and learn to understand the coding, I may just get better.

Any yeah thanks so much for this tut, really helped.

:Happy:

P.S Just as something to help with keeping the characters feet on the same level so it doesn't sink through the floor, just draw a line below him and complete your animation without his feet going under the line, once this is done, just delete the line from all of your frames and hey presto, you have a character that can't sink into the ground.

Plague
04-16-2009, 02:40 PM
Hey, I need some serious help.
I noticed others had a simular problem. Mine's a tad different.

My guy wont stop falling through the floor at this one particular point.
the rest of the floor is fine. It's just this one little part. I've redrawn it many times using a box, with and without lines. It is perfectly symetric.

I have no idea what's causing this. Can someone help?