Clock Crew

Community => Flash & Flash Accessories => Topic farted by: RomanClock on September 08, 2005, 05:06:06 PM

Title: Total Tutorial Topic
Post by: RomanClock on September 08, 2005, 05: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)
Title: Tuts By Me :)
Post by: BlitzballClock on September 08, 2005, 05:19:14 PM
I need some AS,  :fifen:
Title: Tuts By Me :)
Post by: TheOffspringClock on September 08, 2005, 05:26:42 PM
those were by far the hottest tuts on the planet.
Title: Tuts By Me :)
Post by: RomanClock on September 09, 2005, 09: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]
Title: Tuts By Me :)
Post by: Finland Clock on September 09, 2005, 09:15:44 PM
Foreverkul, oh snap.

Anyway, nice dude.
Title: Tuts By Me :)
Post by: RomanClock on September 09, 2005, 11:08:35 PM
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:
Title: Tuts By Me :)
Post by: RomanClock on September 10, 2005, 10:27:44 AM
Quote from: CorpseGrinderClocklink doesn't work, friend
fixed


BTW ANYONE HAVE A TUT REQUEST?!?!?!
Title: Tuts By Me :)
Post by: RomanClock on September 10, 2005, 11:12:04 AM
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)
Title: Tuts By Me :)
Post by: SilverCherryClock on September 10, 2005, 11:27:24 AM
:fifen:ed both.
Title: Tuts By Me :)
Post by: RomanClock on September 11, 2005, 08:58:34 PM
NEED FLASH HELP?
POST QUESTIONS HERE!
ILL SEE WHAT  I CAN DO FOR YOU!
Title: Tuts By Me :)
Post by: Bloody Eye Clock on September 12, 2005, 05:26:54 AM
How do you make a play button to start your flash?
Title: Tuts By Me :)
Post by: RomanClock on September 12, 2005, 04: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)
Title: Tuts By Me :)
Post by: black_hole_clock on September 12, 2005, 06: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
Title: Tuts By Me :)
Post by: RomanClock on September 12, 2005, 06:57:04 PM
Quote from: black_hole_clockhow 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
Title: Tuts By Me :)
Post by: CD Clock on September 13, 2005, 08: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?
Title: Tuts By Me :)
Post by: RomanClock on September 13, 2005, 09: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
Title: Tuts By Me :)
Post by: AmoebaClock on September 13, 2005, 09:15:25 PM
how did you do the coding for the corpsegrinder game where you use the arrow keys to make him move.
Title: Tuts By Me :)
Post by: RomanClock on September 14, 2005, 05: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]
Title: Tuts By Me :)
Post by: PuzzleClock on September 14, 2005, 06: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
Title: Tuts By Me :)
Post by: RomanClock on September 15, 2005, 05:57:01 PM
POST A QUESTION ABOUT FLASH AND ILL SEE WHAT I CAN DO! :D
Title: Tuts By Me :)
Post by: CyanClock on September 15, 2005, 07:01:24 PM
How about mouse-aiming (a la madness)?
Title: Tuts By Me :)
Post by: RomanClock on September 15, 2005, 07:04:47 PM
Well then, I guess I'll just post the FLA of this game I made.
I was in the glock group when I madse this, but now I dont go cuz its a gay house now.

[FLASH]http://img.photobucket.com/albums/v510/foreverkul/glockgun003.swf[/FLASH]

FLA (390kb): http://f-up.net/animations/index.php?q=/up/glockgun002MX.fla&f=true
Title: Tuts By Me :)
Post by: RomanClock on September 15, 2005, 07:33:33 PM
I POST A GOLDEN TUT WITH A FREE FLA AND NO ONE ANSWERS???
...
Title: Tuts By Me :)
Post by: Positive Clock on September 15, 2005, 07:36:10 PM
teach me the arts of gloss
Title: Tuts By Me :)
Post by: CyanClock on September 15, 2005, 07:57:21 PM
I like it!
Title: Tuts By Me :)
Post by: RomanClock on September 15, 2005, 08:33:47 PM
Heres your tut :)

[FLASH]http://img.photobucket.com/albums/v510/foreverkul/howtogloss001.swf[/FLASH]

You dont have to make it smaller unless you want to!


And can people say something so I know if its being used?
Title: Tuts By Me :)
Post by: CyanClock on September 15, 2005, 08:42:59 PM
In addition to the aiming one, I'd also like a tutorial on testing if an enemy has been hit by a bullet.
Title: Tuts By Me :)
Post by: HemoClock on September 15, 2005, 11:57:24 PM
wow roman clock is one smart cat..:)
Title: Tuts By Me :)
Post by: SantaClock on September 16, 2005, 12:01:15 AM
how do i make my sig smaller?
Title: Tuts By Me :)
Post by: RomanClock on September 16, 2005, 08:35:53 AM
Quote from: SantaClockhow do i make my sig smaller?
1. Copy all the frames
2. make a new movieclip
3. Paste the frames into that movie clip
4. Make it what ever size you want.

BTW: I dont know how to get height and width for flash on these posts
Title: Tuts By Me :)
Post by: CyanClock on September 16, 2005, 06:30:03 PM
{flash http://www.sie.com/flash.swf width="desiredwidth" height="desiredheight} Replace the curly brackets with normal ones.
Title: Tuts By Me :)
Post by: RomanClock on September 16, 2005, 07:08:36 PM
...
It doesnt seem to work...
Title: Tuts By Me :)
Post by: RomanClock on September 16, 2005, 11:27:14 PM
Posting flash linkage for later reference

