Be a Supporter!
Response to: AS camera Posted October 30th, 2005 in Game Development

At 10/30/05 03:22 PM, cybex wrote: I'm pretty sure it won't work for flash 5.

if it can be saved to flash 5 it can work in flash 5, gimme the code and I'll export it for you.

Hmm.. OOP question Posted October 30th, 2005 in Game Development

I'm confused as to what the super() command does

Response to: _level0 Posted October 29th, 2005 in Game Development

sorry I was thinking of depth levels, ignor my last post

Response to: As: Fading Trail Effect Posted October 29th, 2005 in Game Development

At 10/29/05 09:19 AM, Inglor wrote:
At 10/29/05 08:55 AM, -Toast- wrote:
So this guy is illogical?
I never liked rystic's jumping engine :P

it works better than a hitTest engine, and is definently less taxing on RAM

Response to: _level0 Posted October 29th, 2005 in Game Development

At 10/29/05 02:22 PM, pt9_9 wrote:
At 10/29/05 02:17 PM, -Toast- wrote: Nothing, I suppose.

It's not always level0, it can be level01, level49572, etc.. It depends on the number of your MovieClips, I think.
so, if you say like _level1.thing it will be of higher thane _level0.thing?

I don't understand the difference of levels either...sry

level is flashes z order, a movieclip at a higher level will overlap a movieclip at a lower level.

Response to: Action script book? Posted October 29th, 2005 in Game Development

At 10/29/05 08:51 AM, THaviaC wrote: So i decided that i should get a flash book or something cuz i really want to learn gamemakin in flash. So what books do you recommend?

MACROMEDIA FLASHMX ACTIONSCRIPTING
Training from the Source
Derek Franklin/ Jobe Makar

best 20 bucks I ever spent

Response to: To Whomever Made The As:main Topics Posted October 29th, 2005 in Game Development

http://newgrounds.co../topic.php?id=327971

heres mine, you can have it just give credit where credit is due

Response to: have idea, need someone to make Posted October 28th, 2005 in Game Development

At 10/28/05 09:11 PM, vifs wrote: ok i have this cool idea for flash but i can't really buy it till i get a job (14 very very small town) but anyways i wouldn't mind having some who has made a few flash b4 and maybe has a mic. Anyways its a short about somthing irl my 2 friends did but its blow way out of portans and it ends up were they rule the world if you think you can help plz post. I jsut want criedt (sp?) for the idea so split it 50% or w/e.

sorry man most people wan't something in return for their work. I hope you don't get flammed because your new but it would be in your best interest never to make a thread like this again.

Response to: Game Score Unlockables Help Posted October 28th, 2005 in Game Development

It's a good start, normally I'd harp at you for not using tile based collisions but I don't want to be an ass. This is a decent engine you've got going here. I'd recommend making this into a platformer rather than the mini-game that you're going with.

Response to: Speakonia Blew Any Other Sudgestion Posted October 28th, 2005 in Game Development

At 10/28/05 09:03 PM, rEvolution27 wrote: d00d clocks suck. Deal with it. You guys are just filling up newgrounds with crap, and i don't mean B i mean every clock movie. As for your computer generated voice actors. Lord Help Us All

Don't be an ass, People like you need to stop looking at the Clocks as a group and start seeing them as individual people. Some suck, some don't but you saying tht clocks in general suck just boasts your ignorance.

Response to: AS3.0 Examples Posted October 28th, 2005 in Game Development

for the record man I'm not very new to flash I've been working with flash for little over a year now, unless you were reffering to my newgrounds account.

Response to: Ninja-chicken day! Posted October 28th, 2005 in Game Development

At 10/28/05 12:21 AM, Inglor wrote: I'm sorry, I couldn't hear you, I guess you're just too full of shit to be understandable, try puking some, it might work :)

These things are random but have order.

I was joking, sorry that I didn't clarify that

Response to: Ninja-chicken day! Posted October 28th, 2005 in Game Development

At 10/28/05 12:03 AM, Inglor wrote:
At 10/28/05 12:01 AM, 2k_rammerizkool wrote: you get Inglor Day, so i want a 2k_rammerizkool Day ;)
the next day is Denvish Day, things are already starting to be in place, if you want details email inglor@gmail.com and I'll get ya some

OMG! KEEP THE FUCK SHUTUP ASSHOLE!
you had you day to shine now allow Ninja-Chicken to take the spotlight as our unrivaled hero!

Response to: Ninja-chicken day! Posted October 27th, 2005 in Game Development

hahahahaha *nearly chokes* hahahahahahahahaha
I'll make a game for this

Response to: What do you think of this starfield Posted October 27th, 2005 in Game Development

At 10/27/05 10:38 PM, gorman2001 wrote:
At 10/27/05 09:55 PM, MusicianEXE wrote: very nice, I can see that you used 3d math to give it a nicer effect
hehe, who said there was 3D in this ? its just X & Y axis calculations...

It was just an assumption

Response to: AS3.0 Examples Posted October 27th, 2005 in Game Development

I was under the impression that he was talking to me and Ninja-Cock

Response to: AS3.0 Examples Posted October 27th, 2005 in Game Development

At 10/27/05 10:07 PM, Afro_Ninja wrote: Can you guys ever post in a topic without whacking off about how your AS skills rate?

