Be a Supporter!
Response to: Need Advice Posted May 30th, 2006 in Game Development

try making a word document with all the simple codes on, and soon, if you keep scripting, they will just stick in your mind.

Response to: Is this possible? Posted May 30th, 2006 in Game Development

I usually go with the simple way when doing things. If i get to complicated I just mess up later on. But i guess we all have different opinions. But if he doesnt know AS, or is just starting out. I wouldnt give him a code like that, chances are hes just gonna copy and paste it and learn nothing.

Response to: Need Advice Posted May 30th, 2006 in Game Development

stop();

No, but seriously. I didnt start AS from a book or anything. I started from AS: Main

Look at my tutorial which i did quite a while back. Buying books, id say, is pointless.

Response to: Need Advice Posted May 30th, 2006 in Game Development

I honestly wouldn't bother.
Goto AS: Main, its much easier and you dont waste a penny.

I also just google my questions.

Response to: help me Posted May 30th, 2006 in Game Development

Lol, tah fer giving him the correct code.

I didnt quite understand his question :P

Response to: help me Posted May 30th, 2006 in Game Development

Use frame labels

if(root.score==30){
gotoAndPay("My Frame Label")
}

Put a label on the frame you want it to play

Response to: Is this possible? Posted May 30th, 2006 in Game Development

gotoAndPlay(#)

Then, make the frame a certain frames long, and it should stay on that frame for a certain time, then, on the last frame of it put, gotoAndPlay(#)

Response to: Lol Toast!!! Posted May 24th, 2006 in Game Development

lol breaadd

Response to: Lol Toast!!! Posted May 24th, 2006 in Game Development

loltoast! ...

Response to: Rate MY Flash!!! Posted May 22nd, 2006 in Game Development

The music what the beastie boys - fururama rap thing or summit


Ok, me and Shadowfish26 have everything working for the inventory. But, we want it so your able to drop items. I honestly expected my current code to work,

onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
this.gotoAndStop(2);
} else {
gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (this._currentframe == 2) {
_root.addToslot(this);
this.gotoAndPlay(3);
} else {
this.gotoAndPlay(1);
}
};
}

on (press) {
if (_root.item._currentframe == 3) {
_root.item._x = _root.player._x;
_root.item._y = _root.player._y;
}
}

You see, you have to actually walk up to the item, and click on it to pick it up. Then, when you click it while its at frame 3, (when you click it from the ground), it SHOULD go back on the ground. But, it doesnt even go to the item slot, it just goes straight to players x and y axis.

Response to: Inventory help Posted May 22nd, 2006 in Programming

Oh Sorry! I didnt realise!

Inventory help Posted May 22nd, 2006 in Programming

Ok, me and Shadowfish26 have everything working for the inventory. But, we want it so your able to drop items. I honestly expected my current code to work,

onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
this.gotoAndStop(2);
} else {
gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (this._currentframe == 2) {
_root.addToslot(this);
this.gotoAndPlay(3);
} else {
this.gotoAndPlay(1);
}
};
}
on (press) {
if (_root.item._currentframe == 3) {
_root.item._x = _root.player._x;
_root.item._y = _root.player._y;
}
}

You se, you have to actually walk up to the item, and lcick on it to pick it up. Then, when you click it while its at frame 3, (when you click it from the ground), it SHOULD go back on the ground. But, it doesnt even go to the item slot, it just goes straight to players x and y axis.

Response to: how do you make a online multi game Posted May 21st, 2006 in Game Development

The thing is, will you be able to make it?

Response to: Hierarchy Question Posted May 21st, 2006 in Game Development

*bump again* (sorry, i really need some help)

Response to: Hierarchy Question Posted May 21st, 2006 in Game Development

function addToslot(item) {
if (!item.found) {
item._x = eval("itemSlot"+currentslotnum)._x;
item._y = eval("itemSlot"+currentslotnum)._y;
item.found = true;
currentslotnum++;
}
}

