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

We found 3,132 matches.


<< < > >>

Viewing 1-30 of 3,132 matches. 1 | 2 | 3 | 4 | 5 | 6 | 756105

1.

None

Topic: Collision detection problem

Posted: 09/20/09 01:04 PM

Forum: Flash

At 9/20/09 07:24 AM, Halosheep wrote: My code is just a movement script for the character, with the V-Cam following. The only problem is the walls. The character stops when he hits the walls, but he gets stuck halfway through, and you can slowly wiggle him out.

Have you tried making the wall collision detection after the movement code:

stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDowns);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUps);
stage.addEventListener(Event.ENTER_FRAME, xmove);
stage.addEventListener(Event.ENTER_FRAME, ymove);
stage.addEventListener(Event.ENTER_FRAME, limits);
stage.addEventListener(Event.ENTER_FRAME, walls);
stage.addEventListener(Event.ENTER_FRAME, camfollow);

2.

Elated

Topic: The Flash 'Reg' Lounge

Posted: 09/20/09 09:44 AM

Forum: Flash

At 9/20/09 09:40 AM, liaaaam wrote: Can't wait for Day 2s events!!!

Yeah, paintballing is going to be so awesome!

Kes has outdone himself this time. Much better than the last Sheffield m33t.


3.

None

Topic: The Flash 'Reg' Lounge

Posted: 09/13/09 03:17 PM

Forum: Flash

Helicopter going off in the 16 bit distance:

1,0.02,0.88,0.48,0.79,0.04,,,-0.296,,,-0.26,1,0.77,0.919,0.016,-0.004,0.068,0.06,0.159,0.404,0.781,,0.5

4.

Elated

Topic: The Flash 'Reg' Lounge

Posted: 09/13/09 02:32 PM

Forum: Flash

3,0.032,0.032,0.293,0.949,0.5,,0.381,0.7 79,0.521,0.078,-0.817,,0.151,0.28,0.419,
-0.439,-0.063,0.889,-0.219,0.859,0.465,-
0.051,0.5
^^ That's my little sound effect (That sort of swoosh sound when your retro spaceship takes off).

And yes, mutate and randomise on the fly would be really cool.


5.

None

Topic: Actionscript on imported png files

Posted: 08/14/09 03:49 AM

Forum: Flash

Press F8 (or right click it and convert it to a symbol), make it a movieclip and then apply actions to that movieclip.

Actionscript can only be applied on frames/buttons/movieclips in AS2.


6.

Happy

Topic: Preloader Breaking

Posted: 08/13/09 06:49 AM

Forum: Flash

Thank you all very much for testing.

It must be my machine glitching up the flash player.
I've just tested it on another PC and a Mac with no glitch.

Thanks again :)


7.

None

Topic: Preloader Breaking

Posted: 08/12/09 05:35 AM

Forum: Flash

Pretty definite. We've got a good 10meg connection here.

It just stops dead about one in ten loads around 70%. Really bizarre.


8.

Sleeping

Topic: Preloader Breaking

Posted: 08/12/09 04:29 AM

Forum: Flash

Hey,

Can anyone help, I'm making an application and my preloader is breaking.

At the moment the loadedBytes simply doesn't reach the totalBytes sometimes.
You can find the error at:
My broken application

The "checking" text number increases when the preloader is still in action (checking that the bytes are not equal). You may have to refresh the page a few times to get the glitch.

Here is the preloader code I'm using:

stop()
// Enter frame preloader
this.addEventListener("enterFrame",load_bar);
function load_bar(e:Event) {
	// Debug
	loadedBytes.text = String(this.loaderInfo.bytesLoaded);
	totalBytes.text = String(this.loaderInfo.bytesTotal);
	preloaderTint.lBar.scaleX=((this.loaderInfo.bytesLoaded/this.loaderInfo.bytesTotal));
	percent.text = String(preloaderTint.lBar.scaleX*100);
	checkingTxt.text = String(checking);
	checking++;
	if (this.loaderInfo.bytesLoaded == this.loaderInfo.bytesTotal) {
		this.removeEventListener("enterFrame",load_bar);
		addJSReader();
		loadXML();
	}
}

