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: 'LonLonRanch'

We found 320 matches.


<< < > >>

Viewing 1-30 of 320 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11

1.

None

Topic: How do you flip symbols in a flash?

Posted: 06/26/09 10:47 AM

Forum: Flash

That feature is in Flash 8 as well. Just modify and flip horizontally


2.

None

Topic: HIttesting

Posted: 06/26/09 10:00 AM

Forum: Flash

I haven't actually used it, I used the AS3 one I mentioned earlier which worked for me, but I don't actually know much about this one, just looked like something you'd be interested in.


3.

None

Topic: HIttesting

Posted: 06/26/09 09:36 AM

Forum: Flash

Did you download the file and read the documentation? I'm guessing it's going to take a little effort to implement it into your file.


4.

None

Topic: HIttesting

Posted: 06/26/09 08:55 AM

Forum: Flash

Unfortunately doing hitTests on objects that are not rectangles or circles takes much more work than most people want to do.

If you're still in AS2 try this: clicky


5.

None

Topic: HIttesting

Posted: 06/26/09 08:36 AM

Forum: Flash

I'm assuming that this is in AS2?

The problem with hitTest is that it only calculates the bounding box of the graphic and not the actual pixels. That's where specifying the pixel comes in handy. Check out the liveDocs for more information. Basically, with hitTest you can do:

hitTest(x, y, shapeFlag) : Boolean
hitTest(target) : Boolean

so instead of checking the bounding box, you can do a hitTest check for a specific point, like:

hitTest(box._x, box._y, true);

But either way, a triangle is one of the hardest objects to run a successful hitTest with, rectangles and circles are much easier. If you need something more powerful I'd search google for hitTest classes already written that could do this for you. If you use AS3 Troy Gilbert wrote an excellent PixelPerfectHitTest collision class.


6.

None

Topic: File size far too big?

Posted: 06/25/09 04:37 PM

Forum: Flash

Check the sound files your using, usually that will add a lot of filesize if you don't optimize your audio beforehand.


7.

None

Topic: Key Press /key Down? - As3

Posted: 06/22/09 11:05 AM

Forum: Flash

You're getting a constant trace because you're checking it on the enterFrame. If you want the code to run on just the key press then you have to put the code on the onKeyDown function. For example if you put trace("keyDown"); under your up = true; code then it will only trace when the up key is pressed, and not the whole time that (up) is true.


8.

None

Topic: [talk] Perfect Pet Art Contest

Posted: 01/03/09 06:20 PM

Forum: Art

In case anyone want to see the initial sketch for my submission you can find it here

It's actually concept art for a game I'm working on, but it would still be a pretty sweet pet :D


9.

Shouting

Topic: [art] Perfect Pet Art Contest

Posted: 01/03/09 06:06 PM

Forum: Art

This kind of doubles as concept art for my next game but I figure it still applies.
Nothing says home security like a demolition beaver.

[art] Perfect Pet Art Contest


10.

None

Topic: questions

Posted: 09/08/08 02:08 PM

Forum: Flash

File->Import->to Library (browse to song file)

That will let you import a sound file into Flash. To apply it to a frame click the frame and then click on 'properties'

To improve quality go to File->Publish Settings and make you're desired changes from there (such as jpeg quality and compression settings)


11.

Angry

Topic: Final Post-Castle Crashers Post

Posted: 08/29/08 10:15 AM

Forum: NG News

Awesome game Tom! Not only is it incredibly fun (especially if you have 4 people playing locally) but it is hilarious! Definitely didn't realize that after you saved a princess you had to all fight each other for the smooch :D -We were all standing around wondering what to do and then my friend accidentally killed me, I got pissed at him then my other friend killed him and got to make out with the maiden, it was priceless.

Awesome game, great job Behemoth!


12.

None

Topic: how much is a good flash?

Posted: 08/25/08 11:26 AM

Forum: Flash

