Author Topic: Total Tutorial Topic  (Read 32717 times)

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Total Tutorial Topic
« on: September 08, 2005, 06:06:06 PM »
Clockpedia: http://www.clockcrew.net/clockopedia/flash/flash_tutorials

Small ActionScript Tut:
http://www.newgrounds.com/portal/view/223147
Preloader and Button Tut:
http://www.newgrounds.com/portal/view/223565

Vote fifen
:fifen::fifen::fifen:

then leave comments :)
(here or review it)
lemayo lol :soups:

BlitzballClock

  • Ex-Fafara, Saw, L-Block and more...
  • Posts: 83
    • View Profile
    • Awards
Tuts By Me :)
« Reply #1 on: September 08, 2005, 06:19:14 PM »
I need some AS,  :fifen:
[SIGPIC][/SIGPIC]

TheOffspringClock

  • Guest
Tuts By Me :)
« Reply #2 on: September 08, 2005, 06:26:42 PM »
those were by far the hottest tuts on the planet.

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #3 on: September 09, 2005, 10:12:46 PM »
HERES HOW TO PIXELIZE STUFF!!!
ok, now heres how you make your charater a cool pixelized what-ever-mabob
1. Makew your think, it can be what ever
2. Shrink it to about 1/3 (or 1/4) of normal size
3. Copy and pste it into MS Paint or something, any other drawing program will probably work.
4. Copy the one you just paste and go paste it back into your flash, you may have to use the 'Break Apart' (right click) to make it into a bitmap and/or flip it vertically.
5. If its a bitmap and the same size as the shrunken original, then your good so far
6. Now select the bitmap and go to Modify>Bitmap>Trace Bitmap and put the seeting as Color Threshold: 10 Minimum Area: 10 Curvefit: Pixels (DO NOT just do pixels on bitmaps unless it is already a pixeled picture) Corner Threshold: Many Corners [ATTETION: Flash has a glitch, you must unselect it then reselect it for the Bitmap options to be available!]
7. Hit OK on that screen and wait for it to finish tracing
8. Now select the orignal and go to Modify>Transform>Scale and Rotate and put the % at 300 (400 if 1/4 the original size) and hit OK, do the same with your pixeled one.
9. Compare and make adjustments if needed
10. NO WAY! PIXELATED IT!
EXAMPLE: Before/After
[FLASH]http://img.photobucket.com/albums/v510/foreverkul/pixelexample.swf[/FLASH]
lemayo lol :soups:

Finland Clock

  • Posts: 46
    • View Profile
    • http://yeeahdude.sheezyart.com/
    • Awards
Tuts By Me :)
« Reply #4 on: September 09, 2005, 10:15:44 PM »
Foreverkul, oh snap.

Anyway, nice dude.
[/URL]

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #5 on: September 10, 2005, 12:08:35 AM »
HERES HOW TO SAVE AS MX INSTEAD OF MX 2004 IF YOU HAVE IT!!!
Heres how to save as MX if you have MX 2004 (Prof)

http://img24.imageshack.us/my.php?image=saveasmx015oq.swf

HERES HOW TO MAKE A MAGIC 8 BALL THINGER!!!
Hers the code:
guess = random(7);
if (guess == 0) {
teller = "Yes";
}
if (guess == 1) {
teller = "No";
}
if (guess == 2) {
teller = "Maybe";
}
if (guess == 3) {
teller = "Probably";
}
if (guess == 4) {
teller = "Probably Not";
}
if (guess == 5) {
teller = "Very Likely";
}
if (guess == 6) {
teller = "Very Unlikely";
}


:fifen::fifen::fifen::fifen::fifen:
lemayo lol :soups:

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #6 on: September 10, 2005, 11:27:44 AM »
Quote from: CorpseGrinderClock
link doesn't work, friend

fixed


BTW ANYONE HAVE A TUT REQUEST?!?!?!
lemayo lol :soups:

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #7 on: September 10, 2005, 12:12:04 PM »
Stop and Start sound technique
1. Make a movie lcip and put the sound in it and make enough frames in it to play the whole song (must set on Stream)
2. make another movie with 2 frames (keyframes) and put stop() in the AS panel on the first
3. Make a button and on one key frame give it the code on(release){ nextFrame() } and on the second frame give it the code on(release){ prevFrame() }
4. put the movie clip with the music into one of the fames
5. your done!
(Ill make a flash tut on it when i have more tuts)
lemayo lol :soups:

SilverCherryClock

  • I have birds everywhere I go, they are in different places but all together. It\'s cool and fun.
  • Official Clock
  • Posts: 986
    • View Profile
    • Awards
Tuts By Me :)
« Reply #8 on: September 10, 2005, 12:27:24 PM »
:fifen:ed both.

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #9 on: September 11, 2005, 09:58:34 PM »
NEED FLASH HELP?
POST QUESTIONS HERE!
ILL SEE WHAT  I CAN DO FOR YOU!
lemayo lol :soups:

Bloody Eye Clock

  • Guest
Tuts By Me :)
« Reply #10 on: September 12, 2005, 06:26:54 AM »
How do you make a play button to start your flash?

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #11 on: September 12, 2005, 05:41:35 PM »
Preloader and Button Tut:
http://www.newgrounds.com/portal/view/223565

