The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.36 / 5.00 33,851 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 12,195 ViewsHey, thanks a lot for replying. I tried changing the code, but it's not working right.
when i put _root.gotoAndPlay("Hello"); it played the movieclip from the beginning, and when I put == the subtitles didn't show up at all.
So here's the deal. In the main timeline I have a variable, _root.subtitles = false;
I have an on/off button that changes it to _root.subtitles = true;
Then on the movie clip w/ the subtitles I have _visible = _root.subtitles;
That makes the subtitles visible.
However, I have a scene select. The movieclip with the subtitles is very long, and begins at the very beginning of the scene. However, my scene select doesn't send you to the beginning of the scene. It sends you to the middle of it (too late to change it now).
The movieclip w/ the subtitle starts from the beginning, even though it's in the middle of the scene. That's why I need a variable, that when you hit the scene select button, if the variable = (a number), it'll skip to a certain frame in the movie clip, so that the subtitles match up with the words, rather than starting from the beginning.
So i have _root.number = 0; at the beginning. On a scene select button i have
on(release){
_root.number = root.number +1;
gotoAndPlay("Scene 3", 164);
}
On the movie clip I have the code you see in my above posts, to check to see if _root.number =1;
If it = 1, then it skips to 164 frames into the movie clip, with the lable "Hello". Right now it does that. But then it stops, and doesn't play. I just want to know how to get it to play after it skips to it.
I'll bump this one more time, because I know there is at least one person on newgrounds that can help me with this problem. I will bow to you eternally.
Still can't get it to work. Other people who helped me have their names in the credits. Yours will be there too if you give me the answer that I crave.
In other news, who thinks there should be a separate forum for Collaborations?
Ok, I've been testing it myself since no one is replying, and I want to get this onto the portal today. I can get it so that it goes to the right frame number of the movie clip, but then it stops.
For some reason when I have "gotoAndPlay("Hello"); in the movie clip, it goes to and stops. Wtmf?
Ok, I got the subtitle button working, so that when you hit it, the subtitles turn on in scenes 3, 4, and 5. The problem is, I have a scene select, and when you click on the scene you want, it doesn't take you to the beginning of the scene. It takes you to the middle of two scenes, and the end of another. The movie clip of the subtitles will start at the beginning, which means it'll be way out of sync. So I tried this.
_root.number = 0;
//this is on the main timeline, first frame
//on the scene select buttons I have
on(release){
_root.number = _root.number + 1;
gotoAndPlay("Uber Scene 3", 164); //Uber Scene 3 is the name of the scene (20 scenes put into 1)
}
//that should change the _root.number value to 1
//then in the scene where the movie clip is, I have this script on the subtitle movie clip.
onClipEvent(enterFrame){
_visible = _root.subtitles; //This deals with the visibility of the movie clip, and the On/Off Button I have
if (_root.number = 1){
gotoAndPlay("Hello");
//Hello is the frame label where the dialogue would sync up with the frame of the movie clip.
}
}
So what happens is when you hit the scene select button, it'll go to the middle of scene 3, and the subtitle "box" will be there, but not the actual words. This makes no sense to me at all. My code seems like it should work, but if it did, the words would be there as well. The words are just on a layer above the black box in the movie clip. WTF? Please help. I've been working on this movie for probably a total of 6 months straight. I just want to release it.....
It works baby, w000t~! I've added those who have helped me into the credits. I have one slight problem with code though, which kind of sucks because I dont know if its even possible to fix.
When I use the scene selector, it'll go to a scene with subtitles, and it plays the movieclip from the beginning, and wont line up with the actual dialogue. Is there a way to make it so that when I hit the button to go to that scene, it will jump the frame of the subtitle movie clip to the right spot?
Oh shiiiiiiiiit, I think its going to work. I'll get back to you guys in a bit, and be sure to check the portal for "Outlaw pt.1"
I've got nowhere else to go.
Ok, end credits shout-out, and a million dollars in unmarked bills given at a location of your choice on the 30th of February if you help me.
I can't get it to work right, and here's what I did. Maybe you can see what I'm doing wrong. On the button in the movieclip for Subtitles:On/Off, I have the script:
on(release){
_root.subtitles = true;
gotoAndPlay("On");
//On is the frame label in the movie clip
}
The button in that label has the same code except instead of true it's false, and instead of "On" it's "Off".
In the main timeline I have:
_root.subtitles = false
//so that the subtitles start invisible
On the subtitle movieclips I have:
onClipEvent(load){
//I think thats the handler I need, but I'm not sure
_visible = _root.subtitles;
}
The subtitles start off invisible, but when I hit the button, they don't turn on. Any ideas on what I'm doing wrong?
That seems like it'll work. I'm going to try it out right now and see how it goes. You can't imagine how complex the code has been that people have suggested, but that seems to be the most eloquent.
Just set _root.subtitles true or false (AS doesn't require declarations). Then in the subtitles movieclip do _visible = _root.subtitles;. End.
I can't get these subtitles to work, and I'm about to find the tallest building in my area and jump off. The second I get these subtitles working, it's going on the portal. If you help me, your name + credits = good times.
I've asked for help before, but then the thread died a horrific death, and got burried. So here's the deal now. I have button in the beginning at the Play/Scene Select/Extras section before the movie begins. The button looks like this:
Subtitles: On / Off
The Button is in a movie clip, and when you hit the button, it goes to a frame in the movie clip that looks like this:
Subtitles: On / Off
The subtitles of the movie don't start until Scene 3, and stop at Scene 5. They need to be off, unless the button is clicked in the beginning. People have suggested using a global variable and have a code that checks that variable at the beginning of each scene, but I don't understand how a global variable is defined. I've taken C++ where you define variables in the beginning of the program, but AS makes no sense to me.
If you can help me, your name will be in the credits, and I will bow to you. I've been trying to figure this out for the past week. And it's killing me. Help. For the love of God. Help.
Alright, I've got the button working, at least on one scene, so thanks for the code and the subsequent editing thereof.
I can't quite understand the global varialbe, and how I could that incorporate that so it checks for it when looking at the "if" statement already in place for the visiblity of the movieclip.
Is there some other code that i need in that? I tried putting that code in the button, and it isn't doing anything. The subtitles are visible to begin with, and when i click on the button, they don't disappear (though i need the opposite anyway).
My brain is going to explode. I have a "subtitle" button, and when you click on it, it should turn the subtitles on. When you click on it again, it should turn the subtitles off. And so on and so forth.
I have 3 subtitle movieclips - sub3 , sub4 , sub5. Each of which are in a different scene (3,4,5 of 6 scenes), and on their own layer.
I need the button to turn on/off the movie clips on each scene, so that if you turn on sub3, and it goes to scene 4, it doesn't turn the subs back off, making you have to hit the button again.
The button itself is in a movie clip, and is a transparency with a on(rollOver) and on(rollOff) function that plays a movie clip of the sub button dropping down and retracting depending on the mouse state. This resides at the top right corner of every scene, on a separate layer.
Can anyone help me out with this code. I just want to release this movie. That's all I want. Oh god, why can't I release it....
That would probably be the best thing anyone on the forums has ever done for me - ever. it would be greatly appreciated. sumo360@aol.com or drop me an IM if you get the chance. SN's the same as the email.
I have the if statement taken care of, so that the box is defined. I'm not sure whats going on with the onClipEvent(load){ deal. Its hard for me to understand how you can have the button drop down when rolling over the defined box. Any help would be super sweet.
@Unknown - Yes, I have a stop(); command at the end of the movie clip, and when ever I roll over that movie clip, it replays over and over. Which is weird.
@Shmasta - that's pretty much exactly what I need. However, I don't quite understand all of the script. I have a rather basic knowledge of AS currently, and the most I can do is make buttons go to and play, and have the quality of the movie change. I'm playing with what you gave me right now, but I might need an .fla so I can wrap my head around it. Thanks for what you've given me so far.
I'm almost finished my movie, and just have a few finishing touches to put on it. One is a Transparent rollover at the top right. When your mouse rolls over it, a Quality button is supposed to move down onto the screen. That way, the viewer can change the quality of the movie (it gets a tad graphically intense) at any time, without having the button stay on the main movie the whole time - just when they think they might want to change the quality.
Right now I have it so a transparency is a button, and sits at the top right the whole movie. I made a Quality button, and then converted that into a movie clip so I could tween it down in the "Over State". In the movie clip I have a stop command so it doesn't constantly play the drop down animation.
Everything works fine, except when I go to click on the quality button, it starts looping the drop down animation. What the hell is going on? Is there some other better way, or perhaps more AS that I should use?
Hey, thanks for the feedback. I'll try the screen capturing software, because I have CS3, and it seriously rapes my computer when I try and export to quick time. We'll see how it goes. If anyone reads this who's had to put something on youtube, and has run into the same problems, let me know. Thanks again.
Hey everyone. I've been trying to convert a flash project I've been working on into an .avi or .mov file so that I can submit it into a film festival. I'm having a lot of trouble with it though.
The first problem I've had is that when I convert it directly export to .avi in flash, it runs fine, but any movie clip that was in the movie is stuck on it's first frame. That's no good because I use a lot of intricate movie clips that need to be scene for the movie to be coherent.
The second problem I've had is that when I try to convert it to a .mov file in flash, I waited about 5 hours for it to convert, and it still didn't go, and it brought my computer to a stand-still. So I screwed that idea.
Now I have the program Sothink SWF to Video Converter 2.3. It's a decent program, but presents two new problems. First, is that I have to export the original movie as a .wav file, and import that into the final movie. That's all well and good, but there are two ways to convert the .swf. The first is to keep it "interactive" and maintain it's buttons. The animation remains smooth, but the sound gets completely out of sync. The other way is frame-by-frame, which has the sound perfectly in sync, but it drops a lot of frames and makes it look slow and choppy.
Is there anyone who knows a good method to convert .swf to a movie file, and have as little choppiness as possible while keeping the sound in sync and have movie clips play? File size isn't an issue as long as it's under 4.7 gigs, because I just need to burn it to a dvd. This festival is really important to me, and I need to submit it by tomorrow. If you could help me out, I would be grateful as shit. Thanks.
(If you want to see a picture from an early scene in the movie, click my user page. It'll be on Newgrounds next month)
In the voice of Rob Schneider in Water-Boy, "I suck again!"
Congrats. I knew that one would win. Well done indeed.
My second entry. Went for a more complex approach this time around and choosing only 4 colors is a bitch. I decided to go with Pico, since I was playing Fulps Pico games back when there wasn't even such thing as the portal on NG. My design is loosely based off of JohnnyUtah's dystopian steam punk style of Pico from Pico Day.
(Larger Version in Black and White)
Which Reminds me. When the shit is Pico 2 comming out? And when the shit is Keeblur 2 comming out?
Here's my T. It's a collage of tank-men fighting to the death. It's what I imagine would be a day in the life of a tank man. I was thinking about doing "Dad n' Me" but when I think NG, I think of the Iconic tank man. There are a few pop-culture references within the design. I'll only give one hint for one reference - "THERE WAS A FIRE FIGHT!". If you don't know what that line is from, don't even worry about it baby. If you do, booyah.
(Here's a larger version of the graphic, since compressing it makes it look like dick.)
After going through all the entries again, I have to take back a certain statement. In the post of the final work of my Alucard HD sprite (page 17 in the thread), I stated that no one else had done one, and was confused as to why. It turns out I am a douche because someone else actually had on I think pg 13. It just looked a little different than what he looks like in the actual character design. I have a feeling someones going to (if not already has) talk shit on me for the statement - so again, my bad.
Now that that's out of the way, there are some really sick looking sprites. I can tell a lot of work went into this contest, myself included, and I'm really happy to see such a turnout for it. So yeah, peace out and good luck. Detroit what?
No one else did Alucard? Really? Here's my second submission. This time I chose a Bad-Ass Mother Fucker, instead of a dude who dresses in light purple (or light-urple if this is celebrity jeopardy). This was a pain in the ass though, since Alucard dresses in all black prettymuch. This submission, unlike my Secret of Mana one is almost exactly the same pose and proportions as the sprite, with a few color modifications.
Here is a link to the larger, more detailed looking one.
After working on the original sprite for a while, I decided to take some liberties which are probably going to F' me in the A' come judgment time. It was a pretty good time though, and Secret of Mana was the fucking shit.
Link to a bigger one
Link to all those who love cock jokes. Seriously, don't click unless cock is your thing.
Hey everyone. I posted not too long ago about sound problems in a flash I'm creating right now. That's been resolved for the most part (though it's a pain in the ass). Now I have a new question that hopefully someone can help me out with.
There are certain movies that have an invisible hit area that when you drag over it, a horizontal scroll bar appears that allows you to scroll throughout the movie. My questions are:
1. How the hell do you do that (i.e. - what is the code, technique)
2. Can it be done while using multiple scenes
3. If you don't know, do you know where I could find out?
Any input would be greatly appreciated. I'll post a picture here of the movie I'm working on that I posted earlier, just so you don't think I'm an uber- n00b. Thanks a lot guys.
Thanks for the sound FAQ delta, that was definitely informative. I've tried setting the music to start, and playing around with it. It still seems a little shaky though. I use a decent amount of scenes when I animate, but nothing too excessive so I doubt that's a problem. I don't want to chop the song up into multiple parts and set it to streaming though, because I'd have to chop it up about 3 times before the clip was over - since the song ends once the scene ends.
I just don't understand how certain movies can have music video qualities to it, and flow flawlessly. "Alberkerkie" is a good example. That movie is around 5 minutes long of straight audio syncing.