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 ViewsThese codes are purely by me!
There supose to be pretty simple.
This one is for an click-collect-escape inventory:
Object:
on(release){
_root.canary -=1;
if(_root.canary == 1){
this._visible = false;
}
}
Inventory slot:
A movie clip:
1st Frame:
_root.canary == 2
if(_root.canary == 1){
nextFrame();
//next frame is a picture of a picked up item
}
NOTE:There may be major bugs in this code!!!
Some people preffer non-moving art,I preffer motion art.
I SEE MY DRAWINGS MOVE!!!I think that means something.
:'(
At 3/3/10 02:32 PM, Treerung wrote: gee..thanks?
Ummm,I'm waiting to see if the code has bugs...
Your Welcome!
Some people preffer non-moving art,I preffer motion art.
I SEE MY DRAWINGS MOVE!!!I think that means something.
What's the point of this thread, lol.
You can solve pretty much any problem you may have with AS3 by consulting the AS3 Language reference.
I dunno!
Probably because I wanted this to fixed if it has errors.
Some people preffer non-moving art,I preffer motion art.
I SEE MY DRAWINGS MOVE!!!I think that means something.
I dont know if it has errors but i do know its some of the most badly written code ive seen in a while :)
nobody
At 3/3/10 02:45 PM, KevinAndJoeCartoons wrote: Probably because I wanted this to fixed if it has errors.
So you made a pointless thread saying you want to see if your code has errors, when Flash has a built-in syntax checker to see if there is an error.
Yeah, badly written code at that too.
No matter what your weaknesses are, make sure your own abilities supersede them.
At 3/3/10 06:01 PM, CompleteDouche wrote:At 3/3/10 02:45 PM, KevinAndJoeCartoons wrote: Probably because I wanted this to fixed if it has errors.So you made a pointless thread saying you want to see if your code has errors, when Flash has a built-in syntax checker to see if there is an error.
Yeah, badly written code at that too.
Syntax errors make up but a fraction of total errors CD , only a fraction but the point remains , flash has debugging tools , if you FIND an error then google help , if all else fails come here for help , were human beings not error checkers
nobody
At 3/3/10 02:21 PM, KevinAndJoeCartoons wrote: _root.canary == 2
if(_root.canary == 1){
nextFrame();
//next frame is a picture of a picked up item
}
Well, I can tell you that this is stupid.
Assuming you meant _root.canary = 2 at the top, the if statement would never fire.
What is the point of this thread? Test it yourself. Or just completely scrap it to be honest, as it is useless, and I'm afraid to say that noone will find any use for it here.