Be a Supporter!
As Help Posted March 21st, 2009 in Game Development

Is 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?

Response to: Input Text Help,. Posted March 21st, 2009 in Game Development

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?

Response to: Recruiting : New game. Posted March 21st, 2009 in Game Development

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.

Response to: Flash Mmorpg Need Designers Posted March 21st, 2009 in Game Development

Wow that's Interesting,..

Response to: Adobe Flash Posted March 21st, 2009 in Game Development

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?

Response to: Flash Mmorpg Need Designers Posted March 21st, 2009 in Game Development

what about this?

Flash Mmorpg Need Designers

Response to: Adobe Flash Posted March 21st, 2009 in Game Development

Thank you.
Yeah I guess I'll stick with it,.

Adobe Flash Posted March 20th, 2009 in Game Development

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?

Response to: Flash Mmorpg Need Designers Posted March 20th, 2009 in Game Development

no offence,
but I like the old tree better.

Response to: Input Text Help,. Posted March 20th, 2009 in Game Development

It works!
Thanks a lot denvish I always learn something new from you!

Input Text Help,. Posted March 20th, 2009 in Game Development

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..

negative number problem,. Posted March 19th, 2009 in Game Development

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,.

Response to: Attacking code problem Posted March 19th, 2009 in Game Development

the problem was pretty basic but the frame labeled "attack" where it it?
on the main timeline or inside of MC?

Response to: Dan Paladiny Posted March 18th, 2009 in Art

The Ice or Crystal or what so ever on his shoulder looks cool!

Response to: Updating Variables Posted March 17th, 2009 in Game Development

BUMP,..
Anyone?

Response to: Updating Variables Posted March 17th, 2009 in Game Development

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,.

Updating Variables Posted March 17th, 2009 in Game Development

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!

Response to: enterFrame problem,.. Posted March 17th, 2009 in Game Development

At last!
I solve it,.
I just put
onClipEvent (unload) {
clearInterval(ChangeW);
}
on the top of
onClipEvent (load)

But thanks again!

Response to: enterFrame problem,.. Posted March 17th, 2009 in Game Development

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!

Response to: enterFrame problem,.. Posted March 17th, 2009 in Game Development

OMG,.
I thought it work,..
sorry I think it's not working,..

Response to: enterFrame problem,.. Posted March 17th, 2009 in Game Development

Thank you!!

It works!

enterFrame problem,.. Posted March 17th, 2009 in Game Development

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.,.,!

Response to: Help with Variable Posted March 17th, 2009 in Game Development

Bump

Help with Variable Posted March 17th, 2009 in Game Development

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!

Response to: Spawning help Posted March 16th, 2009 in Game Development

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,.

about randoms,... Posted March 16th, 2009 in Game Development

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,.

Response to: Help with A.I Posted March 15th, 2009 in Game Development

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,.

Response to: Screenshot thread... Posted March 15th, 2009 in Game Development

Here's mine,..
It's a game though,..

Screenshot thread...

Help with A.I Posted March 15th, 2009 in Game Development

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!

Click and type,. Posted March 13th, 2009 in Game Development

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,..