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 ViewsWell, I started learning AS2 recently but after numerous suggestions that I should learn AS3 instead, I have decided to do so.
I was just wondering if anyone can direct me to good AS3 tuts or what ever. There are heaps for AS2 but I'm having trouble finding them for AS3.
Thanks...
Other problem is solved now, just need this one.
Ohkay. Thank-you for that, got it now.
I know it's pretty obvious but I sorta suck lulz.
This is where I started. I'm still new but these tutorials have really helped me.
Anyone else know?
Hey, I have been working on a little flash project to test my skills but I have so far encountered two problems. My first problem (still unsolved) can be seen here. As for the second problem, I will show you now.
The problem is that on the main menu, you should be able to shoot the button and you will go to that scene, blah blah blah... but as you can see, that is not working yet (first problem). Anyway you can help me with that on the other thread. Here I was wondering if anyone would know why it is that if you miss your target (one of the buttons) then every shot from thereon goes through the buttons.
Here is the code for the bullet:
class Missile extends MovieClip
{
var speed;
function onLoad()
{
speed = 20;
}
function onEnterFrame()
{
_y -= speed;
if(_y > 450)
{
this.removeMovieClip();
}
if(this.hitTest(_root.go))
{
_root.gotoAndPlay("Scene 3", 1);
this.removeMovieClip();
}
if(this.hitTest(_root.how))
{
_root.gotoAndPlay("Scene 2", 1);
this.removeMovieClip();
}
if(this.hitTest(_root.about))
{
_root.gotoAndPlay("Scene 4", 1);
this.removeMovieClip();
}
}
}
Sooo... Any ideas?
I changed the script it now reads:
_root.gotoAndPlay()
in the required areas but still does the same thing.
At 9/27/09 04:21 AM, Urban-Pacman wrote: Problem One:
When I shoot the bullets on the main menu, they hit the object then disappear (as directed) but his is the code I am usingthen nothing happens, it just stays on that same frame. This is the code I'm using (on the missile movieclip):
Sorry for double-post but this bit is supposed to say:
When I shoot the bullets on the main menu, they hit the object then disappear (as directed) but then nothing happens, it just stays on that same frame. This is the code I'm using (on the missile movieclip)
As you can see here, I have started designing a little game just to test my skills in Flash.
So far all I have developed is the preloader (Newgrounds) and a menu. On the menu I wish to make it so that you control the ship down the bottom of the screen and you select the options by shooting them.
Problem One:
When I shoot the bullets on the main menu, they hit the object then disappear (as directed) but his is the code I am usingthen nothing happens, it just stays on that same frame. This is the code I'm using (on the missile movieclip):
class Missile extends MovieClip
{
var speed;
function onLoad()
{
speed = 20;
}
function onEnterFrame()
{
_y -= speed;
if(_y > 450)
{
this.removeMovieClip();
}
if(this.hitTest(_root.go))
{
gotoAndPlay("Scene 3", 1);
this.removeMovieClip();
}
if(this.hitTest(_root.how))
{
gotoAndPlay("Scene 2", 1);
this.removeMovieClip();
}
if(this.hitTest(_root.about))
{
gotoAndPlay("Scene 4", 1);
this.removeMovieClip();
}
}
}
Any help would be appreciated.
These are all awesome.
You guys are skilled... =P
The first one is the best...
I don't think I've ever considered viewing a rose from bird's eye before.