Theres the addToSlot function ;)

Response to: Hierarchy Question Posted May 21st, 2006 in Game Development

*bump*

Response to: My little flash problem! Posted May 21st, 2006 in Game Development

At 5/21/06 03:13 PM, -Shampoo- wrote:
At 5/21/06 02:38 PM, TheHellScorpion wrote:
At 5/21/06 02:32 PM, jmtb02 wrote: File> Save and Compact

Also, open your library, sort by type, and make sure you have no duplicate sounds in size or name.
what does the save compact do?
probably puts it into a compack file.(like a Winzip compack file) but i'm not sure

I believe Save And Compact deletes all the little files that you thought you deleted, but are still there at around like 1kb or something.

Response to: hitTest problem Posted May 21st, 2006 in Game Development

i usually use

unloadMovie();

But i dont think that will fix yer problem.

Hierarchy Question Posted May 21st, 2006 in Game Development

I need some help with hierarchy. Ive looked at the AS thread. Read it throught, but it doesnt seem to be workign for me.

onClipEvent (enterFrame) {
if (_root.player.hitTest(this)){
_root.inventory.itemSlot1.addToslot(this);
}
}

This is the code I have on the item.

But, it just doesnt work, I'd like the item to go to itemSlot1 which inventory is parent to.

Response to: Goddam actionscript! Posted May 21st, 2006 in Game Development

Why not just put this on the movieclip(s) you want to drag ...

on(press){
startDrag(this);
}

on(release){
stopDrag();
}

I believe thats what you wanted lol, if not, just say :P

Response to: Exciting Flash Project Posted May 16th, 2006 in Game Development

Id love to help! Though i am not a great animator, I can animate quite well and id be happy to show you some work.

MSN - Saza066@hotmail.com
Aim- Shadowchilla

Response to: Another Action script question Posted May 16th, 2006 in Game Development

I believe it does

Response to: Creepiest video game Posted May 15th, 2006 in General

Well....
Shivers - And there scary cartoon ghost monsters
Myst - Teh horrid noises! D: Seriously... even though i couldnt get past the first bit.
Diablo - THE BUTCHER!!! :(

yes.. there old... ^^

Response to: Kingdom Hearts Posted May 15th, 2006 in General

What he said

Response to: NG Confessions... Posted May 15th, 2006 in General

At 5/15/06 08:09 AM, Dogmega wrote: I am not really a dog.

How could you lie to me all this time!!!

Confessions.... I joined NG when i was 11.. ^^

AND I have a trampoline.. thats right.. i admit it! *cries* D:

Response to: So what if 666 is coming? Posted May 15th, 2006 in General

At 5/15/06 08:32 AM, Another_Knight wrote: hahahah.................666 flipped upside down is something like ppp.

Actually, 999. The England emergancy number. And, ive read through most posts, and acccording to some, 616 is satan.

Also, many stated before it will be 06/06/06
This is very true, there are 2 digits in the maximum days of each month, so there will have to be a space saver there, hence the 0. Same with the month. And the year is 2006, the last to numbers must be placed on the date, "06".

In the US they put the month first (i believe). Here in england we put the day first.
I guess they used 666 because, even if the month and day are swapped round, its still the same.

Just my view on it

Response to: Who Wants In [Interesting] Posted May 8th, 2006 in Game Development

Id like to join, considering that your not full up on artists.

I have past experiance on anatomy and such. Though i usually draw more cartoony but, set me something, and i most of the time i can draw it :P

Ill try and dig up some examples of my work =]

Response to: Official Ng Screensaver Voting! Posted May 7th, 2006 in General

1) DBarbarian-Entry 2
2) Hoeleo-Entry 1
3) -Evan-
4) DBarbarian-Entry 1
5) Depredation

Response to: Is this okay? Posted May 6th, 2006 in Game Development

Also, when you right click it says "Dont cheat" or something. WHats there to cheat on?
Its only a few tweens and some buttons.