Be a Supporter!
health bar help Posted March 21st, 2008 in Game Development

I have a health bar, but I`m not sure im doing it right. i want it so that when one movieclip touches the other, it is decreased by 5 per second.

onClipEvent (load) {
total = 100;
remaining = 100;
}
onClipEvent (enterFrame) {
this._xscale= remaining/total*100
}
onClipEvent(enterFrame){
	if(root.Ringo(hittest.Clang)){
	this.remaining/total=-10;
}
}

how do I do this?

Response to: Flash CS3 has stopped working. Posted March 20th, 2008 in Game Development

I think the best thing to do is uninstall it completly, then reinstall it.

Response to: The Blob Collab Posted March 20th, 2008 in Game Development

is my seocnd part good?

Response to: The Blob Collab Posted March 19th, 2008 in Game Development

thats fine. I`ll make a second part by tormarrow.

Response to: The Blob Collab Posted March 19th, 2008 in Game Development

so, hows the collab fitting together?

Response to: The Blob Collab Posted March 19th, 2008 in Game Development

cant figure out outlook express. can you download here plz?

Response to: The Blob Collab Posted March 19th, 2008 in Game Development

at 5-10 seconds the more people the better

Response to: The Blob Collab Posted March 19th, 2008 in Game Development

I`ll make a peice for the collab, sure.

Response to: Chocolate Posted March 19th, 2008 in General

Chochlate? CHOCLATE!

Response to: 3 things can happen... Posted March 19th, 2008 in General

older than the internet. also, isint there a video thread?

Need help on Posted March 19th, 2008 in Game Development

I have my enemy, here is his code

onClipEvent (enterFrame) {
if (_root.Ringo._x>_x) {
_x += 6;
}
}
onClipEvent (enterFrame) {
if (_root.Ringo._x<_x) {
_x -= 6;
}
}
onClipEvent(enterFrame){
a = enemy._x - this._x
b = enemy._y - this._y
c = (a*a)+(b*b)
d = Math.sqrt (c)
if (d < 20) {this.gotoAndStop(2)
}
}
onClipEvent(enterFrame){
	if(root.Ringo(_xscale=-_xscale)){
		this._xscale=-_xscale;
	}
}
onClipEvent(enterFrame){
	if(root.Ringo(_xscale=+_xscale)){
		this._xscale=+_xscale;
	}
}

when he moves, he switches faces constantly, and he doesent stop. how do I fix this?

AI help Posted March 18th, 2008 in Game Development

so heres the deal. I have two MC`s, instances Ringo and Clang. Clang already chases ringo, but turns one way only. I want him to be ablr to face both directions when chasing ringo. I know the code goes something like,

onClipEvent(enterFrame){
_xscale. if(root.Ringo(
//some bullshit that makes him turn

Can anyone help me?

Response to: error in drag item script. Posted March 18th, 2008 in Game Development

on(press){
startDrag()
}
onClipEvent(mouseUp){
stopDrag()}

try that.

Response to: need help Posted March 17th, 2008 in Game Development

I`t works, thanks alot.

Response to: need help Posted March 17th, 2008 in Game Development

I`ll try it.

need help Posted March 17th, 2008 in Game Development

so heres what I want to do. I have Two movieclips, instnaces "Ringo" and "door". when they touch, i want it to go to the next frame on the timeline. heres what I have for the door.

onClipEvent(enterFrame){
if(_root.Ringo.hitTest(_root.door)){
trace("hit")
this.gotoAndStop(10)
}
}

And for Ringo

onClipEvent(enterFrame){
if(_root.Ringo.hitTest(_root.door)){
this.gotoAndStop(10)
}
}

What am I doing wrong?

need help with character Posted March 16th, 2008 in Game Development

so i have my character, my moving background. what i need to know is how to put together my character in his movieclip so that when you press RIGHT, it cuts to running and so on. can anyone help me?

Response to: great animation video!!! Posted March 15th, 2008 in Game Development

seeing as pivot animations suck balls, you do a decent job of animating.

Help! Game Posted March 15th, 2008 in Game Development

I am making a game based on HELP! it starts out with a quiz and then goes to a platformer where you have to get to scotland yard and avoid the eastern cult. the graphics are sort of weird and distorted like in the yellow submarine.

i was wondering if you guys had any ideas for a third section of the game? it mus involve the Beatles and HELP!.

Response to: start button? Posted March 15th, 2008 in Game Development

on(press){gotoAndPlay(frame)}

Response to: Need help for quiz game Posted March 14th, 2008 in Game Development

Thanks alot guys

Response to: Need help for quiz game Posted March 14th, 2008 in Game Development

no luck in AS:main

Need help for quiz game Posted March 14th, 2008 in Game Development

I`m making a quiz game and need help. its common knowledge that you han right click and skip questions, and I know that theres a trick to stopping them. can anyone help me?

Response to: List of things white people like Posted March 13th, 2008 in General

At 3/13/08 07:29 PM, DP36 wrote: I hate stereotypical topics. Keep racism away from the forums please?

how about you get out? the forum does not abide by your whining.

Response to: George Bush Posted January 25th, 2008 in General

nazis are free-market capitalists, polar opposite of communists. just putting it out there, detective buckshot.

Response to: What Rock song is this? Posted January 25th, 2008 in General

At 1/25/08 10:12 PM, VespeneGas wrote:
At 1/25/08 10:08 PM, thewarriorsrok wrote: real informative. why dont you meet me at the yellow taxi in new york while youre at it.
oh man, it's you.

BLAST FROM THE PAST I'M BUGGIN OUT MAN

IM BACK.

<EXECUTE FUCKING MOONWALK>

Response to: What Rock song is this? Posted January 25th, 2008 in General

At 1/25/08 10:09 PM, mastershake141 wrote:
At 1/25/08 10:08 PM, thewarriorsrok wrote: real informative. why dont you meet me at the yellow taxi in new york while youre at it.
The one next to that building?

the one thats made of bricks and steel.

Response to: What Rock song is this? Posted January 25th, 2008 in General

real informative. why dont you meet me at the yellow taxi in new york while youre at it.