Also, AS 3.0 is a good language to learn, even if you are a 'begginer.'

Eventually AS 2.0 will be outdated and everyone will be using 3.0 so might as well learn it first instead of having to learn them both.


13.

None

Topic: As Help _xmouse, _ymouse ???

Posted: 08/21/08 10:44 AM

Forum: Flash

I'd expect this tutorial at Kirupa.com could help you out.


14.

None

Topic: pausing movie clips

Posted: 08/20/08 03:34 PM

Forum: Flash

Yes, but you would have to tell each movieClip individually to stop as well:

_root.otherMovieClip.stop();

_root.stop(); just tells the main timeline to stop, anything that is in its own timeline will keep on playing


15.

None

Topic: a button that adds 1 to a php varia

Posted: 08/20/08 10:20 AM

Forum: Programming

At 8/20/08 10:14 AM, Dad00 wrote: ile try to give a example
<?php
$number =1;
?>
javascript codething $number+=1
<?php
echo $number;
?>

Well first of all you don't have to use the 'javascript codething $number += 1'

if you're doing it in php just do:

<?
$number = 1;
$number ++;
echo $number;
//that will echo '2'
?>

16.

None

Topic: Beat Em Up

Posted: 08/20/08 10:16 AM

Forum: Flash

Well if the trace isn't working then there is clearly something wrong with the hitTest portion of your code. If your instances are all correct (double check and spell check) then make sure the paths are all correct.

If you are using _root.enemy then make sure the enemy is on the main timeline and not in any movieClips, if he is in a movieClip then you have to do _root.enemyMC.enemy

Also, what exactly are you having hitTest the enemy? with you're current code you realize that the movieClip must hit exactly where the enemy's _x and _y are, which means it can still pass through the enemy movieClip, but if it doesn't hit the right registration point it won't count as a hitTest


17.

None

Topic: Check out my engine

Posted: 08/15/08 02:12 PM

Forum: Flash

Yea, this is a really solid engine, I was keeping myself busy with that alone :D With something like this the possibilities are endless for possible games, nice work.


18.

None

Topic: Games511

Posted: 08/15/08 01:18 PM

Forum: Flash

Man, you don't seem to be getting a very a good response :D But i mean really, another Newgrounds remake, its nothing new or interesting. I think it may be best to leave it to the big boys


19.

None

Topic: Game Website - Pay Related

Posted: 08/15/08 10:59 AM

Forum: Programming

Yea that site is very very simple, it wouldn't take much code at all to do that, I wouldn't spend more than $100 for a layout as such, its really only 2 pages. (that would take a good programmer an hour provided they had the proper resources/information to get started)


20.

None

Topic: I need to run an idea by you guys

Posted: 08/15/08 10:41 AM

Forum: Flash

Seems like a fun idea, incredibly simple, you would have to find ways to make it interesting by having bonuses/power-up/store etc. Having a game that lasts for 1 minute and then asks you to replay usually doesn't get to much hype so its going to have to come from creativity, you'll have to make it different, give people a reason to want to play it several times, kind of like Hedgehog Launch.


21.

None

Topic: i need help with keys

Posted: 08/15/08 10:34 AM

Forum: Flash

I'm starting to think you don't know what you're talking about. there is no isHeld(); function or anything of the sort. isDown(); is what everyone uses, if you can't figure out how to use it to your desire then I'm sorry, but you there is no reason to get mad at people who are trying to help you.


22.

None

Topic: Dammit AS! Work for me!

Posted: 08/15/08 10:18 AM

Forum: Flash

gotta look out for those double equal signs :D

onClipEvent (load) {
	left = false;
}
onClipEvent (enterFrame) {
	if (left==false) {
		this._x += 5;
	}
	if (left==true) {
		this._x += 5;
	}
	if (this._x==1571.7) {
		left = true;
	}
	if (this._x==571.7) {
		left = false;
	}
}

23.

None

Topic: Game Website - Pay Related