(flash)http://dot.com/SWF.swf width=X height=Y(/flash)

replace ( and ) with [ and ]

thanks to renegade
Title: Tuts By Me :)
Post by: Gore_Clock on September 17, 2005, 08:13:26 AM
Oh great Lord of CC actionscript, I come to you with a question:

How can I stop this guy from bouncing up and down like this?
[FLASH]http://i3.photobucket.com/albums/y72/Condizzle/CCFlash/GameEngineQuestion.swf height = 200 width = 400[/FLASH]

In the original code that I got from flashkit, it falls halfway through the platform before stopping, so I added i a piece that makes it go up when it's touching a platform, so it would rise to the surface if it went through a bit. It does work, but the problem is that it sends it to the point where it isn't touching the platform, so it falls back through again. So is there a way to make it stop before it loses the collision, or just a way to make it stop falling partially through the platform in the first place.
(Sorry if this seems incoherant)
Title: Tuts By Me :)
Post by: CyanClock on September 17, 2005, 08:17:14 AM
Quote from: Roman ClockPosting flash linkage for later reference

(flash)http://dot.com/SWF.swf width=X height=Y(/flash)

replace ( and ) with [ and ]

thanks to renegade
D'oh! I have decided I don't like BBCode!
Title: Tuts By Me :)
Post by: RomanClock on September 17, 2005, 11:31:27 AM
Quote from: Gore_ClockOh great Lord of CC actionscript, I come to you with a question:

How can I stop this guy from bouncing up and down like this?

FLASH

In the original code that I got from flashkit, it falls halfway through the platform before stopping, so I added i a piece that makes it go up when it's touching a platform, so it would rise to the surface if it went through a bit. It does work, but the problem is that it sends it to the point where it isn't touching the platform, so it falls back through again. So is there a way to make it stop before it loses the collision, or just a way to make it stop falling partially through the platform in the first place.
(Sorry if this seems incoherant)
Id have to look at the code to tell whats wrong
Title: Tuts By Me :)
Post by: CyanClock on September 18, 2005, 11:33:51 AM
Need more tutorials...they're addicting as crack! _praiz_
Title: Tuts By Me :)
Post by: PuzzleClock on September 18, 2005, 12:30:55 PM
wow you are really good a tutorials, i will be back later when i think of somthing to ask, that glossing one was really good, and helpful, also, it was cool of you to post the .fla of that glock game.  :fifen:
Title: Tuts By Me :)
Post by: SirClock on September 18, 2005, 12:49:24 PM
Well, it seems like you just copied most of these from someone elses tutorials.
Title: Tuts By Me :)
Post by: RomanClock on September 18, 2005, 04:32:38 PM
I CANT BELEIVE I HAVENT POST THIS YET!!! :O

Dowanload this:
http://f-up.net/animations/index.php?q=/up/super_movie_controls_version_4MX.fla&f=true


Put it on a movie, you'll like it.
When I have time I will uprgrade the graphics and code.
Title: Tuts By Me :)
Post by: RomanClock on September 19, 2005, 04:38:46 PM
GUYZ
what tuts do ya need?
Dont forget to look first and download the stuff thats downladable like the link above^^^^
Title: Tuts By Me :)
Post by: FLOUNDERMAN_CLOCK on September 19, 2005, 06:04:43 PM
I love you roman clock. I want your children more than I want element's children
Title: Tuts By Me :)
Post by: RomanClock on September 19, 2005, 10:08:35 PM
[flash]http://img.photobucket.com/albums/v510/foreverkul/funwithbinary02.swf width=800 height=600[/flash]

I know, im just too cool :cool:
Title: Tuts By Me :)
Post by: AmoebaClock on September 19, 2005, 10:20:31 PM
the gloss tutorial doesn't star for me can you post it on image shack?
Title: Tuts By Me :)
Post by: RomanClock on September 19, 2005, 11:32:27 PM
Quote from: AmoebaClockthe gloss tutorial doesn't star for me can you post it on image shack?
http://img137.imageshack.us/my.php?image=howtogloss0012tg.swf
Title: Tuts By Me :)
Post by: FlashlightClock on September 20, 2005, 03:52:19 AM
i guessing i have to reply here for music for your (cool) game?

if so, this might be a song you could use:3

http://www.newgrounds.com/audio/view.php?id=733616&sub=6914
Title: Tuts By Me :)
Post by: SpywareClock on September 20, 2005, 06:23:28 AM
One of these days I'll have to learn that button stuff so I can make something like those Coolboyman Collections or The Daily2oons. Which is that usually 4 button menu & when you click on each button it plays 4 different short movies. That'd be neat, I'll be workin on learning that feature. :sombrero:
Title: Tuts By Me :)
Post by: PuzzleClock on September 20, 2005, 04:53:41 PM
yay! that gloss tut really helped me make puzzle look better, i will be updating my sig with a link to the new improved puzzle clock .fla soon, thanks for the gloss thing :)
Title: Tuts By Me :)
Post by: ConcertaClock on September 21, 2005, 12:51:25 AM
Quote from: Gore_ClockOh great Lord of CC actionscript, I come to you with a question:

How can I stop this guy from bouncing up and down like this.

