Be a Supporter!
Where to learn AS3? Posted September 28th, 2009 in Game Development

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

Response to: Need some moar hitTest help. Posted September 27th, 2009 in Game Development

Other problem is solved now, just need this one.

Response to: Need a lil help concerning hitTest. Posted September 27th, 2009 in Game Development

Ohkay. Thank-you for that, got it now.

I know it's pretty obvious but I sorta suck lulz.

Response to: SuperNoob n lookin to discuss flash Posted September 27th, 2009 in Game Development

This is where I started. I'm still new but these tutorials have really helped me.

Response to: Need a lil help concerning hitTest. Posted September 27th, 2009 in Game Development

Anyone else know?

Need some moar hitTest help. Posted September 27th, 2009 in Game Development

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.

My Flash Game

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?

Response to: Need a lil help concerning hitTest. Posted September 27th, 2009 in Game Development

I changed the script it now reads:

_root.gotoAndPlay()

in the required areas but still does the same thing.

Response to: Need a lil help concerning hitTest. Posted September 27th, 2009 in Game Development

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)

Need a lil help concerning hitTest. Posted September 27th, 2009 in Game Development

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.

Response to: dark art Posted September 25th, 2009 in Art

These are all awesome.
You guys are skilled... =P

Response to: Stardust's art Posted September 25th, 2009 in Art

The first one is the best...

I don't think I've ever considered viewing a rose from bird's eye before.