Be a Supporter!
Response to: hittest problem Posted June 13th, 2005 in Game Development

I'll trim it to just whats needed

onClipEvent (load){
movespeed=20;
_root.flydead._visible=false;
depthCounter=1;
maxflydead=324;
}
onClipEvent (enterframe){
preX = this._x;
preY = this._y;
lalalalalala
if(this.hitTest(_root.enemy)){
this._x = preX;
this._y = preY;
_root.flydead.duplicateMovieClip( "flydead1"+i, depthCounter );
_root["flydead1"+i]._visible=true;
depthCounter++;
if (depthCounter>maxflydead){
depthCounter=1;
}
_root.enemy.gotoAndStop(2);
}
lalalala
if(this.hitTest(_root["flydead1"+i])){
this._x = preX;
this._y = preY;
}
}

then I also have the flydead following enemy MC ofcourse

hittest problem Posted June 13th, 2005 in Game Development

I have a hittest that is only working with the first duplicatemovieclip in the game and ignores the rest. Any ideas whats wrong and how to fix it?

Response to: how do i use onion skin? Posted June 9th, 2005 in Game Development

little button under your timeline. It's just puts a faded picture of the previous frame in your current one for hand drawn cartoons. Doesn't do anything for the finished product.

Response to: More help Posted June 9th, 2005 in Game Development

Didn't seem to work. Should I put that on the timeline, on the mc, or on the timeline in the mc?

More help Posted June 9th, 2005 in Game Development

So I have this moving mc that I want to be replaced with a different mc on a hittest and then stay still. I tried the gotoframe 2 method but then I just a dead guy chasing me. So I need a good way to a)stop motion when it enters frame 2 b) replace it with another MC that doesn't have the motion actionscript.

Response to: Star wars jokes needed for my flash Posted June 8th, 2005 in Game Development

Darth calls someone to give them orders. Does is little breathing thing. Guy at the other end "STOP CALLING HERE YOU PERVERT"
and maybe throw in a lightsaber dildo joke.

Response to: Actionscript codes here! Posted June 7th, 2005 in Game Development

How would you make an MC goto the previous x,y postion on a hittest when you can't use the normal
If (this.hitTest(leftwall)){
this._x+=movespeed ;
}
method

Response to: only move every 4 frames? Posted June 3rd, 2005 in Game Development

beutiful man. I gotta say this has got to be one of the friendliest and most helpfull communities on the net.

Response to: only move every 4 frames? Posted June 2nd, 2005 in Game Development

Doesn't seem to work. I should mention I'm using a student version of flash MX, I don't know if theres a large difference in what you can do between versions or if the student version is less or more then normal.

only move every 4 frames? Posted June 2nd, 2005 in Game Development

alright I've posted about the same game in the programming forum but apparently its more fitting here. I have an enemy that I would like to move slower then the character I control, but the only problem is the setup of the game requires it move the same distance every time (square blocks 20X20) so I can't just say flymove=5; or somethin. So I'm trying to figure out a method that it only moves every 4 frames or another method with the same results.

Response to: confusion on homosexuality debate Posted June 2nd, 2005 in Politics

At 6/2/05 02:24 PM, Pluto_from_Below wrote:
At 6/1/05 09:55 PM, SEXY_FETUS wrote: Second I always hear "you shouldn't enforce your morals on someone else" when it comes to the decision of allowing homosexual marriage. Thats just a dumb argument. Isn't that the point of every law?
You make a thinking mistake here: laws are about things that affects a number of people. While homosexual marriage just affect the two people who want it.

theres laws that effect a single individual as well ( ie suicide) also I do feel that acceptance of homosexuality would hinder alot of people religious beliefs by painting churches and organizations as "hate groups" for not accepting. The problem is the line you draw at what point whos freedom do you hinder.

.... but along those lines no mental health profesional (with a few exceptions) looks at homosexuality as a disease or abnormality. I find that very odd considering almost every other abnormal sexual disposition is placed under choice or disease....
I don't think many sexual dispositions are seen as a disease, just childporn and very extreme others. (or am i wrong here)

It varies like pedophilia like you mentioned would fall under disease but say necrophilia would fall under choice. I personally feel that sexuality is complex enough it warrents its own field outside of physical or mental health, maybe then we could be more certain of many things


Lifestyle is what gets me, its obvious that homosexual males sex life entitles some bodily harm in return for pleasure.
Is that obvious? Homosexual people can love the same as hetrosexual people, it is not only the leather suit dancing parade darkroom stuff.

I hope i did understand you right, i hope you will understand me right, i'm not really sure about the first thing, but i hope i did understand it.

refering to anal sex, your cornhole isn't made to be stretched for that long of a time and that causes stress on the body that can have lasting damage.