Vote fifen
:fifen::fifen::fifen:

then leave comments :)
(here or review it)
lemayo lol :soups:

black_hole_clock

  • Guest
Tuts By Me :)
« Reply #12 on: September 12, 2005, 07:43:44 PM »
how do i make a raceing car drive and if it hits the sides or other cars it explodes and pops back up in full stop...and cross the finish line...then tally score by the time it took....:D

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #13 on: September 12, 2005, 07:57:04 PM »
Quote from: black_hole_clock
how do i make a raceing car drive and if it hits the sides or other cars it explodes and pops back up in full stop...and cross the finish line...then tally score by the time it took....:D

yer talking about a whole game :O
1. There are different ways of driving a car
2. use a hit test like:
if (_root.redcar.hitTest.(this)){
gotoAndPlay( frame#of explosion)
}
3. use another hit test
if (_root.endline.hitTest.(this)){
_root.final_time = _root.timerthing
}
you would also need to make a movie clip and2 veariables (final_time and timerthing) and the movie clip should have and eqaul number of frames as the FPS and at the last frame it has the code _root.timerthing +=1
lemayo lol :soups:

CD Clock

  • The closely spaced tracks on readable the surface of a Compact Disc cause light to diffract
  • Posts: 419
    • View Profile
    • Awards
Tuts By Me :)
« Reply #14 on: September 13, 2005, 09:24:10 PM »
How would I make it so when you click on a play button, it goes to 1 of four frames.
Let's just say that the frames are:
2,
184,
547,
1046
I want the user to click on the play button, and then randomly to one of those frames. How would I do that?

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #15 on: September 13, 2005, 10:00:56 PM »
make a varible called theframe on the first frame and give it 0

on(release){
theframe = random(4)
if (theframe == 0 ){
_root.gotoAndPlay(2)
}
if (theframe == 1 ){
_root.gotoAndPlay(184)
}
if (theframe == 2 ){
_root.gotoAndPlay(547)
}
if (theframe == 3 ){
_root.gotoAndPlay(1046)
}
}

:D
lemayo lol :soups:

AmoebaClock

  • Guest
Tuts By Me :)
« Reply #16 on: September 13, 2005, 10:15:25 PM »
how did you do the coding for the corpsegrinder game where you use the arrow keys to make him move.

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #17 on: September 14, 2005, 06:55:43 PM »
TIEM FOR MOVEMENT TUTORIAL BOYZ AND GOYLS

copy and paste this into the action panel of the movieclip you wish to move, make sure he is facing right:


//put stop() on the first frame inside the movieclip

onClipEvent (load) {

//you can change this variable (5 is default)

   speed = 5

}

onClipEvent (enterFrame) {

//moves player right with right arrow key

   if (Key.isDown(Key.RIGHT)) {

      this._x += speed;

//put walking animation in the first few frames of the movie clip

//on the last frame of walking, put gotoAndStop(1) on its action panel

      this.play();

//this makes him turn around if needed

      if (this._xscale<0) {

         this._xscale *= -1;

      }         
   }

//moves player left with left arrow key

   if (Key.isDown(Key.LEFT)) {

      this._x -= speed;

      this.play();

//this makes him turn around if needed

      if (this._xscale>0) {

         this._xscale *= -1;

      }

   }

//moves player down with down arrow key

   if (Key.isDown(Key.DOWN)) {

      this._y += speed;

      this.play();      
   }

//moves player up with up arrow key

   if (Key.isDown(Key.UP)) {

      this._y -= speed;

      this.play();

               
   }

}


//put the width of your movie where is says  MOVIE WIDTH

//put the height of your movie where is says  MOVIE HEIGHT

onClipEvent (enterFrame) {

   if (this._x<0) {

      this._x = 0;

   }

   if (this._x>MOVIE WIDTH) {

      this._x = MOVIE WIDTH

   }

   if (this._y<100) {

      this._y = 100;

   }

   if (this._y>MOVIE HEIGHT) {

      this._y = MOVIE HEIGHT

   }

}



(dont copy beyond this point)

prais plz (naw, kiddin)

just leave comments :fifen:
I will soon have a game tutorial out, Ill tell you when



EXAMPLE: Graphics by Cream Clock
[FLASH]http://img.photobucket.com/albums/v510/foreverkul/ClockGameEXAMPLE1.swf[/FLASH]
lemayo lol :soups:

PuzzleClock

  • everybody dance now!!!
  • Posts: 19
    • View Profile
    • Awards
Tuts By Me :)
« Reply #18 on: September 14, 2005, 07:09:54 PM »
wow, this is a really good thread, praise to you roman clock, even the as for your game? cool. i really need tuts at this point hehe
_praiz_ my alias for newgrounds is Darth_Bambi _praiz_
[FLASH]http://i6.photobucket.com/albums/y208/DarthBambi/newsiggy.swf width=450 height=150[/FLASH]
my voice settings

RomanClock

  • True baller
  • Posts: 3988
    • View Profile
    • Awards
Tuts By Me :)
« Reply #19 on: September 15, 2005, 06:57:01 PM »
POST A QUESTION ABOUT FLASH AND ILL SEE WHAT I CAN DO! :D
lemayo lol :soups: