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)
I need some AS, :fifen:
those were by far the hottest tuts on the planet.
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]
Foreverkul, oh snap.
Anyway, nice dude.
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:
Quote from: CorpseGrinderClocklink doesn't work, friend
fixed
BTW ANYONE HAVE A TUT REQUEST?!?!?!
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)
:fifen:ed both.
NEED FLASH HELP?
POST QUESTIONS HERE!
ILL SEE WHAT I CAN DO FOR YOU!
How do you make a play button to start your flash?
Preloader and Button Tut:
http://www.newgrounds.com/portal/view/223565
Vote fifen
:fifen::fifen::fifen:
then leave comments :)
(here or review it)
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
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
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?
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
how did you do the coding for the corpsegrinder game where you use the arrow keys to make him move.
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]
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
POST A QUESTION ABOUT FLASH AND ILL SEE WHAT I CAN DO! :D
How about mouse-aiming (a la madness)?
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
I POST A GOLDEN TUT WITH A FREE FLA AND NO ONE ANSWERS???
...
teach me the arts of gloss
I like it!
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?
In addition to the aiming one, I'd also like a tutorial on testing if an enemy has been hit by a bullet.
wow roman clock is one smart cat..:)
how do i make my sig smaller?
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
{flash http://www.sie.com/flash.swf width="desiredwidth" height="desiredheight} Replace the curly brackets with normal ones.
...
It doesnt seem to work...
Posting flash linkage for later reference
(flash)http://dot.com/SWF.swf width=X height=Y(/flash)
replace ( and ) with [ and ]
thanks to renegade
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)
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!
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
Need more tutorials...they're addicting as crack! _praiz_
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:
Well, it seems like you just copied most of these from someone elses tutorials.
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.
GUYZ
what tuts do ya need?
Dont forget to look first and download the stuff thats downladable like the link above^^^^
I love you roman clock. I want your children more than I want element's children
[flash]http://img.photobucket.com/albums/v510/foreverkul/funwithbinary02.swf width=800 height=600[/flash]
I know, im just too cool :cool:
the gloss tutorial doesn't star for me can you post it on image shack?
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
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
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:
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 :)
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.
What about the ones I suggested?
(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)
............ lol :rockin: :rockin:
Quote from: doomclock............ lol :rockin: :rockin:
lol?
k
anyone need anymore tutorials?
Im making a new one at school :)
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
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?
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");
}
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("http://www.locklegion.com/uploads/CrookNeckClock.fla", "_blank");
}
{{{{Roman}}}}
Damn, how did I miss that?! Thanks!
Anyone need help?
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. :)
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.
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 ?
either
1. Flash is screwed up
or
2. I don't understand
Thanks for the tuts roman! i will use them to the best of my ability.
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?
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.
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?
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)
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?
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.
I think COTM means I get to be super modded or admined.
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. :(
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.swfalso, 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 :/
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.
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
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.
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?
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.
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*
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.
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.
can you post an actionscript camera? with a thing on how to use?
I love you roman
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=trueHere is something I did with it:
[FLASH]
http://img215.imageshack.us/img215/7841/superdrawpreview20lp.swf width=600 height=400 [/FLASH]
thanks~ now can you post the fog affect in flash 8 and how to do rlly nice backrounds?
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.
Pixel thing is turbo awesome
Quote from: Patriot ClockPixel thing is turbo awesome
Thanks ^^
I like that phrase, turbo awesome (and I don't know why)
I like it too thats why I use it.
TURBO AWESOME
the gloss tutorial is great too. :fifen:
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!
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.
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_
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)
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.
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.
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.
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.
[FLASH]http://img.photobucket.com/albums/v510/foreverkul/buttontutorial001.swf width=200 height=200[/FLASH]
Hi Foreverku. :)
Quote from: RaidClockHi Foreverku. :)
And who are you?
How about one for making a working clockface.
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.
Thanks ill find one.
I forgot how to do this. I knew a while back. How do I have a button go to a website in another window?
on (release)
getURL("Yoursitehere+http", "_blank");
Quote from: Wind-Up Clockon (release)
getURL("Yoursitehere+http", "_blank");
Thanks!
if you can please help me
how do i mask to show emotion?
it would be greatly apreciated _praiz_
well i voted 4 is that good enough?
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
}
}
What would be the actionscript for a button link to this website
http://www.locklegion.com/uploads/AssholeClock's%20FLA.fla
Nevermind got it
dude, roman clock, u helped me alot with actionscripting, thanx. :D
Quote from: motherfucking flashScene name must be quoted string
{gotoAndStop(1,1);}
CUNT! It's what Code Hint says to do. :(
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.
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.
What are tabs?
Holy shit, I made the last post. "Last edited by: Heart".
I wasn't even DemonHeart back then, talk about a dead thread.
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?
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?
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.
How do you make an radiating glow?
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.
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!
Quote from: SensuUPDATE!
?_?
_|_
| | |
_|_
Robot Man is confused
_____
(____)
.(_O_)
...(_)
Bumble Bee hive is not amused.
Quote from: Sensu________
(____)
(_O_)
(_)
________
(____)
(_O_)
(_)
fail
Yes yes, i edited my post 50 times. You just can't understand how important this text bumble bee hive is to me!
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.
http://www.clockcrew.net/bbs/showthread.php?t=30666
I need help fixing up my game. I'll post a link as soon as sheezyart gets back up.
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. :)
im reviving this.
make a life bar tutorial please. i need it for a game that i will probably post in the arcade
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)
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
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 :(
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!
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.
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.
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.
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!
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?
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)
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.
alright, thanks
Expected to find CS6 stuff. Looks like I am fucked.
you expected to find cs6 stuff in a thread from 2005 with its latest post being from 2009
you buffoon