I've also used a preloader with Event.COMPLETE and Event.PROGRESS but that has the same problem.

Any help would be much appreciated.

Thanks,

James


9.

Happy

Topic: Ng London Summer Fling '09

Posted: 08/10/09 01:48 PM

Forum: General


10.

None

Topic: Ng London Summer Fling '09

Posted: 08/07/09 02:56 AM

Forum: General

Mornings suck :(


11.

Happy

Topic: Lots of News Bits

Posted: 04/21/09 07:44 PM

Forum: NG News

Voted on the Tattoo.

I'm guessing we still have the ability to vote on the monthly winners. I like being involved in doing that :)


12.

None

Topic: I'll go sirtom93 on someone I swear

Posted: 04/19/09 03:48 PM

Forum: Flash

Done.

Now go play nice now...

</thread>


13.

Happy

Topic: ActionScript 3 - Multiple platforms

Posted: 04/18/09 06:03 PM

Forum: Flash

Also uploaded .fla here.

Sorry for DP

14.

None

Topic: ActionScript 3 - Multiple platforms

Posted: 04/18/09 06:00 PM

Forum: Flash

I see your problem and your problem adjusting to the syntax of AS3.

I looked at the code earlier and adjusted the fix:
I added a container (just a movieclip, called with the instance name of platformCont.
I made sure the x and y of the platform are at 0. Then I add all your platforms within that Movieclip.
I then go through all the children of the MovieClip container with the following code.
numChildren returns the number of objects in the MovieClip. Then the getChildAt(indexNumber) returns the actual platforms (like your old P1, P2).

I then added a break, because otherwise the for loop would set falling to false even though it was set true to the old platforms giving it adverse effects.

for (var i:int = 0; i<platformCont.numChildren; i++) {
	if (platformCont.getChildAt(i).hitTestPoint(bunny.x,bunny.y+bunny.height/2,false)) {
		bunny.y = platformCont.getChildAt(i).y - (bunny.height/2) ;
		falling=false;
		fallSpeed=-1;
		break;
	} else if (!jumping) {
		falling=true;
	}
}

Good luck! Let me know if you have any more trouble.

Another way of looping thought multple objects/items in AS3 is to reference them in an array.
Like so:

var myArray:Array = new Array();
array.push(p1,p2,p3,p4);
for (var i:int=0; i<array.length; i++) {
if (array[i].hitTestPoint(bunny.x, bunny.y) {
// code
}
}

P.S. I was bored, and did look at the .fla, although I normally wouldn't!


15.

None

Topic: Re-Blocked in China

Posted: 04/02/09 06:32 PM

Forum: NG News

Best April fools for NG yet! I hope you can compete with that next year.
Some funny-as response PM's aswell :) Made me laugh quite a bit.

Checked out that "8-bit Waterslide In Real LIfe" Barclaycard competition submission. It was really well done, if anyone reading this hasn't watched it, GO WATCH IT!


16.

None

Topic: Tom Fulp's Baby Names...

Posted: 03/13/09 07:14 AM

Forum: General

GO!

Pico 2

Tom Fulp's Baby Names...


17.

None

Topic: What you Missed this Week

Posted: 03/13/09 07:09 AM

Forum: NG News

At 3/12/09 05:07 PM, TomFulp wrote: In other news: No baby YET but any day now.

Wow, I missed they whole "I knocked up April talk"

.... wait, it IS with April right...?

Well, Good luck :) We wanna see pictures on the day!


18.

None

Topic: how do i keep em from righclicking?

Posted: 03/05/09 09:49 PM

Forum: Flash

In AS2 run this code:

Stage.showMenu = false;

And in AS3 it's like this:

stage.showDefaultContextMenu=false;

19.

None

Topic: Monthly Voting, Newsness

Posted: 03/03/09 05:52 PM

Forum: NG News

The medals are really cool. They look more impressive (graphic wise) than I've seen on other sites.

I hope you have more plans on what to do with the medals earned :)


20.

None

Topic: How to make flash?

Posted: 02/24/09 08:56 PM

Forum: Flash

Have you read the sticky?

New to flash? Read this first!


21.

None

Topic: Adobe Air

Posted: 02/24/09 08:48 PM

Forum: Flash

Adobe Air is adobe flash with a bigger library of features.

This means that you can just export your current flash Movie/Game and make it easily into a desktop application. But you can add much more functionality to make your game/movie to act more like a program than a flash .swf.

Download Tour de Flex, it's meant to be showing off all the flex features (another library and xml coding syntax) but it has a tab for all the Adobe Air features that you can now do.

Some of my favs are: Transparent Video, Saving/Loading, Dragging files into the Air application to load, Component to view all your local files on your PC, New Windows (customised with headers or blank). Download it and have a look, the application is also published with Adobe Air.


22.

None

Topic: swf on a dvd

Posted: 02/23/09 11:44 PM

Forum: Flash

If you export the move as a quicktime .mov it also exports nested movieclips.

In that mode it takes a while to render out every frame but it does work (without glitches).

Then you put the .mov into a DVD burning software and burn.


23.

Elated

Topic: UK Meetup, News News News

Posted: 01/24/09 05:56 AM

Forum: NG News

I really enjoyed the meetup this year. Let's keep it going!


24.

None

Topic: Timer (AS3)

Posted: 01/21/09 08:02 AM

Forum: Flash

It's vital to know what's going on so I've made a few comments about what's going on:

// This creates my new timer, and sets it to update every 1000 miliseconds (1 second)
var myTimer:Timer = new Timer(1000);

// Adds my initial countdown and displays it on screen
var countDown:int = 30;
textBox.text = String(countDown);

// This adds a listener to my function and it calls this function whenever it updates
myTimer.addEventListener(TimerEvent.TIMER, timerHandler);

// This starts the timer to get it to start working
myTimer.start();


// The function that is called every update
function timerHandler(event:TimerEvent):void
{
	// It deducts a second from our visible timer
	countDown--;
	
	if (countDown==0)
	{
		textBox.text = "COMPLETE";
		// add next frame code here
	}
	else
	{
		// This updates my textbox with the current countdown
		textBox.text = String(countDown);
	}
}

I hope this helps...


25.

None

Topic: The Ng London Meetup Aftermath

Posted: 01/20/09 07:44 PM

Forum: General

Ok, until we get the actual footage this will have to do:
Sexy Back Clip

Remember... no swearing -_-

Oh, and the view from the hotel room (don't you wish you'd slept there)

The Ng London Meetup Aftermath


26.

None

Topic: The Ng London Meetup Aftermath

Posted: 01/20/09 07:15 AM

Forum: General

At 1/20/09 07:03 AM, TimFrommeyer wrote: Thumbs up.

I don't remember that at all but apparently I'm in it. Where/when was it?


27.

None

Topic: Show NG your desktop!

Posted: 01/18/09 08:26 PM

Forum: General

Meh:

Show NG your desktop!


28.

None

Topic: Happy Birthday Luis!

Posted: 01/18/09 08:22 PM

Forum: General

Luis is a cock

Happy Birthday

29.

Happy

Topic: Poop Beep London Meet 4

Posted: 09/13/08 03:55 PM

Forum: General

Just thought I'd confirm that I'll be there for this.

It's my birthday on that day too. So let's make it a good one. I expect Kirk to try and catch up with my drinking antics this time :P


30.

Happy

Topic: London, MGS, Trophies, News

Posted: 09/12/08 12:25 PM

Forum: NG News

Thanks Tom for the round of drinks in London. If you turn up this time, you can actually give it to us in person :P


All times are Eastern Standard Time (GMT -5) | Current Time: 01:44 PM

<< < > >>

Viewing 1-30 of 3,132 matches. 1 | 2 | 3 | 4 | 5 | 6 | 756105