Forum Topic: Side scroller tutorial

(344 views • 26 replies)

This topic is 1 page long.

<< < > >>
Crying

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 07:30 AM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

I wanna make a side scroller game. With health bars, enemies, different guns and melee. I can't find a tutorial so can someone give me a link to a tutorial(s) that will help me or can someone tutor me plez thanx.

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

Wolfears2

Reply To Post Reply & Quote

Posted at: 6/1/08 08:27 AM

Wolfears2 EVIL LEVEL 08

Sign-Up: 10/20/07

Posts: 861

No. Try starting with something simpler if you only joined NG 2 months ago. You can't make game like that without experience.

Click my sig for a hilarious thread.

BBS Signature

None

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 08:52 AM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

I've been using flash for over a year and already made a FPS and a basic side scroller but its just a random guy running around. no enemies or health

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

Vengeance

Reply To Post Reply & Quote

Posted at: 6/1/08 08:58 AM

Vengeance EVIL LEVEL 28

Sign-Up: 03/18/05

Posts: 5,033

Then you should know all about how to use variables to store health, and would just need some guidelines to writing AI.

========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature

None

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 09:01 AM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

Yeah pretty much but I need to know AS for enemies and weapons

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

Vengeance

Reply To Post Reply & Quote

Posted at: 6/1/08 09:05 AM

Vengeance EVIL LEVEL 28

Sign-Up: 03/18/05

Posts: 5,033

At 6/1/08 09:01 AM, Skulsta wrote: Yeah pretty much but I need to know AS for enemies and weapons

Weapons means more variables, possibly an array and I already gave you a link for enemies.
We're not going to be there holding your hand and giving you all the code you want. You need to learn these things yourself.

========|| WWWWWWWW>[-[Blog] - [Audio] - [Userpage] - [Flash] - [Last.fm]-]<WWWWWWWW ||========

BBS Signature

None

rmbrstrongbad18

Reply To Post Reply & Quote

Posted at: 6/1/08 10:10 AM

rmbrstrongbad18 NEUTRAL LEVEL 06

Sign-Up: 12/23/05

Posts: 450

At 6/1/08 09:05 AM, Vengeance wrote:
At 6/1/08 09:01 AM, Skulsta wrote: Yeah pretty much but I need to know AS for enemies and weapons
Weapons means more variables, possibly an array and I already gave you a link for enemies.
We're not going to be there holding your hand and giving you all the code you want. You need to learn these things yourself.

He asked for a tutorial! How could he be doing it anymore by himself? Do you seriously expect him to use trial and error in flash for him to write random things until something works?


None

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 10:30 AM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

Exactly! also can someone please tell me an AS so that when you push a key it plays the next frame or a specific frame eg "onbuttondown(left_arrow)GoToAndPlay17" or something

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 10:58 AM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

anyone?

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

Omition

Reply To Post Reply & Quote

Posted at: 6/1/08 11:26 AM

Omition EVIL LEVEL 04

Sign-Up: 01/13/08

Posts: 7

I have to agree with everybody else on the fact that you should be doing something simpler first, but as you obviously want to do this, I'll ask, are you using AS2 or AS3, because I can help you with AS2 but not 3


None

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 11:43 AM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

I dunno. I have flash 8 professioal

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

Omition

Reply To Post Reply & Quote

Posted at: 6/1/08 11:57 AM

Omition EVIL LEVEL 04

Sign-Up: 01/13/08

Posts: 7

okay so you have AS2. Haven't you thought of going onto tutorialized or flashkit and looked for a tutorial. They have multiple tutorials on this kind of stuff. (don't ask me for a link, because I don't know the exact URL)


Angry

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 12:48 PM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

I know about those, can you please just tell me the AS for the button thing

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

littlemaster

Reply To Post Reply & Quote

Posted at: 6/1/08 01:01 PM

littlemaster LIGHT LEVEL 09

Sign-Up: 12/02/06

Posts: 278

 onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)){ 
gotoAndStop(frame);}
if (Key.isDown(Key.DOWN)){
gotoAndStop(frame);}
if (Key.isDown(Key.LEFT)){; 
gotoAndStop(frame);} 
if (Key.isDown(Key.UP)){ 
gotoAndStop(frame);}
}

Don't make a sidescroller when you don't even know this thing. This code will not make you player move. Make something simpler.

A dog rules while a god drools or is that the opposite?

BBS Signature

None

littlemaster

Reply To Post Reply & Quote

Posted at: 6/1/08 01:07 PM

littlemaster LIGHT LEVEL 09

Sign-Up: 12/02/06

Posts: 278

There hasn't been a tutorial that perfectly works because its not your code at all. You just learn and make your own code.

A dog rules while a god drools or is that the opposite?

BBS Signature

None

MichaelHurst

Reply To Post Reply & Quote

Posted at: 6/1/08 01:29 PM

MichaelHurst FAB LEVEL 23

Sign-Up: 04/18/07

Posts: 4,619

At 6/1/08 10:30 AM, Skulsta wrote: Exactly! also can someone please tell me an AS so that when you push a key it plays the next frame or a specific frame eg "onbuttondown(left_arrow)GoToAndPlay17" or something

