does anyone have the code for a ragdoll game?
i did it for the lulz
Does anybody have the code for an RPG game with lots of npc characters and a really good story??? I need one for my game I'm developing by myself to take credit for as having made it.
At 2/10/08 04:36 PM, Icelord182 wrote: hmm. i was'nt sure whether to post this or not. someone has probably already asked this but i cba to look through 200 odd pages. Here it goes.
what would be the quickest way to make a button explode when you click it, then make the entire instance dissapear (actionscript). I'd love it if you could answer this cos im making a game for when im bored in IT lessons at school, i'll even send you the game when im done (it would probably be blammed if i posted it - no audio).
1.ok make a button mc (NOT A MOVIECLIP) and on the first frame in the timeline of the button place the graphic for the button itself
2.go to the 4th frame and place the explosion, under where it says hit
there ya go
At 2/11/08 10:13 AM, Killers123 wrote: does anyone have the code for a ragdoll game?
anyone?
i did it for the lulz
At 2/11/08 10:32 AM, thedo12 wrote:At 2/10/08 04:36 PM, Icelord182 wrote: hmm. i was'nt sure whether to post this or not. someone has probably already asked this but i cba to look through 200 odd pages. Here it goes.1.ok make a button mc (NOT A MOVIECLIP) and on the first frame in the timeline of the button place the graphic for the button itself
what would be the quickest way to make a button explode when you click it, then make the entire instance dissapear (actionscript). I'd love it if you could answer this cos im making a game for when im bored in IT lessons at school, i'll even send you the game when im done (it would probably be blammed if i posted it - no audio).
2.go to the 4th frame and place the explosion, under where it says hit
there ya go
NOOOO!
if i wanted it to explode when i hit it, then come back agen, sure id do that.
BUT I DONT! i want to 1.hit it
2.explode
3.then make the entire instance dissapear, MEANING IT DOSNT COME BACK!n
At 2/11/08 10:31 AM, Deathcon7 wrote: Does anybody have the code for an RPG game with lots of npc characters and a really good story??? I need one for my game I'm developing by myself to take credit for as having made it.
Somebody better answer me! It's a perfectly legit question! Are you guys just incapable or something? My question is so easy to answer, why isn't anyone!??!
For example if I have created a movie clip... For example a BALL_MC or something.
Screen size is 500x300 and I want to make a symbol game like it Proxicide's "MK vs SF 3"...
What code should I apply to the Movie Clip?
so i saw the stuff u said but im still kinda confused about action scripting im new to the flash movie thigey and im also trying to find about action scipting
Can someone give me the scripts bullets(hittest and ammo) and for mouse-aiming, like in Portal and Madness Interactive, but only in the direction the player is facing? It would help me out alot. :)
dude go look through the posts by evil ludy back when he made it alot of people asked that question
ever wanted to know how to earn money or get free games and gaming consoles visit my site to learn more.www.learntoearnmoney.webs.com
Please!!!! i really need some help in making a game like stick man sam......i know almost everything but how to make the bullets like a laser that moves from the gun to the enemy or to nothing.....not
x +=speed...... i mean when u shoot the bullet doesn't move it just connects to another object or to the end of the window.....like stick man sam or games like these.. i am in an advanced level in flash so u dont need to explain everything... i just need the main points :D:D thanks a lot for helping :)
im using actionscript 2
ok so i am trying to make a space shooter ths is the code for the movment
onClipEvent(load)
this.onEnterFrame = function() {
if (Key.isDown(Key.RIGHT)) { Ship._x += 10; }
else if (Key.isDown(Key.LEFT)) { Ship._x -= 10; }
else if (Key.isDown(Key.UP)) { Ship._y -= 10; }
else if (Key.isDown(Key.DOWN)) { Ship._y += 10; }
}
}
it keeps saying this
'{' expected
this.onEnterFrame = function() {
please help
ever wanted to know how to earn money or get free games and gaming consoles visit my site to learn more.www.learntoearnmoney.webs.com
At 2/11/08 01:06 PM, Deathcon7 wrote:At 2/11/08 10:31 AM, Deathcon7 wrote: Does anybody have the code for an RPG game with lots of npc characters and a really good story??? I need one for my game I'm developing by myself to take credit for as having made it.Somebody better answer me! It's a perfectly legit question! Are you guys just incapable or something? My question is so easy to answer, why isn't anyone!??!
Roflmao, what part in the game would u have then? It really seems like u want over 50% of a game handed over to you... lol
Well,I'm in the midst of making a RPG where you walk the character around by using w,a,s,d.
I need some help making an inventory script,The char wont pick any items from the ground,but we need a shop script too so he can buy/sell to the shop and equip the items he bought.
Any help please?
At 3/1/08 01:34 AM, DawnOfDusk wrote:At 2/11/08 01:06 PM, Deathcon7 wrote:Roflmao, what part in the game would u have then? It really seems like u want over 50% of a game handed over to you... lolAt 2/11/08 10:31 AM, Deathcon7 wrote: Does anybody have the code for an RPG game with lots of npc characters and a really good story??? I need one for my game I'm developing by myself to take credit for as having made it.Somebody better answer me! It's a perfectly legit question! Are you guys just incapable or something? My question is so easy to answer, why isn't anyone!??!
...Wow, you just don't get sarcasm, do you?
Anyway, for some odd reason, even though I label my ground as "ground", it doesn't seem to work....
Help plz?
Sorry, I'm a total noob, but how would I make an mc play when I click it, say, like, I have a crosshair and a stick-figure, I click (shoot) the stick figure, and the stick figure mc plays (head popping off, blood squirting, etc.).
Also, how would I make a sound play upon clicking, like a gun firing?
bump
i have been searching for a way to make my gun follow the mouse but to no avail plz help me!!!!!
it would be super appreciated!
ps the game that im making is a side scroller
pss its not my script
onClipEvent (load) {
// Set the move speed
moveSpeed = 15;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
if (_root.Walls.hitTest(getBounds(_root).xM ax,_y,true)) {
} else {
this._x += moveSpeed;
this.gotoAndStop(3);
}
// Move Right
} else if (Key.isDown(Key.UP)) {
if (_root.Walls.hitTest(_x,getBounds(_root)
.yMin,true)) {
} else {
this._y -= moveSpeed;
this.gotoAndStop(2);
}
// Move Up
} else if (Key.isDown(Key.DOWN)) {
if (_root.Walls.hitTest(_x,getBounds(_root)
.yMax,true)) {
} else {
this._y += moveSpeed;
this.gotoAndStop(5);
}
// Move Down
} else if (Key.isDown(Key.LEFT)) {
if (_root.Walls.hitTest(getBounds(_root).xM in,_y,true)) {
} else {
this._x -= moveSpeed;
this.gotoAndStop(4);
}
// Move Left
}
}
How do I make it after it come back to frame 1 after running?
Is there anyone who know how to do drag and drop in the form of classes. I need to do it in OOP format which is so troublesome!Thankx!
Is there anyone who know how to do drag and drop in the form of classes. I need to do it in OOP format which is so troublesome!Thankx!
Well it's the same as a simple drag & drop, but instead of placing actionscript in timeline, you make a class, and then, in this class, add event listeners. First add event listener for mouse down - this is your 'press'. On mouse down - start drag (or move to mouse x and y). On mouse up ('release') - stop drag.
Yoh people. I use Actionscript2.0 and I'm an ok scripter however, I've not needed to relate to a frame before.
If I labelled the frame, how would I relate a piece of AS to it?
L.A.B
At 5/7/08 06:48 AM, Lifes-a-Bitch wrote: Yoh people. I use Actionscript2.0 and I'm an ok scripter however, I've not needed to relate to a frame before.
If I labelled the frame, how would I relate a piece of AS to it?
L.A.B
IDK if AS2 has that capability, but it may be similar to AS3. In AS3 you use MovieClipName.currentLabel.
Ok... I worked my way around that anyway.
I've thought threw several ideas in my head for a script, but all seem messy, so I'll ask for help here...
Say I wanted my character to attack when I press 'a'. Fair do'os, I get the code number ect.
However, if I wanted my character to attack repeatedly and posibly faster when you tap 'a'. Useing 'Key.isDown..." all I have to do is hold 'a'. Which is obviously not what I want.
Useing AS2.0, does anyone know how to make it so I'd need to tap 'a'?
Much appreciated.
L.A.B
At 5/7/08 11:15 AM, Lifes-a-Bitch wrote: I've thought threw several ideas in my head for a script, but all seem messy, so I'll ask for help here...
Questions like this is what the whole Flash forum is for. I suggest that you make a new thread instead of posting here, more people will probably read your question, and this thread is just for posting codes (at least that was the original thought).
Found an awesome site with links to 15 pages full of flash help sites for free
I make a RPG for fun and I would like to know how to like change the equipment. Like if you select a sword, you will see that sword replace the old one on the hero MC. My problem is that with my actual actionscript code, the sword is replace well, but if I press left (example) the sword will reload, become the other sword and return to the new sword. So it make like the sword flash. My actual actionscript is that I use a variable. If I click on a sword, that variable become 1 (example) and if that variable became 1, the sword change, vice versa. Sorry if i'm not clear. Can you give me some better ideas ?