How do I make the litle ball turn right when you go right and left when you go left?
I would greatly appriciate any help I can get because im just starting with the flash scripting language.......Its just not the same as visual basic or dm. rofl
How do I make the litle ball turn right when you go right and left when you go left?
I would greatly appriciate any help I can get because im just starting with the flash scripting language.......Its just not the same as visual basic or dm. rofl
can some one send me a good game engine/
um, with with vertical blocks, when my guy touchs one, he appears on the top of them. how do i fix this?
At 7/18/05 04:10 PM, B0XCARRACER wrote:At 7/2/05 01:24 PM, Rystic wrote:How am I a thief for saying thank-you, shut up you stuiped n00b!. and to let all you know, I am -trix-At 6/6/05 04:39 PM, etchandsketchdesigns wrote: This is Amazing! that you so much!You're a fucking thief. Don't post here, n00b.
-toast- you wouldn't know me but plenty on NG do :P...some good some bad things about me, but i am no n00b, and i don't steal rystic, so shut the hell up.
Is your name etchandsketchdesigns?
And by the way, if you are etchandsketchdesigns and you just changed your name, you are a goddamn thief. You posted my code without crediting me for it, and made it sound as though YOU wrote it.
At 8/3/05 08:10 PM, shatterspike1_SSlock wrote: um, with with vertical blocks, when my guy touchs one, he appears on the top of them. how do i fix this?
Is the character centered inside the clip? If not, that might be giving you issues.
I treally is a most excellent piece of coding, yoiu have made loads of friends at the Animation and Production Club at my grammar school (enlgish high school) man....kudos, kudos in deed...lol
At 8/17/05 12:17 PM, Mr_Defusion wrote: I treally is a most excellent piece of coding, yoiu have made loads of friends at the Animation and Production Club at my grammar school (enlgish high school) man....kudos, kudos in deed...lol
Hehe, no problem, man. Actionscripting's what I do.
At 8/17/05 12:19 PM, Rystic wrote:At 8/17/05 12:17 PM, Mr_Defusion wrote: I treally is a most excellent piece of coding, yoiu have made loads of friends at the Animation and Production Club at my grammar school (enlgish high school) man....kudos, kudos in deed...lolHehe, no problem, man. Actionscripting's what I do.
AS is what i do too, but i usually prefer to write my own stuff. I'm making a game with gamecubeicle, and he originally used your engine, but there were some bugs with it when he tried to add some of his own stuff. He came to me for minor help fixing a small bug and I ended up re-scripting his entire engine. (getting me a co-author position when he finishes it)
So anyone having trouble with a game contace AIM KingGoboWoboFaun and I'll be glad to help.
I'm surprised Gamecubicle didn't ask me for help, seeing as I wrote the engine..
Anyway, the same goes for me. Anyone having trouble with actionscript is free to e-mail or IM me for help. My e-mail is:
Hello, it is me again. I am just wondering if you have the code for your engine so that when you release space you stop jumping. I remember seeing it somewhere before, cant remember for the life of me where though. Just hoping you can help.
If you can, I thank of you greatly.
If not I still thank you greatly for the rest of the code.
~FFKing~
At 7/4/05 01:04 PM, DashDingo wrote: For some reason it doesnt work for me :( the guy just falls right through the block as soon as I test it.
i kno, wen i test it, it wrks for a while then falls
Yeah, I was upset at the bouncing too.... so I modded it into this. Everyone give 2 shouts for key listeners. This code goes in your "circle" or hero or whatever. The block code stays the same.
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 4;
jumpheight = 14;
maxfall = -54;
jumplistener = new Object();
jumplistener.onKeyDown = function(){
if (Key.getCode() == 32){
if(!canjump && fall == false && jump == undefined){
fall = true;
jump = jumpheight;
canjump = true
}// End IF Statement
}// End onKeyDown Function
}
jumplistener.onKeyUp = function(){
if (Key.getCode() == 32){
canjump = false
}// End IF Statement
}// End onKeyUp Function
Key.addListener(jumplistener);
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
this._x -= speed;
}
if (Key.isDown(Key.RIGHT)) {
_x += speed;
}
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (jump<>undefined) {
if (jump>maxfall) {
jump--;
}
_y -= jump;
}
}
At 10/9/05 04:30 AM, Pinkasaurus wrote: Please
Well, you're using onClipEvent (load). That only checks for hitTest the moment the object come onto screen, and then never again. Change it to:
onClipEvent (enterFrame) {
if (character.hitTest(finish)) {
_root.gotoAndPlay(2);
}
}
Which checks for hitTest on every frame.
The problem with this code is that your calling the clip 'character'. The clip always renames itself 'circle' so it'll work with the blocks. That's why hitTest fails. Also, use enterFrame instead of load.
At 10/17/05 11:00 AM, Rystic wrote: The problem with this code is that your calling the clip 'character'. The clip always renames itself 'circle' so it'll work with the blocks. That's why hitTest fails. Also, use enterFrame instead of load.
_name is one of my favourite properties in Flash, God bless it.
if(_name!="Original"){
//actions;
}
Or.. whatever.
Sup, bitches :)
Send it to my e-mail. I can do some very nice animation.
I've got mad skillz still. So drop me a fla and I'll fill in the gaps if you've got any concepts...tell me.
I'm gonna try out some of this code and come back to ya'll with something high great.
WWH.
Need some help with a other AS. Its for a platformer.
The characters flying when you press the jump button.
Whats wrong?
The Characters AS:
onClipEvent (load) {
gravity = 10;
walkSpeed = 6;
maxJump = 4;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_xscale = -scale;
_x -= walkSpeed;
this.gotoAndStop(2);
}
if (Key.isDown(Key.RIGHT)) {
_xscale = +scale;
_x += walkSpeed;
this.gotoAndStop(2);
}
if (air == true) {
_y += gravity;
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(Key.UP) && jump == true) {
_y -= jumpSpeed;
gotoAndStop(3);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(Key.UP)) {
jumpcount += 1;
this.gotoAndStop(3);
}
if (jumpcount>maxjump && jumpSpeed>-2) {
jumpSpeed -= 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
walkSpeed = 6;
}
onClipEvent (enterFrame) {
if (this._x>=550) {
this._x = 545;
}
if (this._x<=10) {
this._x = 15;
}
}
At 10/17/05 11:54 AM, Destroya wrote: Hook me up with an fla file.
Need an e-mail address.
At 10/17/05 12:26 PM, Tactical_Death wrote: Need some help with a other AS. Its for a platformer.
The characters flying when you press the jump button.
Whats wrong?
I'll need to see the .fla to fix the problem.
Thanks for the engine. It saved me and my game that is in process. You must be a genius to make this game at age 15.
Jesus, it's good to see this thread is still alive after all these months.
Great job, Rystic.
Whenever i jump from somewhere to the ground it goes past the ground. Here is an Example .
YAYYYY!!!!!!!!!!!!!!!!!!!!!!!www.websiteis
tmeanttobefound.com
At 11/19/05 10:39 PM, marioman78 wrote: Whenever i jump from somewhere to the ground it goes past the ground. Here is an Example .
you should raise the maxFall in the script
Bumping ebvcause of how useful this was to me.!
i cant do it :'(
i made a a circle made it a movie clip and put the actionscript in.
same with the block
i made a a ground made of a big block.
my circle just falls right through!!! in to the ground it goes never to be seen again
:'(
whoops did i menstoon i use flash mx 2004 proffestional