Be a Supporter!
Response to: I can't get this to stop lagging Posted February 7th, 2011 in Game Development

Both.
Just spin the beam around in a circle and walk about. After a few seconds you'll notice the beam is way behind where the mouse is. Then if you stop beaming, it takes a while to realise that you've stopped.

This is AS2 btw.

and just a reminder: the game works fine when I take out the map graphics. So I think the graphics are the problem.

I can't get this to stop lagging

I can't get this to stop lagging Posted February 7th, 2011 in Game Development

Hey, I've got this game with this big tile-based map.
I've imported all the tiles as PNGs, I've used cacheAsBitmap = true; on the map, I just cant get it to stop lagging.

Press PLAY, and then just wave the beam around for a little bit.

I'm pretty sure it's the map graphics fuckin things up, cos it works fine if I take em out.

Is there anythin I'm missing?

Response to: How to make a game like Age Of War? Posted December 14th, 2010 in Game Development

At 12/12/10 08:59 AM, Niallmcfc wrote: HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA HAHAHAHAHAHA

Why do you think Age of War did so well, exactly?

Because it's original

Are you joking? It's got one mechanic: You have barracks and they upgrade over time.
That's Age of Empires, Civilization, and every RTS ever.There's nothin original there.

duplicateMovieCli p() (durrrrrr) Posted December 14th, 2010 in Game Development

Durrrr I don't know how to make games.

I wanna try an echo effect in a game- so like I wanna stamp my guy's image down every frame.
Y'know, like onion-skinning.

I tried this:
echo.MCcount++;
duplicateMovieClip(guy.mc, "mc"+echo.MCcount, echo.MCcount);
echo["mc"+_root.echo.MCcount]._x = guy._x;
echo["mc"+_root.echo.MCcount]._y = guy._y;
echo["mc"+_root.echo.MCcount].gotoAndSto p(guy.mc._currentframe);

but it doesn't work. I can't get it to duplicate the guy's animation IN the echo movieclip.

buhhhhh?
AS2.

Response to: The Flash 'Reg' Lounge Posted December 14th, 2010 in Game Development

I don't know why this Tomfulp dude is so popular. He hasn't made that many movies and his artwork sucks!

Response to: Sponsorship Opporitunity Posted December 14th, 2010 in Game Development

I'm pretty sure you can MAKE games that're better than $150 in like a week if you wanted to get shit started.

Response to: Sponsorship Opporitunity Posted December 14th, 2010 in Game Development

I just don't get why you'd make a portal that only sponsors bad games :|

Response to: My slow-motion is glitchin shit up Posted December 13th, 2010 in Game Development

Ok THANKS GUYS, but after thinkin about it all day I realised I don't need all this setInterval nonsense.
I've swapped the whole thing out for this:

onEnterFrame = function () {
seconds++;
if (seconds/_root.framerate == Math.round(seconds/_root.framerate)) {
//code
}
}

so if I keep _root.framerate at 1 then it executes every frame, but if I change _root.framerate to 5 then it executes every 5 frames, THUS slowin the whole thing down.

Amd here's the game!

Response to: My slow-motion is glitchin shit up Posted December 13th, 2010 in Game Development

Well that seems like a good idea, but then the other guy would be going normal speed wouln' e?

Response to: Beat'm up Posted December 13th, 2010 in Game Development

Are you using AS2 or AS3? Cos with AS2 you'll wanna read this:
http://www.newgrounds.com/bbs/topic/3287 99

and then use this.swapDepths(_y) on everything.

Response to: My slow-motion is glitchin shit up Posted December 13th, 2010 in Game Development

It's a game. Each character has like 25 different animations, and they can be in any place at any time.

If it was an animation, I'd be fine.

Response to: The Flash 'Reg' Lounge Posted December 13th, 2010 in Game Development

Also the 80s are great.

Response to: The Flash 'Reg' Lounge Posted December 13th, 2010 in Game Development

I wanna make a fighting game but I don't know if I should. I mean like a Street-Fighter fighting game.

Would anyone wanna play that on a keyboard?
Would anyone wanna play a fighting game with no multiplayer?
Would anyone bother learning the characters for a free web game?
And it'd be a shitload of animation!

My body's sayin Let's Go, but my heart is sayin No :/


AS2.

