You need a Grounds Gold Account to post on the NG BBS!If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!
ok so im still making my horror game and i have my rooms inside of movie clips but whenever i put actions in the buttons for the movie clips it just effects what happens in the movie clip so heres my script for a door i want to go into a different frame of my game
on(rollOver){
gotoAndStop(39);
}
on (press) {
gotoAndStop(2); < i want this code to make it go to the 2nd frame of the scene how would i do this
}
ok so im redoing my whole horror game from the ground up and now i have a problem i bacicly know alot about variables and how i need to make the key variable go from 0 to 1 when i pick up a key i know how to do that but the problem is when i have a button for a door i wont let me but in a code such as
if (_root.key1>=1){
on (press) {
gotoAndPlay ("Scene 4", 1);
}
}
which wouldent work because you need a clipevent handler yet buttons arnt allowed to have those
so i tryed to make the whole scene a movie clip so i did that now the question is what code to i put in the movie clip to make it so when the variable of key1 is 1 then it will go to scene 4
well it nowere near done and its sorta hard and i know people colplain about things being hard *cough* lastman *cough* also i know about the falling through the floor in the first level and im trying to fix it so please tell how it is so far my first platformer
ok so i want to make a death animation for my character my code for the enemy is
onClipEvent(enterFrame) {
if (_root.hero.hitTest(_root.bat)){
gotoAndStop(14)
}
}
so i want it to play my charecters death before it goes to the retry screen
well im currently making a simple flatformer game but whenever i goto a new frame my character stays offscreen where the hittest was to make him go to the next frame how can i make it so he goes to whereever i want him to go?
At 6/1/09 07:36 PM, wisconsin212 wrote:
so i put the variable codes in the frames
Also, this will only work if all the frames in your game are in one big movie clip. You can't have this work if it's all on the main timeline, because once you go back a frame, the variable will be resest
so your telling me all the games with keys and stuff are
made within one movie clip?
well yes but heres the thing evreything i see about variables in tutorials just tells me what they mean and what they are they never tell me how to set them up i know how to do prettymuch evreything but variables could someone help me with this?
OK so im making a point and click horror game but i need some help with a few things first of all how do i make it so i can pick up a object and be able to use it on another object to go to another room. also this isent as important but how do i make it so that when you enter a room something quote on quote scary happens and then when you come back in it dosent happen again please post any videos or just straight up help responses thanks
ya just look at the tutorial and it takes a long time to get good enough at flash so donot submit your first test flash or whatever to newgrounds because it will get deleted
ya i dont know why that happens whenever in the command
to goto whatever frame i tell it to it just goes to the next frame if i click on it again any sugestions for fixing that
At 4/27/09 07:55 PM, wisconsin212 wrote:
ok so its not done yet here it is
tell me any sound issues or problems you find with it and ill try to fix them
Clean up the art style. Seems pretty rushed. Otherwise it's basic. How would I guess the password though?
for the first level look at the wall at the begining