Response to: New to actionscripts help please Posted June 2nd, 2005 in Programming

thanks that actually helps with the next step I was studyin to find out what to do.

Response to: New to actionscripts help please Posted June 2nd, 2005 in Programming

Thank ya changing _root["fly"] to _root.fly worked but oddly when I had just a single enemy. I tinkered around a bit and found _root["fly"+i] worked if I put
fly1.duplicateMovieClip( "fly"+i ); on a handler frame. Thanks for the help. And if I have things straight any further questions should go to the flash forum. Sorry for the confusion feel free to delete this thread since you can't move it.

confusion on homosexuality debate Posted June 1st, 2005 in Politics

This debate has plauged me for a while and my stance is still unsure as an athiest conservative.
First I find it odd that when people try to talk me to the pro side of the debate I always hear "you have to be open minded about things" and then they tell me homosexuals are just born that way, thats confusing to be open minded about something and then to just blindly accept it.
Second I always hear "you shouldn't enforce your morals on someone else" when it comes to the decision of allowing homosexual marriage. Thats just a dumb argument. Isn't that the point of every law? Could I not just as easily argue that I should be able to murder because that is christian beliefs that have forced upon me? Then who is to decide what is "moral" and allowable? Should it be left to religion? no. How about our elected officials? Closer. It should be left to the people, but then you come to the conclusion that since we have mainly a christian population in the us that it is religion deciding our countries morality by proxy. and then if we dismis that then we are saying that a particular persons opinion is void due to there religious beliefs wich is every bit as wrong as denying someone freedom due to there sexual disposition.
Ok third. Homosexuality as a mental disease. If homosexuality is not a choice then it's easy to assume that an abnormal thought process in terms of atraction and affection, wich by definition would be assumed as a mental disease, but along those lines no mental health profesional (with a few exceptions) looks at homosexuality as a disease or abnormality. I find that very odd considering almost every other abnormal sexual disposition is placed under choice or disease. Now if it is to be presumed as any of the two then we can assume that neither is written in stone and could be changed thus assuming that we don't have to accept it as a difference, but as a challenge for one to overcome. The trouble I find with this is that if homosexuality is ever comepletly accepted then that would make any research towards a cure politicaly incorrect and would only be done by religious nuts with no funding. That would leave a major dis-service to those who are homosexual and do not wish to be. But then why do they wish not to be? If it is accepted would it not be just as easy to assume that nobody would feel wrong or doubt about what they are due to outside influences.
Fifth. The only arguments against homosexuality is lifestyle dangers and religion. I've already dropped religion as anything worth looking at in a debate among different beliefs. Lifestyle is what gets me, its obvious that homosexual males sex life entitles some bodily harm in return for pleasure. Does that mean that males should not be accepted, but females should? Also aren't people entitled to take risks for themselves? Then there is the high risk for HIV and other STDs. Is this due to lifestyle and ignorance of safety? I don't think so, I like to think of it as a sexual russian rullette. The gay community is alot smaller then the straight, meaning that risk goes up. So if me and a gay friend were lookin to get some and there was a group of 100 people then we could assume that 10% are gay for this example now lets cut out half and half for the straight males in my group and the gay females in his that leaves him with 5 different people to choose from and me 45 now lets assume out of each one person has HIV, while I only have about a 2% chance of picking the infected person he has a 20% chance. Should we judge someone because they got the crap end of the draw?

With all this I'm very confused I feel that morality should be left to the people, but with everybody having a tainted opinion wich side do I choose or do I just leave it to the people that are truly passionate on the subject?
This may be a runner for the longest second post ever.


Alrighty I've been playin around with flash for a while makin crappy cartoons and what not and now I'm experimenting with making games. My first project is somewhat of a clone of the old superfly game. But thats beside the point, for some reason unknown to me I keep getting error messages on my fly movement code, I know its probably horribly wrong, but just in case I'm heading towards the right direction could someone tell me whats wrong with this code
[code]
onClipEvent (load){
flymove=20;
}
onClipEvent (enterframe){
if (_root["swat"]_x>this._x) {
this._x+=flymove;
} else if (_root["swat"]_x<this._x) {
this._x-=flymove;
}
if (_root["swat"]_y>this._y) {
this._y+=flymove;
} else if (_root["swat"]_y<this._y) {
this._y-=flymove;
}
}
[/code]
and the error message I'm getting back is
[code]
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 5: ')' expected
if (_root["swat"]_x>this._x) {

Scene=Scene 1, Layer=Layer 1, Frame=1: Line 6: Statement must appear within on/onClipEvent handler
this._x+=flymove;

Scene=Scene 1, Layer=Layer 1, Frame=1: Line 7: Unexpected '}' encountered
} else if (_root["swat"]_x<this._x) {
[/code]
Thanks in advance.