I'm makin a fighting game where the framerate drops down when you K.O. a guy. So it's like a slow-motion win.
The problem is that when the game loops around and starts again- when it gets back to the fight screen, the framerate is like double what it should be. I think the code is acting ontop of itself.
So how do I get the code to all delete itself after the fight?

Here's how I'm managing the framerate:

_root.framerate = 30;

clearInterval(inter);
function main():Void {
//stuff
}
var inter:Number = setInterval(main, 1000/_root.framerate);

I hope someone actually knows what I'm talking about.

Response to: The Epic Tutorials of '10 Posted November 29th, 2010 in Game Development

I use AS2 and I make some pretty bitchin games!

BUT- Everyone who uses AS2 has bin usin it for years and doesn't need tutorials- Except really complex weird maths stuff.

Response to: What music should I put with this? Posted November 25th, 2010 in Audio

Perfect, thanks.

What music should I put with this? Posted November 25th, 2010 in Audio

Hey, I made a little animation scene to start off my game.

I don't know what kind of music I should put with this at all, so does anyone have any ideas or what?

Response to: The Flash 'Reg' Lounge Posted November 19th, 2010 in Game Development

Or I could just make it so that you don't accidentally go the wrong way.

Response to: The Flash 'Reg' Lounge Posted November 19th, 2010 in Game Development

Oh I forgot to mention that the new ending I had to put in actually WAS a secret ending.

Like in the original game, you'd go back in time at the end n start again in a crazy Back-To-The-Future twist.
But I put in a fake ending if you deliberately go the wrong way, where everyone turns into dinosaurs and the whole thing fucks up n makes no sense.

What happened was the sponsor accidentally got the fake ending, an then the real ending seemed boring. So now I have to swap it- which sucks because now it makes no sense.

So in my experience: Don't make easter eggs.

Response to: The Flash 'Reg' Lounge Posted November 19th, 2010 in Game Development

At 11/19/10 09:55 AM, Bezman wrote: Rockband 3 gets 10/10 in the latest edge. 13th 10/10 in over 17 years of publication.

Discuss.

I'm still gonna wait a couple of years to get it and the guitar though, so the price comes down.

EDGE is a weird magazine, I don't even know what a 10 out of 10 means to them.

Response to: light and stuff Posted November 18th, 2010 in Game Development

WOW thanks. Now this game can look way less ametuer.

I knew setting the blend mode to Erase would have somethin to do with this but I could never get it to work.

Response to: The Flash 'Reg' Lounge Posted November 18th, 2010 in Game Development

I'm fine with how much money it is, I'm just gonna feel dumb when I upload it.

Not kickin up a fuss o nothin I'm jus blowin off steam, y'know.

Response to: light and stuff Posted November 18th, 2010 in Game Development

Argh I shoulda known it was BitmapData. Whenever I don't know how to do some kinda special effect it's allways AS3 bitmapdata.

I'm usin Flash 8, I don't think I'll be able to do it.

Response to: The Flash 'Reg' Lounge Posted November 18th, 2010 in Game Development

Nobody else bid on it so it's either that or nothin. I shot down his first 3 crazy ideas.

Response to: light and stuff Posted November 18th, 2010 in Game Development

I got close here:
http://www.newgrounds.com/dump/item/9de2 cd5f035fdace628c3eca0e925291

but it's far too code-heavy to be actually usable :/

Response to: light and stuff Posted November 18th, 2010 in Game Development

Well that's just a mock-up to show what I want it to look like.

I want that to happen IN-GAME so that the two circles of visibility can both flow around normally.

Response to: The Flash 'Reg' Lounge Posted November 18th, 2010 in Game Development

I sold my next game to a sponsor who made me change the ending to a LOL SO RANDOM nonsense ending and now I hate it >:/

Response to: math question Posted November 18th, 2010 in Game Development

The _width and _height properties in Flash tell you the width n height of something no matter which way you spin it.

So if you did
trace(square._width);
trace(square._height);
Then it'd show 100 100. If you rotated it and did
trace(square._width);
trace(square._height);
again it'd show 141.4 141.4 or whatever.

light and stuff Posted November 18th, 2010 in Game Development

Hey I'm makin a stealth game.

It'd be good if I had the whole room dark, but there were circles of visibility around the player and the enemies. Like gradients that blend into each other, or something..

Is this even possible?

light and stuff

Response to: Cubic Zen 3D Posted November 18th, 2010 in Game Development

Why does anyone want a Minecraft in Flash? It wouldn't be as good.