I'm surprised you even remember me Afro :)

Response to: Foss: Scrambling Strings Posted October 27th, 2005 in Game Development

Nice use of arrays. The actual word scramble Idea couldn't be used for too much but I'm sure this could be used for other concepts.

Response to: What do you think of this starfield Posted October 27th, 2005 in Game Development

very nice, I can see that you used 3d math to give it a nicer effect. Awesome job

Response to: AS3.0 Examples Posted October 27th, 2005 in Game Development

At 10/27/05 09:38 PM, Ninja-Chicken wrote:
I am 100x better then you and always will be so STFU and go away because you're sticking your nose in where it doesnt belong

I could link you to several samples that I've made with source codes that you would never be able to understand. infact I think I will.

Tile based collisions
3d engine with rotation

I think you need to especially consider the top one since your collisions suck.

Response to: Xiao Xiao Posted October 27th, 2005 in Game Development

At 10/27/05 09:26 PM, needaps2 wrote: I was wondering if anyone else was amazed by Xiao Xiao lmao I personally thik its one of the most innovative flashes and deserves more tributes and episodes.

yeah man xiao xiao was badass :). It's too bad the series is dead.

Response to: AS help! Posted October 27th, 2005 in Game Development

you forgot to access lole on the main timeline so infact it should be _root.lole

Response to: AS3.0 Examples Posted October 27th, 2005 in Game Development

At 10/27/05 09:59 AM, Ninja-Chicken wrote:
lol turning into my problem now are we?
Why the hell would I learn AS 3.0 whilst in the middle of AS2.0 projects?

Just to prove you're being an ass I am going to go have a look

once again you prove that you think that it's all about you, why the hell would he care whether or not you care about actionscript 3.0. Secondly you need to learn to stop talking down to your actionscript superiors and learn your place in life.

Response to: game maker 6 Posted October 23rd, 2005 in Game Development

Game Maker is for pathetic game programmer wannabes. You gain NOTHING by learning to click a couple of buttons and making a game by doing so.

Response to: Actionscrit help... Posted October 22nd, 2005 in Game Development

_root.my_movieclip.my_moviclip_inside_movi
eclip._x + _root.my_movieclip._x

Response to: Actionscrit help... Posted October 22nd, 2005 in Game Development

_root.my_movieclip.my_moviclip_inside_movi
eclip

make sense?

Response to: AS:Beginning Posted October 22nd, 2005 in Game Development

At 10/2/05 10:20 AM, Ninja-Chicken wrote: these threads are going to be assuming that you know NOTHING

I believe there is a tutorial like that that was made before this one.

Response to: Arrrgh 3d Help! Posted October 22nd, 2005 in Game Development

I've seen many tutorials, I would like real help from a living breathing hman being who understands my specific problem.

Response to: Arrrgh 3d Help! Posted October 22nd, 2005 in Game Development

bump

Arrrgh 3d Help! Posted October 22nd, 2005 in Game Development

ARRRGH (arrow keys to move)

the faces have a screwed up z-order

this is the code for the old z-order:

_root.createEmptyMovieClip("holder", 30);

point = [[-40, 0, 0, undefined, undefined], [0, 40, 0, undefined, undefined], [0, -40, 0, undefined, undefined], [0, 0, -40, undefined, undefined]];
//Array for all the vectors

poly = [[0, 1, 2, 0x33CCFF], [0, 1, 2, 0x33CCFF], [0, 2, 3, 0x33CCFF], [1, 2, 3, 0x33CCFF]];
//Array with combinations of vectors that make up the polygon faces

var zorder:Array = new Array();
//Empty array used for determining z-order later

//This Code is inside the onEnterFrame event

_root.holder.clear();
zOrder();
zorder.sortOn("dis",18)
for (i=0; i<4; i++) {
buildFace(100, zorder[i].poly);
}

//This the buildFace function

function buildFace(fillAlpha, k) {
_root.holder.lineStyle(2, 0x000000, 100);
_root.holder.beginFill(poly[k][3], 100);
_root.holder.moveTo(point[poly[k][0]][3], point[poly[k][0]][4]);
_root.holder.lineTo(point[poly[k][1]][3], point[poly[k][1]][4]);
_root.holder.lineTo(point[poly[k][2]][3], point[poly[k][2]][4]);
_root.holder.lineTo(point[poly[k][0]][3], point[poly[k][0]][4]);
_root.holder.endFill();
}

//this is the zOrder function

function zOrder() {
hl = poly.length;
for (i=0; i<hl; i++) {
avX = (point[poly[i][0]][1]+point[poly[i][1]][1]
+point[poly[i][2]][1])/3;

avY = (point[poly[i][0]][2]+point[poly[i][1]][2]
+point[poly[i][2]][2])/3;

avZ = (point[poly[i][0]][3]+point[poly[i][1]][3]
+point[poly[i][2]][3])/3;

avH = Math.sqrt((avX*avX)+(avY*avY)+(avZ*avZ));
if (zorder[i].dis == undefined) {
zorder.push({dis:avH, ply:i});
} else {
zorder[i].dis = avH;
zorder[i].poly = i;
}
}
}

I bolded what I think the problem is. My math is fucked up. I dont get how to calculate the z-order for the faces of my pyramid. Please Help