In the original code that I got from flashkit, it falls halfway through the platform before stopping, so I added i a piece that makes it go up when it's touching a platform, so it would rise to the surface if it went through a bit. It does work, but the problem is that it sends it to the point where it isn't touching the platform, so it falls back through again. So is there a way to make it stop before it loses the collision, or just a way to make it stop falling partially through the platform in the first place.
(Sorry if this seems incoherant)
Haha, I think i no what tut you're using. I think the problem is in the hitTest for the Hero and Platform, in order to stop him from going halfway, just put _y+(his height) in the hitTest part, that's what i did.

Oh, and roman, I no you have that glock thing, but can you make a super basic 2d shooter with like a circle, shooting another circle. I'm a beginner in as and so that whole... glock things script was a little confusing for me.
Title: Tuts By Me :)
Post by: CyanClock on September 21, 2005, 04:39:00 PM
What about the ones I suggested?
Title: Tuts By Me :)
Post by: RomanClock on September 22, 2005, 11:33:07 PM
(ill get to yours in bit Cyan)

Circle shoots a circle: This uses the AS Camera (requires MX 2004 or better)

1. Make two circles (on enemy and one you) and a square for the shot/laser guin ammo.
2. Make them all seperate movieclips. Give your ship the instance name "myship", the ammo "ammo", and the enemy "enemy"
3. On both circles make an explosion animation. Make sure that the first frame on each has stop() on the actionscript panel
4. Use my earlier movment tutorial to move your guy but add this code:

onClipEvent(enterFrame){
this._x += _root.speed*2
}

This code makes him continue forward.
Also put:

onClipEvent(enterFrame){
//this detects when your hit by the enemy
if(_root.enemy.hitTest(this)){
this.play()
}

5. On the square ammo, put:

onClipEvent(enterFrame){
//the if statement detects when spce is pressed
if(Key.isDown(Key.SPACE)){
//this makes the ammo appear in front of the ship
this._x = _root.myship._x +(_root.myship._width/2)
this._y= _root.myship._y
}
}

Add this to the ammo as well, it makes it go forward:

onClipEvent(enterFrame){
this._x += _root.speed*2 + 10
}

6. On the enemy put this, it tells when its hit by the laser and to go back.

onClipEvent(enterFrame){
if(_root.ammo.hitTest(this)){
//put the width of the movie where it says WIDTH
this._x = _root.myship._x + WIDTH + random(200)
//put the height of the movie where it says HEIGHT
this._y= random(HEIGHT)
}
}

7. On the AS Camera put this:

onClipEvent(enterFrame){
this._x += _root.speed*2
}

8. YOUR DONE! (Additional coding need for more enemies and weapons)
Title: Tuts By Me :)
Post by: doomclock on September 24, 2005, 02:20:08 PM
............ lol :rockin:  :rockin:
Title: Tuts By Me :)
Post by: RomanClock on September 24, 2005, 04:46:31 PM
Quote from: doomclock............ lol :rockin:  :rockin:
lol?
k
anyone need anymore tutorials?
Im making a new one at school :)
Title: Tuts By Me :)
Post by: RomanClock on September 26, 2005, 08:58:26 AM
K, i guesss no one needs a tut right now
I prefer you posts questions ere instead of IMing me because its slowing my flash projects. PLEASE POST QUESTIONS HERE or look to see if it is here already
Title: as help
Post by: PentagramClock on September 29, 2005, 03:13:40 PM
I'm trying to make a button link to my fla. And here is the code I have:

on(release)getURL(http://www.locklegion.com
/uploads/CrookNeckClock.fla);

Then this comes up:
Quote from: flash**Error** Scene=Scene 1, layer=clock, frame=1:Line 1: '{' expected
     on(release)getURL(http://www.locklegion.com/uploads
/CrookNeckClock.fla);

**Error** Scene=Scene 1, layer=clock, frame=1:Line 2: Syntax error.

Total ActionScript Errors: 2     Reported Errors: 2
Why is this happening?
Title: Tuts By Me :)
Post by: RomanClock on September 29, 2005, 04:49:19 PM
Quote from: PentagramclockI'm trying to make a button link to my fla. And here is the code I have:

on(release)getURL(http://www.locklegion.com
/uploads/CrookNeckClock.fla);

Then this comes up:

Why is this happening?

You forgot the { } on everything, " " on the adress, and you left out , "_blank" completely. It helps if you use the Behaviors tab to add a web page :)  


on (release) {
getURL("http://www.locklegion.com/uploads/CrookNeckClock.fla", "_blank");
}
Title: Tuts By Me :)
Post by: PentagramClock on September 29, 2005, 05:20:22 PM
Quote from: Roman ClockYou forgot the { } on everything, " " on the adress, and you left out , "_blank" completely. It helps if you use the Behaviors tab to add a web page :)  


on (release) {
getURL(&quot;http://www.locklegion.com/uploads/CrookNeckClock.fla&quot;, &quot;_blank&quot;);
}
{{{{Roman}}}}

Damn, how did I miss that?! Thanks!
Title: Tuts By Me :)
Post by: RomanClock on October 02, 2005, 01:19:44 PM
Anyone need help?
Title: Tuts By Me :)
Post by: PuzzleClock on October 03, 2005, 05:18:49 PM
ummm, ok how bout, help with sound, as in keeping it in sync with the animation, but not just speakonia, music also (if it is different). I know this one isn't much of a challenge for you, but it would be handy to always have it here. :)
Title: Tuts By Me :)
Post by: RomanClock on October 03, 2005, 06:44:54 PM
try putting it in a movie clip, I think that works, Ive had the same problem before, flash is just screwed up that way for some reason.
Title: Comic
Post by: morbid_clock on October 04, 2005, 05:48:03 PM
hey Rowman Clawk.. i needeth help with makeing a comic bo0k style flash, it has two buttons on the bottom right... ive scripted them to take you back and forward to the next and previous frames.. but thoes frames wont play the animations i have in them.. in the very main window i have stop actions on every frame... and the frames with the animations in them are movie clips.. this may seem confuzZeling.. but recon ya could help me out here ?
Title: Tuts By Me :)
Post by: RomanClock on October 04, 2005, 06:13:49 PM
either
1. Flash is screwed up
or
2. I don't understand
Title: Tuts By Me :)
Post by: ForkClock on October 04, 2005, 08:05:29 PM
Thanks for the tuts roman! i will use them to the best of my ability.
Title: Tuts By Me :)
Post by: PentagramClock on October 04, 2005, 08:51:19 PM
This isn't really about flash but:

Whenever I try to send someone an swf. they say that they can't open it in player. What is with this?
Title: Tuts By Me :)
Post by: ConcertaClock on October 05, 2005, 03:54:52 AM
sorry, forgot to check up here :D but um er ya. I was kinda hoping for a duplicate MC thing, cause mine jus doesn't work. but thanks anyway.
Title: Tuts By Me :)
Post by: voidSkipper on October 05, 2005, 05:42:14 AM
Quote from: Roman ClockAnyone need help?
yep! what is the as to go to a specific scene?
on(release){
[help]
}

and i have my sig set up properly, why doesnt it work?
Title: Tuts By Me :)
Post by: RomanClock on October 05, 2005, 08:44:20 AM
Quote from: ConcertaClocksorry, forgot to check up here :D but um er ya. I was kinda hoping for a duplicate MC thing, cause mine jus doesn't work. but thanks anyway.
Duplicated MC's isnt that complicated but it gets messed up quickly

duplicateMovieClip(PutMCNameHere, "GiveItAnInstaceName", putDepth)
Title: Tuts By Me :)
Post by: RomanClock on October 05, 2005, 08:45:46 AM
Quote from: molecularClockyep! what is the as to go to a specific scene?
on(release){
[help]
}

and i have my sig set up properly, why doesnt it work?

on(release){
_root.gotoAndPlay("TypeScenNameHere", typeFrameNumberHere)
}

what website are you hosting your sig on?
Title: Tuts By Me :)
Post by: Chainsaw Clock on October 05, 2005, 11:54:01 AM
Quote from: Roman Clockon(release){
_root.gotoAndPlay("TypeScenNameHere", typeFrameNumberHere)
}

what website are you hosting your sig on?
You ought to be Clock of the Month
Good Job on the tutorials.
Title: Tuts By Me :)
Post by: RomanClock on October 05, 2005, 11:48:06 PM
I think COTM means I get to be super modded or admined.
Title: Tuts By Me :)
Post by: DualGuitarClock on October 06, 2005, 07:19:41 PM
Jeez, I'm embarrased to ask this, cuz its a horribly noob question. I need a good technique for making grass. For my characters to walk on. Just plain, simple grass. All i have now is a green>darkgreen gradient.  :(
Title: Tuts By Me :)
Post by: voidSkipper on October 07, 2005, 06:02:17 AM
Quote from: Roman Clockon(release){
_root.gotoAndPlay("TypeScenNameHere", typeFrameNumberHere)
}

what website are you hosting your sig on?

thanks.
as for sig, its hosted at http://www.game-warden.com/desktopfs/cc%20sig.swf

also, i used the correct AS to link to my fla, but to no avail. ive changed my clock anyway, so im changing my sig as well :/
Title: Tuts By Me :)
Post by: RomanClock on October 07, 2005, 04:43:02 PM
Quote from: DualGuitarClockJeez, I'm embarrased to ask this, cuz its a horribly noob question. I need a good technique for making grass. For my characters to walk on. Just plain, simple grass. All i have now is a green>darkgreen gradient.  :(
Hm, I haven done much things with grass and my computers broke right now so I can't check out what you can do on flash.
Title: Tuts By Me :)
Post by: BunnyClock on October 12, 2005, 08:18:48 AM
Hello Roman Clock, i'm trying to make a dress up game for my clock, but somehow, when i test the game, all the clocks that have masking in it get screwed, heres an example-->

http://img402.imageshack.us/my.php?image=game17ny.swf
Title: Tuts By Me :)
Post by: RomanClock on October 12, 2005, 06:04:42 PM
Check if the layers are ordered correctly and if there is a misplaced picture. I cant really tell from an swf, id need to see a picture of the frames.
Title: Tuts By Me :)
Post by: PentagramClock on October 14, 2005, 09:03:15 PM
In one frame I have three movieclips with music in them, and one the first frame of each of them i have stop();. The instance names are music1, music2, and music3. I also have three buttons, that have the following codes:

on(release){_root.music1.Play();}

on(release){_root.music2.Play();}

on(release){_root.music3.Play();}

Why doesn't it work?
Title: Tuts By Me :)
Post by: RomanClock on October 14, 2005, 09:09:22 PM
Quote from: PentagramclockIn one frame I have three movieclips with music in them, and one the first frame of each of them i have stop();. The instance names are music1, music2, and music3. I also have three buttons, that have the following codes:


on(release){
_root.music1.Play();
}



on(release){
_root.music2.Play();
}



on(release){
_root.music3.Play();
}


Why doesn't it work?
well, from what I see here, Play() ins't suposed to have a capital P.
If thats not the problem, try getting rid of _root. and have nothing in front of it or try put _parent.
Title: Tuts By Me :)
Post by: PentagramClock on October 14, 2005, 09:11:29 PM
Quote from: Roman Clockwell, from what I see here, Play() ins't suposed to have a capital P.
If thats not the problem, try getting rid of _root. and have nothing in front of it or try put _parent.
.... Motherfuck. It was the cap. That was driving me insane.
*kicks self in face*
Title: Tuts By Me :)
Post by: RomanClock on October 14, 2005, 09:19:15 PM
happens to me too :(
but there is a button that may help, it looks like its got three or four lines in it, its the auto format button, it may help you correct stuff.  Also, if your using normal mode, swith to expert mode, it gives more freedom.
Title: Tuts By Me :)
Post by: PentagramClock on October 14, 2005, 09:25:00 PM
Quote from: Roman Clockhappens to me too :(
but there is a button that may help, it looks like its got three or four lines in it, its the auto format button, it may help you correct stuff.  Also, if your using normal mode, swith to expert mode, it gives more freedom.
I was useing expert, thats why that happened.
Title: Tuts By Me :)
Post by: DrClock on October 16, 2005, 01:25:51 AM
can you post an actionscript camera? with a thing on how to use?
Title: Tuts By Me :)
Post by: CrustClock on October 16, 2005, 08:25:09 AM
I love you roman
Title: Tuts By Me :)
Post by: RomanClock on October 16, 2005, 05:47:34 PM
Quote from: Rocker_clockcan you post an actionscript camera? with a thing on how to use?
Here it is. I did not make it. ****IT ONLY WORKS IN MX 2004 OR BETTER!!!!!!!!!!!!!!!****
Download:
http://f-up.net/animations/index.php?q=/up/asCamera01.fla&f=true

Here is something I did with it:
[FLASH]http://img215.imageshack.us/img215/7841/superdrawpreview20lp.swf width=600 height=400 [/FLASH]
Title: Tuts By Me :)
Post by: DrClock on October 19, 2005, 05:14:48 PM
thanks~ now can you post the fog affect in flash 8 and how to do rlly nice backrounds?
Title: Tuts By Me :)
Post by: RomanClock on October 19, 2005, 05:25:32 PM
I dont have Flash 8 :(
And Im not the best guy to ask about graphics, mostly Action script and techniques. But you can try these:
Fog: Make white circles with about 20% alpha and stetch them horizontally (sideways) so they are long, then group them together and make them moveslowly across the screen.
BG: Just start with drawing stuff far off then come foward, trees are good filler and so are mountains.
Title: Tuts By Me :)
Post by: patriotclock on October 19, 2005, 05:33:57 PM
Pixel thing is turbo awesome
Title: Tuts By Me :)
Post by: RomanClock on October 19, 2005, 06:10:10 PM
Quote from: Patriot ClockPixel thing is turbo awesome
Thanks ^^
I like that phrase, turbo awesome (and I don't know why)
Title: Tuts By Me :)
Post by: patriotclock on October 19, 2005, 06:27:22 PM
I like it too thats why I use it.

TURBO AWESOME
Title: Tuts By Me :)
Post by: voidSkipper on October 20, 2005, 02:19:36 AM
the gloss tutorial is great too.  :fifen:
Title: Tuts By Me :)
Post by: DrClock on October 21, 2005, 06:34:12 PM
k well. i was wonder just now, can you post a tutorial on how to put text in a box and when you press the button the guy will speak it? i want to make a sig like that, so the speech would be speakonia.... thanks!
Title: Tuts By Me :)
Post by: RomanClock on October 22, 2005, 06:46:03 PM
Quote from: Rocker_clockk well. i was wonder just now, can you post a tutorial on how to put text in a box and when you press the button the guy will speak it? i want to make a sig like that, so the speech would be speakonia.... thanks!
Here is your answer:

1. Make a DYNAMIC text box (use text box tool to make a text box and look at the dropdown menu on the properties panel.)
2. In a box called 'Var:' near the bottum right-hand corner in the properties panel, type anything you want to respresent the variable for talking to be (use 'talk' for the sake of the tutorial)
3. Go to the first frame of your movie and put:
talk = "Hi there everyone!"
into the action panel (or you can replace Hi there everyone one with other phrases, but you must keep the " " marks)
4. Make a button(s) and use put the following code on the actionscrip panel:
on(release){
_root.talk = "I'm another clock!"
}
5. There you go, now the DYNAMIC text box with the var talk will display that sentence. (To add sound, on the third frame of the button, put the sound clip there and make it EVENT)

[FLASH]http://img.photobucket.com/albums/v510/foreverkul/greenmantalktut01.swf[/FLASH]
Download this by downloading the attachment, I may not have it up forever.
Title: Tuts By Me :)
Post by: BunnyClock on October 23, 2005, 10:09:22 AM
Quote from: Roman ClockCamera

Hey Roman, could you send me the fla or tell me how to let the camera zoom please? I'm planning on making a big map.  _praiz_
Title: Tuts By Me :)
Post by: RomanClock on October 23, 2005, 02:39:07 PM
Quote from: BunnyClockHey Roman, could you send me the fla or tell me how to let the camera zoom please? I'm planning on making a big map.  _praiz_
You make the camera smaller to zoom in and bigger to zoom out (just add or subtract from length and width)
Title: Tuts By Me :)
Post by: Krak on October 24, 2005, 06:30:06 PM
Quote from: Roman ClockHERES 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:

No.

Use a switch/case structure for that. Twy again love.

And this is really basic stuff you're teaching here. Don't get a big ego, sweetie. Stuff like buttons, preloaders, and dynamic text variables are easy.

Try explaining to someone more advanced stuff like artificial intelligence, pseudo-3D theory, physics; stuff like that.

Sorry love, but your camera example was done very poorly: there were no walls, the text displays were screwed up, and the zoom counter got SMALLER as you zoomed in. I'm not saying you suck, by no means;

But maybe you should wait until you master these concepts before you go teaching them....but then again, in the past, I've done that too.

It seems to me like you're teaching as you learn....and if you teach that way, chances are you're going to end up teaching someone else the wrong way.
Title: Tuts By Me :)
Post by: RomanClock on October 24, 2005, 06:38:56 PM
Quote from: KrakNo.

Use a switch/case structure for that. Twy again love.

And this is really basic stuff you're teaching here. Don't get a big ego, sweetie. Stuff like buttons, preloaders, and dynamic text variables are easy.

Try explaining to someone more advanced stuff like artificial intelligence, pseudo-3D theory, physics; stuff like that.
Yes I know, but I try and keep it at a simple level, most of the clocks are only asking for basic things and don't know advanced actionscript. You have to take one step at a time. Its like teaching a sport, first you do the basics, then the harder stuff.

As for the Camera, I didnt really spend time on it, and there are sposed to be no walls. It was gonna be for something though.
Title: Tuts By Me :)
Post by: badeggclock on October 24, 2005, 07:05:33 PM
Hey Roman, I was just wondering if you had a complete walkthough of what to do with the codes for the actionscript.  I mean where to put them, etc...  If some one already asked for this I'm sorry.
Title: Tuts By Me :)
Post by: RomanClock on October 24, 2005, 07:46:23 PM
Quote from: badeggclockHey Roman, I was just wondering if you had a complete walkthough of what to do with the codes for the actionscript.  I mean where to put them, etc...  If some one already asked for this I'm sorry.
Well, there is a tab near the buttom that says actions, thats where you put the codes.
There are handlers { } to tell when code starts and stops.
There is the on() for buttons and the onClipEvent() for movieclips. They can be switche din some cases. Krak has a good tutorial site, I cant remember the URL though.
Title: Tuts By Me :)
Post by: RomanClock on November 01, 2005, 07:36:41 PM
[FLASH]http://img.photobucket.com/albums/v510/foreverkul/buttontutorial001.swf width=200 height=200[/FLASH]
Title: Tuts By Me :)
Post by: RaidClock on November 04, 2005, 04:18:04 AM
Hi Foreverku. :)
Title: Tuts By Me :)
Post by: RomanClock on November 04, 2005, 09:33:37 PM
Quote from: RaidClockHi Foreverku. :)
And who are you?
Title: Tuts By Me :)
Post by: MapClock on November 12, 2005, 10:34:12 PM
How about one for making a working clockface.
Title: Tuts By Me :)
Post by: RomanClock on November 12, 2005, 10:37:16 PM
Quote from: AssholeHow about one for making a working clockface.
You can open almost anyones fla and find one, just test it in a movie to see if it works.
Title: Tuts By Me :)
Post by: MapClock on November 12, 2005, 10:40:17 PM
Thanks ill find one.
Title: Tuts By Me :)
Post by: EnvelopeClock on November 12, 2005, 11:20:05 PM
I forgot how to do this. I knew a while back. How do I have a button go to a website in another window?
Title: Tuts By Me :)
Post by: Wind-up Clock on November 12, 2005, 11:48:00 PM
on (release)
     getURL("Yoursitehere+http", "_blank");
Title: Tuts By Me :)
Post by: EnvelopeClock on November 13, 2005, 12:18:25 AM
Quote from: Wind-Up Clockon (release)
     getURL("Yoursitehere+http", "_blank");
Thanks!
Title: Tuts By Me :)
Post by: Joey 56465468 on November 17, 2005, 07:55:11 PM
if you can please help me
how do i mask to show emotion?
it would be greatly apreciated _praiz_
Title: Tuts By Me :)
Post by: slof on November 17, 2005, 08:14:09 PM
well i voted 4 is that good enough?
Title: Tuts By Me :)
Post by: RomanClock on November 20, 2005, 03:45:27 PM
Make something move towards another clip:

Give the clip that the things are atracted to the anme "character".
Add this code to everything attracted to it:

onClipEvent (load) {
   speed = 1 //you can change this number to make it go faster or slower
}
onClipEvent (enterFrame) {
   if (_x<_root.character._x) {
      _x += speed
   }
   if (_x>_root.character._x) {
      _x -= speed
   }
   if (_y<_root.character._y) {
      _y += speed
   }
   if (_y>_root.character._y) {
      _y -= speed
   }
}
Title: Tuts By Me :)
Post by: MapClock on November 27, 2005, 09:14:29 PM
What would be the actionscript for a button link to this website
http://www.locklegion.com/uploads/AssholeClock's%20FLA.fla
Title: Tuts By Me :)
Post by: MapClock on November 27, 2005, 09:27:46 PM
Nevermind got it
Title: Tuts By Me :)
Post by: Ion Clock on November 28, 2005, 11:29:06 AM
dude, roman clock, u helped me alot with actionscripting, thanx. :D
Title: Tuts By Me :)
Post by: PentagramClock on December 05, 2005, 08:44:16 PM
Quote from: motherfucking flashScene name must be quoted string
     {gotoAndStop(1,1);}
CUNT! It's what Code Hint says to do. :(
Title: Tuts By Me :)
Post by: Exclamation Mark on December 06, 2005, 03:51:39 PM
ive copied the actionscritp on you'r writign face tut but the bit's where i edit what should i put there? and put it to the 1st of jan and make it qute slow please.
Title: Tuts By Me :)
Post by: AlethioClock on December 18, 2005, 02:02:11 PM
Having some major troubles with the clock thing.
Where the B do I put the code?
I did it as this:
Layer1: empty (should put code somewhere here)
Layer2: secHand
Layer3:hourHand
Layer4:minHand

(Layers are in that order, layer 1 is top layer 4 is bottom)
Where the greasy poop do I put the code? :confused:
EDIT: Nevermind. Figured it.
Title: Tuts By Me :)
Post by: Bloody Eye Clock on April 18, 2006, 08:17:21 PM
What are tabs?
Title: Tuts By Me :)
Post by: AlethioClock on May 09, 2006, 02:34:03 AM
Holy shit, I made the last post. "Last edited by: Heart".
I wasn't even DemonHeart back then, talk about a dead thread.
Title: Tuts By Me :)
Post by: BlueGasMask on June 04, 2006, 06:01:55 PM
Quote from: Pokemon with the poke in the mon and the thing where the guy comes out and there's a fight and he bights him ORR AH HAHHH MAH HOR HOR HORfixed


BTW ANYONE HAVE A TUT REQUEST?!?!?!

How about a tutty on making a real time clock face?
Title: Tuts By Me :)
Post by: Kidney BeanClock on July 23, 2006, 08:11:46 AM
I know this is probably a stupid question, but could you show me how to make a button that can toggle the subtitles in a flash?
Title: Tuts By Me :)
Post by: TambourineClock on September 01, 2006, 08:37:03 PM
I have Macromedia Flash Professional 8 and Macromedia Flash MX on my computer. And I was going to learn how to make all 3 buttons work in my game. All I learned was how to make one button work, and the actionscript was:

on(release){
_root.play();
}

next thing I found a way to make it clickable, then on the next keyframe, I typed in the Actions panel:

stop();

That's all I learned. Here, I'll tell you who taught me that: when I was on Newgrounds (well, not anymore I'm not. Some people quit Newgrounds for good, some don't. But I did, but when I was on Newgrounds), some girl on Newgrounds helped me make a button in Google Talk when I had Macromedia Flash Professional 8 up, and she said through Google Talk that this Actionscript on how to make a PLAY button work (look at the Actionscript at the top) and she said that it works with ANY flash program. So readers, when you read this topic, I just told you the script for a PLAY button in your movie. I'm just helping out to others, too, Roman Clock. Just like other people say, "Help is appreciated."  :)

Plus, is there a way you can give me a script into making all 3 buttons work? Y'know, "New game", "Load game", and "Options" buttons? How do you make all those buttons work? Is there a way you can help me, too, Roman Clock? Thanks for your kindness?

P.S. After you give me the scripts, can you help me with the difficulty buttons and other buttons you can think of for my "Options" menu? I'm stumped aswell as other people are.
Title: Tuts By Me :)
Post by: OmniClock on October 17, 2006, 10:59:43 PM
How do you make an radiating glow?
Title: Tuts By Me :)
Post by: RomanClock on October 17, 2006, 11:44:12 PM
Lol, whoa, I thought this thread died. I guess not.
Some of the codes in here are now outdated compared to some of the stuff I use now.
Title: Tuts By Me :)
Post by: SensuClock on October 17, 2006, 11:47:08 PM
Quote from: Roman ClockLol, whoa, I thought this thread died. I guess not.
Some of the codes in here are now outdated compared to some of the stuff I use now.
UPDATE!
Title: Tuts By Me :)
Post by: RomanClock on October 17, 2006, 11:58:54 PM
Quote from: SensuUPDATE!
?_?
_|_
| | |
_|_
Robot Man is confused
Title: Tuts By Me :)
Post by: SensuClock on October 18, 2006, 12:05:19 AM
_____
   (____)
.(_O_)
...(_)

Bumble Bee hive is not amused.
Title: Tuts By Me :)
Post by: RomanClock on October 18, 2006, 12:07:22 AM
Quote from: Sensu________
   (____)
    (_O_)
             (_)
________
(____)
(_O_)
(_)
fail
Title: Tuts By Me :)
Post by: SensuClock on October 18, 2006, 12:07:44 AM
Yes yes, i edited my post 50 times. You just can't understand how important this text bumble bee hive is to me!
Title: Tuts By Me :)
Post by: Jim Gaffigan on October 18, 2006, 06:41:31 PM
How do I get a direct link for a flash on imageshack? The person who helped me with my current sig just gave me the URL without telling me how to get it.
Title: Tuts By Me :)
Post by: SensuClock on October 18, 2006, 09:38:16 PM
http://www.clockcrew.net/bbs/showthread.php?t=30666
Title: Tuts By Me :)
Post by: salmonberryclock on October 19, 2006, 09:47:19 AM
I need help fixing up my game. I'll post a link as soon as sheezyart gets back up.
Title: Tuts By Me :)
Post by: Jim Gaffigan on October 19, 2006, 05:09:43 PM
Quote from: Sensuhttp://www.clockcrew.net/bbs/showthread.php?t=30666

I don't have Firefox, fewel. >:0

Never mind, I finally figured out how to do it. :)
Title: Tuts By Me :)
Post by: berimfuckyoubau on December 16, 2007, 09:44:52 PM
im reviving this.

make a life bar tutorial please. i need it for a game that i will probably post in the arcade
Title: Tuts By Me :)
Post by: Beret on December 25, 2007, 04:14:31 PM
Tut on exporting animations.
How do you get then to be high quality like Athenais's?
 
Ie: (https://clockcrew.net/talk/proxy.php?request=http%3A%2F%2Fimg172.imageshack.us%2Fimg172%2F7892%2Fberetwavekt5.gif&hash=88178bc18b97eeeb4a0ce956b5f8b66e94559179)
 
Not good enough quality...
 
Should look like this:
 
(https://clockcrew.net/talk/proxy.php?request=http%3A%2F%2Fimg172.imageshack.us%2Fimg172%2F7687%2Fshouldlooklikethisyt8.jpg&hash=6998d0851eab96b1ea0e715e8a06a82a5596af62)
Title: Tuts By Me :)
Post by: ManthenaisClock on December 29, 2007, 01:04:39 PM
Quote from: Beret;1148481Tut on exporting animations.
How do you get then to be high quality like Athenais's?

Aww ^////^
That's because I didn't export mine as a GIF.
I exported it as a SWF and used this to convert to GIF:

http://www.gold-software.com/download912.html
Title: Tuts By Me :)
Post by: RomanClock on December 30, 2007, 06:55:44 PM
Quote from: Beret;1148481Tut on exporting animations.
How do you get then to be high quality like Athenais's?
 
Quote from: AthenaisClock;1154100I exported it as a SWF and used this to convert to GIF

Yea, Flash is no good at exporting gifs :(
Title: Tuts By Me :)
Post by: Beret on January 03, 2008, 09:57:16 AM
Quote from: AthenaisClock;1154100Aww ^////^
That's because I didn't export mine as a GIF.
I exported it as a SWF and used this to convert to GIF:
 
http://www.gold-software.com/download912.html

 
Oh thanks it worked!
Title: Tuts By Me :)
Post by: skeletal on May 13, 2008, 06:06:18 PM
Roman any chance of a tut for point and click games in flash 8?
It'd be a huge help with a clock game I'm making.
Title: Tuts By Me :)
Post by: WobbuffetClock on December 23, 2008, 04:33:10 AM
I tried to use the script shown in the button/loader tutorial to make a "replay" button but the output window said "mouse events are permitted only for button instances." How do I get the repley button to work? I use Flash 8, by the way.
Title: Tuts By Me :)
Post by: Blue on December 23, 2008, 08:51:21 AM
Quote from: CorpseGrinderClock;1477860I tried to use the script shown in the button/loader tutorial to make a "replay" button but the output window said "mouse events are permitted only for button instances." How do I get the repley button to work? I use Flash 8, by the way.

make sure you are putting mouse events in the right place. Click on the button, then put the as in the action panel. In some cases you have to actually make the movieclip register as a button but not usually.
Title: Tuts By Me :)
Post by: WobbuffetClock on December 23, 2008, 01:52:39 PM
Quote from: Blue;1477927make sure you are putting mouse events in the right place. Click on the button, then put the as in the action panel. In some cases you have to actually make the movieclip register as a button but not usually.
I clicked on the button before putting in the as, and it still has that error.
Nevermind, it turns out I put in the code twice, and now the problem is solved!
Title: Tuts By Me :)
Post by: WobbuffetClock on January 17, 2009, 10:53:40 PM
OK, I want to make a game where you're flying through space and you have to dodge flying bottlerockets or else you'll explode. And also, the bottlerockets seem to come towards you at random. So how could I go about making that sort of game?
Title: Tuts By Me :)
Post by: Beret on March 19, 2009, 03:56:59 PM
If I have several frames, a back button and a forward button, how would I make it so that when you click the desired button, it'l goto the next frame, without me having to go into each frame and type
 
on (Release)
    gotoAndPlay (the next frame in the sequence)
Title: Tuts By Me :)
Post by: The Spoiler on March 19, 2009, 04:13:37 PM
You would put the button on its own layer and put the code
on(Release){
  _root.nextFrame();
}
on it. There's another command for the previous frame, I think prevFrame.
Title: Tuts By Me :)
Post by: Beret on March 19, 2009, 09:16:30 PM
alright, thanks
Title: Tuts By Me :)
Post by: TequilaClock on December 09, 2013, 08:41:06 AM
Expected to find CS6 stuff. Looks like I am fucked.
Title: Tuts By Me :)
Post by: miracle fruit on December 09, 2013, 05:35:46 PM
you expected to find cs6 stuff in a thread from 2005 with its latest post being from 2009

you buffoon