Be a Supporter!
Response to: AS2 Problem. Posted February 5th, 2010 in Game Development

Ah, I figured it out, I was refering to the movieclip as boolet instead of "boolet". Such a silly mistake. Thanks for the help anyway.

Response to: AS2 Problem. Posted February 5th, 2010 in Game Development

I'm sure it's not the problem but here's an image anyway: [Link]

Response to: AS2 Problem. Posted February 5th, 2010 in Game Development

That's not the problem, the registration point is right on the tip of the gun, I made sure of that.

AS2 Problem. Posted February 5th, 2010 in Game Development

So, I'll try and keep this short:
I'm trying to make a gun spawn bullets at the tip of the gun when I press space, however the bullet movieclip does not align at all.

onClipEvent(load) {
	i = 1;
}
onClipEvent(enterFrame) {
	if(Key.isDown(Key.SPACE)) {
		this.gotoAndStop(2);
		duplicateMovieClip(_root.bullet, "boolet"+i, i);
		_root[boolet+i]._x = this._x;
		_root[boolet+i]._y = this._y;
		i += 1;
	}
}

What's wrong?


I'm used to using flash 8 pro and I've used it for years.
But, I can't find anywhere to download it.
Don't say 'Google it', I tried.

No torrents please.

Response to: help Posted October 5th, 2008 in Game Development

I'm using flash 8, so this might not be the same for you.
Go to, file>import>import to library and find the song you want to use.
The, select the frame you want to start it on, in the control panel at the bottom, you will see some options.

Hope I helped.

Response to: Tablet help?? Posted October 5th, 2008 in Game Development

The only way you can get better is by practicing.
So go and practice, practice, practice.

Response to: Tips for drawing lakes Posted September 25th, 2008 in Game Development

Try this:
[link]

Response to: Strange problem. Posted August 6th, 2008 in Game Development

That didn't fix my problem.

Strange problem. Posted August 5th, 2008 in Game Development

Well, I was editing an old game i flash, when something boggled me...

onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_x += _root.speedtext;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_x -= _root.speedtext;
}
}

Now, the problem is, it works for when you press the right arrow, but not the left, speedtext is the variable of a text box.

Any ideas why.

NOTE: AS2

Why won't this work? Posted June 10th, 2008 in Game Development

I'm using AS2.

function camControl():Void {
parentColor.setTransform(camColor.getTra nsform());
var scaleX:Number = sX/this._width;
var scaleY:Number = sY/this._height;
_parent._x = cX-(this._x*scaleX);
_parent._y = cY-(this._y*scaleY);
_parent._xscale = 100*scaleX;
_parent._yscale = 100*scaleY;
}
function resetStage():Void {
var resetTrans:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}

says "{" expected athe the start of each block of coide and unexpected "}" at the end of eahc.

Help?

Response to: V-cam Posted June 9th, 2008 in Game Development

didn't work D:

V-cam Posted June 9th, 2008 in Game Development

I'm recreating this because none of the answers in my last thread helped.
I need a VCam that will follow the character in one of my games around the screen,
because at the moment I can only fit a few platforms in a level, I want a nice big level, a VCam would help with this.

I'm using AS2, help please?

How do I make V-Cams Posted June 9th, 2008 in Game Development

I need to know how to make a V-Cam for a game I'm making, any help?

Response to: Platform game question? Posted June 7th, 2008 in Game Development

I don't get what you're asking, describe in better detail please.

Response to: huhn bruh come test this Posted June 6th, 2008 in Game Development

At 6/6/08 09:05 AM, TrillingBird wrote: lol yeah i dont know how to code it so that the water is something u cant walk on

unless i go in and place individual tiles or blocks

but how would i make it so that
if my character hits the width or the height of these he would stop
?

go learn hit tests :P

Response to: Japan is Seriously F--cked Up. Posted May 4th, 2008 in General

At 5/4/08 03:46 PM, Zerok wrote: It's not "fucked up." It's just different. They'd probably see us as somewhat bland and over obsessed with fast food and rap stars.

Would you happen to be talking about Americans?

Response to: Line Life Collab Posted April 4th, 2008 in Game Development

Any places left?

Response to: The Stick Showdown Collab 2 Posted April 4th, 2008 in Game Development

I really have to read through pages -.-

Response to: The Stick Showdown Collab 2 Posted April 4th, 2008 in Game Development

I'll join AFTER I make a part, if I bother.

Response to: The Blob Collab Posted April 4th, 2008 in Game Development

Bump,
when is this getting released?

Response to: Super Tutorial 08 Posted April 2nd, 2008 in Game Development

Your template kinda...sucks.
I suggest either making something in PS/GIMP or using flash effects.

Response to: Moving picture Posted April 2nd, 2008 in Game Development

Ok, open your file.
Then on the toolbar go to:
File>export as image.
When this loads, select animated gif from the drop down menu and save it.

:D

air attacks? Posted April 2nd, 2008 in Game Development

Ok, so, when my character jumps air = true.
I was wondering how I could make it do an air attack when I press space and my char is in the air (air=true), I have no idea how.
I want it to gotoAndStop in frame 5 of my 'man' movieclip, so if you'd include that in the code, it would help.

help with Tutorials/code?

Response to: Hypnotic shapes effect Posted March 28th, 2008 in Game Development

it's just a motion tween of a bunch of squares, I remain unimpressed.

Response to: NG London Meetup 3 Posted March 27th, 2008 in Game Development

I wish I was old enough to go, damn 13!
worst year of my life!

Response to: Double Jump? Posted March 27th, 2008 in Game Development

At 3/27/08 06:15 AM, chunkycheese12 wrote:
At 3/27/08 06:09 AM, polym wrote:
At 3/26/08 05:58 PM, UnknownFury wrote: He did copy and paste that. Which is why 12 year olds shouldn't be using flash >:(
shut the fuck up and grow up for once. whether he copied or pasted it or not, you should stop trolling (like a 12 year old) and actually be helpful.
thank you! Also, i never saw that link b4. And so what if i'm 12. At the moment by B.A is 3.2, thats pretty good for my age isn't it? I know what i'm doin ;D (except double jumps lol)

If you don't want people insulting you for being twelve, you shouldn't use your age to brag about your achievements.

Response to: zero gravity colab Posted March 26th, 2008 in Game Development

Your batting average is only 2.11, it needs to be 3.