Posted: 08/15/08 10:11 AM

Forum: Programming

It really does depend on all the functionality you are wanting it to do, if you just want a page that will upload a flash file to the server along with a few text-based options it really wouldn't be that much code, it mostly depends on the size of the site and the functionality you hope to achieve


24.

None

Topic: I hate IE... (negative margins)

Posted: 08/15/08 10:06 AM

Forum: Programming

I think I had a similar problem to this and I think I made a few changes for it to work, like mentioned above I made the div with the negative margin to have a:

position:relative;

If that still doesn't work, instead of doing a margin-left:-40px;

do a left:-40px; or right:40px;

And I think that worked, I also changed the display to display:block; but I can't remember if that was related or not :P


25.

None

Topic: need help with shape flag hittests

Posted: 08/15/08 09:56 AM

Forum: Flash

well what the shapeFlag hitTest does is it gives you an x and y value to check for hitTest, rather than a hitBox

MovieClip.hitTest( x, y, shapeFlag);

But when dealing with circles (which yes gets complicated, and I actually have never done this before)
you would have to do something like this:

object1.hitTest( (object2._x - object2_radius), (object2._y - object2_radius), true);

Now this code wouldn't work in a million years if you tried it of course but its an example. You need to have a code that gets the distance between the 2 objects that are going to collide. Then when that distance is, say, the distance of the radius of both of the 2 objects (say each circle is 20 wide, or radius of 10, then that distance would need to be 20) Then you do you're execution.

Again, I hope this helps, it is a bit confusing I might not have explained it perfectly but its headed in the right direction. Good Luck :D


26.

None

Topic: i need help with keys

Posted: 08/15/08 09:42 AM

Forum: Flash

I don't really see your problem doing:

this.onEnterFrame = function(){
  if(Key.isDown(yourkeycode)){
     //your code
  }
}

Does count it for being held down. The isDown() method is checking to see if the Key is Down, so technically it is checking if it is 'held down.'

If you're getting problems with it, it may be better to post the code you're having trouble with


27.

None

Topic: Google Adsense

Posted: 08/14/08 02:16 PM

Forum: Programming

Huh, I didn't realize people got banned that often, well I've never had any problems with Adsense, I must be better than all of you.


28.

None

Topic: random object spawning

Posted: 08/14/08 02:06 PM

Forum: Flash

Before you do this you should know about attachMovie();

The code for this would look something like this:

createEmptyMovieClip("bLayer", 0);//make a separate layer for the buttons
var bCount:Number = 0;//set the number of buttons on-screen to 0

randomBtn = function():Void{
	nm = "power"+bCount;
	bLayer.attachMovie("linkage_of_your_button_MC", nm, bCount);
	bLayer[nm]._x = Math.random() * 550;
	bLayer[nm]._y = Math.random() * 400;

       //that will attach them randomly around the screen
	
	pLayer[nm].onEnterFrame = function():Void{
		//this is where you put the code for after its attached
               this._y += 5;
	}
	
	bCount++;
	bCount %= 40;//this makes it so there can't be more than 40 buttons (cleans up expired buttons)
}

29.

None

Topic: Google Adsense

Posted: 08/13/08 02:08 PM

Forum: Programming

I've been using Adsense for over a year now and have nothing but good things to say from the experience. Its incredibly easy to use, basically they make code for you and then you put it in your site. A month later (if your site doesn't suck) they send you a wonderful check. And it's only getting better, Google really knows what they're doing. Two Thumbs up to Adsense!


30.

None

Topic: Missing Episode of Edible Castle!

Posted: 08/13/08 11:56 AM

Forum: NG News

That was one heck to a treasure hunt, I tip my hat to the guys at Edible Castle! Shame on all you who posted links to the end, seriously how is that fun/fair?


All times are Eastern Standard Time (GMT -5) | Current Time: 04:33 PM

<< < > >>

Viewing 1-30 of 320 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11