You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'Woadraiders'

We found 561 matches.


<< < > >>

Viewing 61-90 of 561 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 91419

61.

None

Topic: [AS3] error help again :(

Posted: 07/07/09 02:09 AM

Forum: Flash

The error seems pretty obvious to me.

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at vars$cinit()
at global$init()[C:\Documents and Settings\Me\Desktop\Breakout\Flash Stuff\vars.as:11]
at Breakout_fla::MainTimeline/frame1()[Brea kout8_fla.MainTimeline::frame1:136]

Notice how it says "at vars$cint()

That means when the vars class is initiated. And since you don't have a constructor, and there are no instances of the var class, it must mean as soon as it's imported or maybe even when the flash is compiled, and it doesn't have to be imported at all.

So then it's not finding blueBlock._root.pacball or whatever you wrote, it's null, it hasn't been defined yet.

And I'm not sure when or where you add to blueBlock._root. All I know is it thinks that it is null, so you need to change something. I recommend having a static Init() function or just setting those two properties. You would do either of these AFTER you make sure to add blueBlock._root.pacball.

Hopefully that helps? I don't recommend setting variables with object references straight out of the class definitions ever, just do it inside of an init function so you don't have to assume.


62.

None

Topic: Is using AS2 a bad idea now?

Posted: 07/06/09 02:16 PM

Forum: Flash

I agree with the other guy, it's because you don't understand it.

You make the movieclip, then you tell the game that it should be drawn.


63.

None

Topic: Is using AS2 a bad idea now?

Posted: 07/06/09 05:31 AM

Forum: Flash

Meh, kind of embaressing that you don't bother learning a superior language, yes.

I just like AS3 more because it's clearer, more elegant, and very transparent, and FlashDevelop makes AS3 like 10x easier.

And besides, stricter OOP is the shit.


64.

None

Topic: Artist/Animator for Hire!

Posted: 07/06/09 05:27 AM

Forum: Flash

I wouldn't pay you up front, but what is your stance on a 50/50 split for sponsorship money?


65.

None

Topic: _root.State = "hit"; doesn't work

Posted: 07/05/09 10:03 PM

Forum: Flash

var State:String = "hit";{

Is that an extra bracket?


66.

None

Topic: I Need Help With Action Script

Posted: 07/05/09 10:00 PM

Forum: Flash

At 7/5/09 08:51 PM, kfc23456 wrote:
At 7/5/09 08:38 PM, Woadraiders wrote: Well if he's running backwards then just move him the opposite way you're moving him now..?

When his health is <= 0 then make him play his death animation
no its not a movie
it's a game and whenever i press the left arrow key he stays in 1 frame and runs backwards

I know its not a movie. I'm saying, if you're code looks like
if(Key.isDown(Key.LEFT))
{
this.x += speed;
}

then do

if(Key.isDown(Key.LEFT))
{
this.x -= speed;
}

Just do the opposite...

Show me your code if you can't understand what I'm saying.


67.

None

Topic: I Need Help With Action Script

Posted: 07/05/09 08:38 PM

Forum: Flash

Well if he's running backwards then just move him the opposite way you're moving him now..?

When his health is <= 0 then make him play his death animation


68.

None

Topic: I Need Help With Action Script

Posted: 07/05/09 07:43 PM

Forum: Flash

Use the ASCII number.

http://www.jimprice.com/ascii-0-127.gif

if(Key.isDown(90))
{
//Z key pressed
}


69.

None

Topic: Stop the "Enter" Keyboard Shortcut?

Posted: 07/02/09 01:06 PM

Forum: Flash

After you press CTRL+ENTER to test the flash movie, click Control -> Disable Keyboard Shortcuts


70.

None

Topic: Tile engine?

Posted: 07/02/09 01:04 PM

Forum: Flash

Aren't you trying to draw an isometric map? That isometric tutorial tells you how to do that...


71.

None

Topic: AS2 player movement help

Posted: 07/02/09 12:43 PM

Forum: Flash

No it's definitely AS2 because in AS3 the movieclips have a x property, but in AS2 its _x .

And babymaker, do a tutorial.


72.

None

Topic: Tile engine?

Posted: 07/02/09 12:38 PM

Forum: Flash

Again, just look through this series of tutorials by tonypa.

http://www.tonypa.pri.ee/tbw/start.html


73.

None

Topic: Test my amazing game! It's amazing!

Posted: 07/01/09 07:56 PM

Forum: Flash

Very cool, I was put off A LOT at first by the tile scrolling problem, but the pixly style looks nice. The minigun should have a little delay before it begins shooting. Officers should shoot you when you get wanted enough. Cars should blow up when you shoot them enough. I couldn't walk in a building (I pressed SPACE to get in).


74.

None

Topic: This animation got me sick.

Posted: 07/01/09 07:52 PM

Forum: Flash

Wtf? How does that polar bear "animation" have a 3.49 score?


75.

None

Topic: 2025 error and finding the caller

Posted: 06/30/09 02:12 AM

Forum: Flash

Show me the code you've got again plz.


76.

None

Topic: 2025 error and finding the caller

Posted: 06/29/09 11:00 PM

Forum: Flash

Ok good.

At 6/29/09 09:27 PM, Woadraiders wrote: You attached all of these things to the same place, right?

i.e. the stage.

:Just keep a static reference called drawTarget or something and then you'll know to remove it from :there.

public static var drawTarget:Stage;


DocClass.drawTarget.removeChild(this);

DocClass, this is your game document class, it has the static field drawTarget.

This is if you're doing AS3 in seperate classes and stuff like you should be doing with as3, OOP. If you're not then idk how I can help you.


77.

None

Topic: [AS2] hitTest Displaced

Posted: 06/29/09 10:55 PM

Forum: Flash

No, that's not right, its displaced far more than that.


78.

None

Topic: 2025 error and finding the caller

Posted: 06/29/09 10:54 PM

Forum: Flash

Are you scripting in as2 or as3?


79.

None

Topic: Interacting with enemies

Posted: 06/29/09 10:09 PM

Forum: Flash

When you make an enemy, add it to an array. When you want to do something to a specific enemy, find it in the array.


80.

None

Topic: Need a programmer/slave!

Posted: 06/29/09 10:06 PM

Forum: Flash

Damn, everything but the DBZ and the dust(it was ok) looked fantastic, like, really good style there dude.


81.

None

Topic: Interacting with enemies

Posted: 06/29/09 09:31 PM

Forum: Flash

Show me the enemy creation code.


82.

None

Topic: 2025 error and finding the caller

Posted: 06/29/09 09:27 PM

Forum: Flash

You attached all of these things to the same place, right? Just keep a static reference called drawTarget or something and then you'll know to remove it from there.

DocClass.drawTarget.removeChild(this);

And your 1009 error is because parent is null. I know sometimes the parent field can be null but 'this' is still attached to something, idk why though.


83.

None

Topic: Question about variables.

Posted: 06/29/09 09:24 PM

Forum: Flash

Yes, and implemented just as you said it.


84.

None

Topic: [AS2] hitTest Displaced

Posted: 06/29/09 08:23 PM

Forum: Flash

I spent probably, 5-10 minutes trying to figure this out. I've got no idea, I havn't done collision detection in over a year and I really dislike it.

If you and no one else can figure it out, then I would try putting everything on the top level and try hittesting again, and then just rewrite the scrolling code.


85.

None

Topic: V-cam In As2

Posted: 06/29/09 07:29 PM

Forum: Flash

http://www.oreillynet.com/pub/a/javascri pt/2004/08/17/flashhacks.html?page=last&
x-showcontent=text

Don't EVER claim someone elses work as your own. Even the comments are identical


86.

None

Topic: flash team

Posted: 06/29/09 05:16 PM

Forum: Flash

Anyone could think of that. Ideas for flash games are worth $0.00


87.

None

Topic: Phantom problem, no error thrown

Posted: 06/29/09 04:22 PM

Forum: Flash

Well no, your splice function was also wrong. You had collectibeArray.splice(p, 1); but there was no 'p' variable.


88.

None

Topic: Phantom problem, no error thrown

Posted: 06/29/09 04:06 PM

Forum: Flash

Try this code exactly as it is, don't put in your powerCollectible reference stuff, it's just one more possible source of the problem that we'd have to look through.

for(var c:Number = 0; c < collectibleArray.length; c++)
			{
				collectibleArray[c].descend();
				
				if ( PixelPerfectCollisionDetection.isColliding( avatar, collectibleArray[c], this, true ) ) 
				{
					removeChild(collectibleArray[c]);
					collectibleArray.splice(c, 1);
					
					collectibleAcquired();
				}
			}

89.

None

Topic: flash team

Posted: 06/29/09 03:44 PM

Forum: Flash

So basically, you're the son of a master programmer, and are applying to ITT tech school? Good for you, if you're not asking for a slice of money from this though, then I don't see anything wrong. Not very enticing, but, we'll see. Good luck.


90.

None

Topic: flash team

Posted: 06/29/09 03:34 PM

Forum: Flash

I hope you don't ask for any of the money if you do is ideas.


All times are Eastern Standard Time (GMT -5) | Current Time: 03:36 PM

<< < > >>

Viewing 61-90 of 561 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 91419