The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.38 / 5.00 36,385 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 13,902 ViewsIs there any tutorial that will put a clip near an MC on the stage,.
Let say that I had a dog_MC on the stage and I want him to poop randomly,.
is that possible?
I got a problem,.
It's working perfectly but when I tried to upload it at FLG,
It doesn't work,. does FLG support AS2?
I can say that the Engine was Nice and the graphics are semi ok,.
But try to improve the game speed.,.
I think there's a problem once you go inside the cave, his speed became double.
And I think it will be triple once you go to another frame.
Wow that's Interesting,..
oh I'm still confused,.
Do you think CS version are much better?
what about the AS3? it is that complicated at all?
what's the difference between AS2 and AS3?
what about the drawing tools?
what about this?
Thank you.
Yeah I guess I'll stick with it,.
I had given a chance to buy Adobe Flash CS3 or CS4 but I'm using Flash 8 and I feel comfortable on it,.
I am thinking if should buy it or not because it may gone to waste. And the fact that I don't know AS3 and CS3/CS4 capabilities,.
any suggestion?
no offence,
but I like the old tree better.
It works!
Thanks a lot denvish I always learn something new from you!
So let's say that I had this Input Text Inside a Clip with the var nameVar and the clip is located at the first frame of the Main Timeline, then I want to see what I've type to that Input text to be shown at a dynamic text inside a clip with the var myName and this clip is located at the 2nd frame of the Timeline.
is it possible? if it is please help,..
Thank you..
I had this code
if (_root.Hp<=0) {
_root.Hp = 0;
}
it works but it still show negative numbers for a millisecond which is quiet annoying if
you are using a health bar,.
the problem was pretty basic but the frame labeled "attack" where it it?
on the main timeline or inside of MC?
The Ice or Crystal or what so ever on his shoulder looks cool!
so is there a way so I can access the variable of a clip to the other clip?
for example,. I want to change the value of a dynamic text with the var Str which is inside the
sample_MC then I want to see the value of var Str on a dynamic text which is inside the sample2_MC,.
I got this code on the first frame of an MC
_global.mySpd = 2+_global.myAgi/5;
str = _global.myStr;
agi = _global.myAgi;
intel = _global.myInt;
end = _global.myEnd;
avail = _global.myAvail;
well it works but once I change the value of any of them the dynamic
text still shows the old value,. Any help?
thanks!
At last!
I solve it,.
I just put
onClipEvent (unload) {
clearInterval(ChangeW);
}
on the top of
onClipEvent (load)
But thanks again!
I still don't figure it out,..
Can someone teach me or try to fix this code,.
onClipEvent (load) {
function randomW() {
clearInterval(ChangeW);
W = int(Math.random()*10);
}
ChangeW = setInterval(randomW, 2000);
trace(ChangeW);
beginInterval();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainRanch.ranch.wall 1)) {
(W=8);
}
if (this.hitTest(_root.mainRanch.ranch.wall 2)) {
(W=9);
}
if (this._x<0) {
this._x = 0;
}
if (W == 9) {
this.Darkus1._x -= _global.mySpd;
this.Darkus1._xscale = -100;
this.Darkus1.gotoAndStop(2);
}
if (W == 8) {
this.Darkus1._x += _global.mySpd;
this.Darkus1._xscale = 100;
this.Darkus1.gotoAndStop(2);
} else if (W<=7) {
this.Darkus1.gotoAndStop(1);
}
}
thanks!
OMG,.
I thought it work,..
sorry I think it's not working,..
Thank you!!
It works!
check HERE
I'm experimenting on sleep system and got a problem on my MC,...
once you go to other frame and back to that frame, it feels like the intervals are getting faster,..
here's the code by the way,..
onClipEvent (load) {
fight = false;
function randomW() {
W = int(Math.random()*10);
}
ChangeW = setInterval(randomW, 2000);
}
onClipEvent (enterFrame) {
if (fight == false) {
if (this.hitTest(_root.mainRanch.ranch.wall 1)) {
(W=8);
}
if (this.hitTest(_root.mainRanch.ranch.wall 2)) {
(W=9);
}
if (this._x<0) {
this._x = 0;
}
if (W == 9) {
this.Darkus1._x -= _global.mySpd;
this.Darkus1._xscale = -100;
this.Darkus1.gotoAndStop(2);
}
}
if (W == 8) {
this.Darkus1._x += _global.mySpd;
this.Darkus1._xscale = 100;
this.Darkus1.gotoAndStop(2);
} else if (W<=7) {
this.Darkus1.gotoAndStop(1);
}
}
Thanks for the help.,.,!
I'm having trouble with variables,.
var myInt:Number = _root.StatsMenu.intel;
I tried to put that code in my main timeline keyframe,.
and the input text is on the StatsMeny Clip,.
But once I use the myInt variable it seems that it's not working.,.
how could I fix it?
thanks!
I forgot about it but there's a tutorial( I forgot what it's called)
but it is something like will respawn monster with different instance name like,.
enemy1 enemy 2,. and will use enemy++ so the code will still run even you killed either one of them,.
what should I do so that I made a random no.
for example
function randomHelp() {
Help = int(Math.random()*10);
and once the it chosen a number for example is 8..
on the next random number would not be 8 instead another number,.
so that 8 can be chosen again,.
Thanks!!
It really helps!
but there are times that He runs the walking animation
but he is not walking,.
Is there a way so once he walk to the left, he would not repeat.
so he just either walk right or stop..
Anyway Thanks! it resolved my problem,.
Here's mine,..
It's a game though,..
I tried to make an A.I but it gets pretty messy
http://spamtheweb.com/ul/upload/150309/6 8219_aw.php
It should play an animation where he walks smoothly but I think something wrong..
I want to make it that he walk either left or right in a random period of time in a short distance of course but I'm not great in this kind of stuff,.
Here's the code:
onClipEvent (load) {
fight = false;
}
onClipEvent (enterFrame) {
if (fight == false) {
a = int(Math.random()*10)
if(a==5){
this._x -= 5;
this._xscale = -100;
this.Darkus1.gotoAndStop(2);
}
} a = int(Math.random()*20)
if(a==10){
this._x += 5;
this._xscale = 100;
this.Darkus1.gotoAndStop(2);
} else {
this.Darkus1.gotoAndStop(1);
}
}
thanks!
I made a guessing game where you will type the answer,..
The problem is that Click and type is annoying,..
Is there a way so that I won't need to click the input text to type?
I mean once you go to the screen you can type your answer automatically,..