The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.34 / 5.00 31,296 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 10,082 Viewsuse parseInt to convert the text into number first before adding
if (_root.math == "add") {
_root.answer_txt = parseInt( addit1_txt ) + parseInt( addit2_txt );
}
how about you put i=1 outside the function?
and please use the code tag so that we can read codes easily
like this
dammit now im pissed! then dont use flash if you dont like OOP!
i told you not to make fun of OOP
At 4/23/08 03:17 AM, iluvAS wrote: on release{
if(ability points= more than 1;){
_root.bk.handling +=1;
_root.bk.AP -=1;
}
}
greater than
if(ability points > 1) {
greater than or equal to
if(ability points >= 1) {
yeah, this one must use PHP or any other thing alike
in PHP, you got there:
mail($to,$subject,$message,$headers);
basically you need to first send from flash to php then php to mail
to do that you'll need the loadVars - with the code yourlv.send();
hey make something like "worms" game
Disadvandtages of .as files
-its hard to compile - saving many files, etc
-hard to decipher - going thru different files finding whats goingon
Advandtages of .as Files
-you can make your own classes - leads to....
heres what you needed?
Advantages of having your own classes
-you dont have to repeat coding each class everytime you use them (just create object)
-leads to great extension of flash capabilities
-can customize your own of codes (shorter/faster/easier)
-many more.....
when I saw your post I really got mad on you and want burst out everything in curses
but i stayed calm and read the next replies, I realized that I got you wrong
you are not angry of OOP, you angry of .as files, is that correct?
On that side, I can't agree with you but I also don't use .as files
but I can see advantages of using them in a flash project
-- but hell don't you ever make fun of OOP! If you do, dont use flash!
just some questions:
1. when did you start using Flash, and your story in quitting and going back
2. Are you programming in other languages?
3. If yes, what are those and since when did you start to use them?
hey, the pre-loader is really big,
about 200kb - its larger than what i am making
is there a way to make it smaller?
ah ok the italic doesnt work inside the code area,
so here are some exmples:
gotoAndPlay(5);
gotoAndStop(3);
button1.gotoAndStop(2);
button1.gotoAndPlay(7);
ah what you need is the AS2: Main
as what i have understood in what you said,
you basically need:
gotoAndStop(<em>frameNumber</em>);
this chages the page (frame) in the timeline.
if you want to change frame of the button,
buttonName.gotoAndStop(<em>frameNumber</em>);
do you mean
when you press left bg goes to right and characters stays at centeR?
and when pressed up, character still at center but bg goes down
is that it?
hmmm... i dont think it is either necessary or useful...
i dont have a video to post anyways
and.... its just that...
everything will just get messed up if it goes on like this,
i dont think more personalization of page is needed...
i like newgrounds the way it is now...
hello guyz! just asking the ones who are working themselves out for pico day
im only asking the game makers, i know i cant ask animators (movies)
because they have their funny storylines we dont want to spoil for today
but to game-makers what type of flash are you making? what genre?
from the start i dont really like the idea
but i wont stop you guys if you enjoy it
NG is "everything by everyone" anyways
At 4/16/08 10:59 AM, StickyWicky wrote: I sense this collab failing, or being reaally crap. You got your own first post, and look a bit of a 'noob' yourself. But go ahead with it, I won't/can't stop you. Just saying my sense of doubt.
yeah i think so too...
uhm question here,
cant we just use:
var newMC:MovieClip = oldClipName;
hehe just a correction, my increment was wrong,
i forgot to change his ++
var arrFrames = new Array(2, 5, 14,25,36,47);
var curIndex= 0;
buttonName.onPress=function(){
gotoAndStop( arrFrames[curIndex] );
curIndex++;
if (curIndex >= array.length) curIndex= 0;
}
on the other frame, just copy the onPress
At 4/16/08 10:52 AM, Boke wrote: would the onEnter frame function work in a button? So press button ,timeline goes to frame 2 and stops, press button again and go to frame 5 and stop, press again go to 14 and stop, ect..
?
if you want that? just a little modification with Moonkey's code:
var arrFrames = new Array(2, 5, 14,25,36,47);
var curIndex= 0;
buttonName.onPress=function(){
gotoAndStop( arrFrames[curIndex] );
currentElement++;
if (curIndex >= array.length) curIndex= 0;
}
on the other frames, just copy the "onPress Function"
yeah this ones good. i could help with some AS2
but most probably ill be busy since im making a flash for pico day
anyways, good luck on this! ;)
At 4/16/08 10:36 AM, Shadow181 wrote: what do you mean by etc?
some other variables in the movie clip you want to duplicate
coz the contents wont be duplicated with the MC
i dont like the idea, i saw your submission in the portal just now, i blammed it...
Why not post it here?
NG Alphas
If you want to know if people will look forward to it,
just go there and post your flash,
maybe without a working demo but your screenshot will do.
anywayz, I am lookin forward to seeing a new sidescroller game.
At 3/28/08 09:46 AM, rishabh005 wrote: HI !!
But it Dose'nt worked ,
Please modify this Thanks
http://www.mediafire.com/?eybzf9tfj7y
so the credit will go to you, not us,
why would we bother?
oh the guys are afraid of posting codes here hehe
how can we help you if u dont post it?
even as a programmer, i can understand ur pseudocode
theres nothing wrong with posting them here
we wont steal them...
flash kit?
i cant give u a link rightt now but search it on google
At 3/23/08 09:02 AM, Shmossy wrote:At 3/23/08 08:02 AM, Fion wrote: I don't think you should continue.Agreed.
yes i agree also, do not continue...
At 3/23/08 08:16 AM, rishabh005 wrote: What The #### !? ?!!
I asked About AI , Thanks For Shooting Thing I done it !
But What about Spawning and Following Etc . And Yes Gravity !
easy man, you better familiarize urself with the environment here on NG
not everyone here is someone you'll like.. all kind of people are here,
always calm down and ignore negative energies hehe
The link Fion gave you is really helpful you know,
maybe it teaches how YOUR OWN player shoots and moves,
but surely, the enemy will shoot and move like YOUR OWN character
use onEnterFrame function or setInterval
so that each time, the enemy will shoot your player in the direction
as it was taught in the link above....
just like Rohedin said
Stage.showMenu=false;
right click, cmd+click, or whatever just do this...