I'm sorry, but if you don't even know this, then I highly doubt you've been using flash for a year. This is probably one of the most simple things you will ever write.

Now seeing as you don't know how to do this...try doing something simpler. Your first game doesn't have to make front page, get an amazing score, get sponsored, etc. We all have to start somewhere and don't just jump into a giant project the second you get flash.

I think everyone wanted to do that, but we can all tell you its not going to work out.


None

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 01:56 PM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

For gods sake this isn't my first game! I have made a couple of side scrollers but I need AS for enemies and guns

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

Wurmy

Reply To Post Reply & Quote

Posted at: 6/1/08 01:58 PM

Wurmy LIGHT LEVEL 28

Sign-Up: 06/20/06

Posts: 2,307

At 6/1/08 01:56 PM, Skulsta wrote: For gods sake this isn't my first game! I have made a couple of side scrollers but I need AS for enemies and guns

Ok, so you made the games. But did you actually understand HOW you made the games?
It sounds to me like you just copied and pasted code from some shitty tutorials :|

If you really did make the platformers all by yourself you would understand the basics of coding and perhaps that could get you started on the simple concept of guns and enemies.

And even if you didn't quite understand the code you could probably head on over to Google or the little search bar at the bottom and search for tutorials yourself because there are at least 10,000 tutorials on exactly what you are looking for.

BBS Signature

None

mariomaster123

Reply To Post Reply & Quote

Posted at: 6/1/08 04:42 PM

mariomaster123 LIGHT LEVEL 11

Sign-Up: 04/27/08

Posts: 168

Ah, AI, my mortal enemy...

If your making a simple platformer game, the enemies will go back and forth... More complicated, the enemies my follow you...

which is it?

Also with the guns, you can visit this video on making an inventory, this guy helped me out A LOT:

http://www.youtube.com/watch?v=RMuap_kRg fA&feature=related

It is ALWAYS peanut butter jelly time...

BBS Signature

None

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 11:21 PM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

I guess moving back and forth

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

Skulsta

Reply To Post Reply & Quote

Posted at: 6/1/08 11:23 PM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

Sorry for the bump but I'm not using guns now. I need AS for my character so pressing A makes him punch and S makes him kick and both makes him do a special

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

Happy

Oobar

Reply To Post Reply & Quote

Posted at: 6/1/08 11:29 PM

Oobar NEUTRAL LEVEL 05

Sign-Up: 09/19/03

Posts: 96

If you want a tile based game check this out:
http://www.tonypa.pri.ee/tbw/start.html
or
http://oos.moxiecode.com/

BBS Signature

Elated

Skulsta

Reply To Post Reply & Quote

Posted at: 6/3/08 06:21 AM

Skulsta DARK LEVEL 05

Sign-Up: 03/06/08

Posts: 1,182

Hey thanx the second one is helping me out.

If Heavy Metal is so evil, why would God create it? BECAUSE I FUCKING TOLD HIM TO, BITCH!!

BBS Signature

None

GuyWithHisComp

Reply To Post Reply & Quote

Posted at: 6/3/08 06:34 AM

GuyWithHisComp LIGHT LEVEL 27

Sign-Up: 11/10/05

Posts: 4,008

At 6/1/08 01:29 PM, NG-Unit wrote: I'm sorry, but if you don't even know this, then I highly doubt you've been using flash for a year.

Personally, I didn't start even looking at ActionScript for about a year or more after getting Flash.

At 6/1/08 10:10 AM, rmbrstrongbad18 wrote: Do you seriously expect him to use trial and error in flash for him to write random things until something works?

But that's how you learn...

That's how I learned. Not by copy/pasting from tutorials.

BBS Signature

None

steyene

Reply To Post Reply & Quote

Posted at: 6/3/08 08:02 AM

steyene NEUTRAL LEVEL 05

Sign-Up: 10/28/06

Posts: 2

Tutorialized- Has a great variety of tutorials.

Anyway, follow the advice of the older members. I tried to do what you are doing, and failed. It put me of AS'ing for ages.

No offense but if you don't know how to access and play another movie clip, which is really the most basic piece of script that you are going to come across, I really doubt that you have made a couple of side scrollers. Sure you may of "made" them by copypaste, but not by actually piecing code together.

Break everything down into little bite sized chunks. I.e. work on arrays/variable, then may be movie clip controls, then a mix of the two. Followed by some mathematical scripting, then again mixing it. YOU WILL FAIL IF YOU TRY TO DO IT ALL AT ONCE.


None

CaptainPoncho

Reply To Post Reply & Quote

Posted at: 6/3/08 08:17 AM

CaptainPoncho EVIL LEVEL 08

Sign-Up: 11/29/03

Posts: 535

You made an FPS in flash? A sidescroller should be nothing, then.


None

ickydime

Reply To Post Reply & Quote

Posted at: 6/3/08 02:53 PM

ickydime NEUTRAL LEVEL 01

Sign-Up: 05/08/08

Posts: 22

Besides the TonyPa and OOS, you should also check out Strille's tutorial:

http://www.strille.net/tutorials/part1_s crolling.php


All times are Eastern Standard Time (GMT -5) | Current Time: 06:27 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!