You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'DarkBlack-Dragon'

We found 43 matches.


<< < > >>

Viewing 1-30 of 43 matches. 1 | 2

1.

Expressionless

Topic: In need of some AS help.

Posted: 09/09/08 10:37 AM

Forum: Flash

I've a number of files that have no problem with their object going of the screen and coming back on reverse. So obviously there are people that know what to do. Could one of them please explain how to fix this to me?


2.

Winking

Topic: Sprite Flipping

Posted: 09/07/08 05:26 PM

Forum: Flash

Just flip the sheet. Import a whole new sheet or just copy the figure you want to flip and select the Free Transform Tool and flip it. No fancy script needed. ;)


3.

None

Topic: In need of some AS help.

Posted: 09/07/08 05:09 PM

Forum: Flash

*Smacks forehead* oh why the hell didn't I think to just alpha out the lines? Well I feel stupid lol.

Now I have a question about visibility on the z axis. Once the object has gone 'behind' you, it should disappear right? Well the object my code has made goes behind me, but then comes back on the screen in reverse, a bit like the camera guy turned around to look at it from behind. This of course is not intended. How do I fix this?


4.

None

Topic: In need of some AS help.

Posted: 09/07/08 01:18 AM

Forum: Flash

Is there anyone here that can help me solve the remaining issues I have..?


5.

None

Topic: In need of some AS help.

Posted: 09/06/08 11:21 AM

Forum: Flash

Alright! I have movement. Thank you very much. ^^
Do you by chance know the way to change the left and right so they rotate the x axis rather than move/strife?

Also, for the coloration issue, How would I put them on different layers when I'm using only the actionscript at this point. Right now the script draws in all points and lines, as well as doing the movement. There is not one item in my library at this time. I remember somewhere seeing a thing about hiding the lines, but I don't remember where I had found it. >_<


6.

None

Topic: In need of some AS help.

Posted: 09/06/08 10:21 AM

Forum: Flash

Ah, got the coloring working. Thank you. :)
Although I do have one problem with the coloring.. It does not hide the lines that should be under/behind it. What do I need to do to fix this..?

And for changing the movement from this batch of coding into coding that uses the keys.. well I'm not all clear on how that works. I know I need a key listener, which I don't fully understand how to add. I also assume that there are parts of this code that I will need to keep so it does move correctly. But I frankly don't know for sure. ^^;

This is the only part of the code that needs changed (I'm assuming) to switch from automatic movement to arrow key movement.

backAndForthAndSideToSide = function(){
var screenPoints = new Array();
for (var i=0; i < pointsArray.length; i++){
var thisPoint = pointsArray[i];
if (direction == "left"){
thisPoint.x -= speed;
if (i == pointsArray.length-1 && thisPoint.x <= -100) direction = "backward";
}else if (direction == "backward"){
thisPoint.y += speed;
if (i == pointsArray.length-1 && thisPoint.y >= 150) direction = "right";
}else if (direction == "right"){
thisPoint.x += speed;
if (i == pointsArray.length-1 && thisPoint.x >= 60) direction = "forward";
}else if (direction == "forward"){
thisPoint.y -= speed;
if (i == pointsArray.length-1 && thisPoint.y <= 0) direction = "left";
}
screenPoints[i] = ConvertPointIn3DToPointIn2D(thisPoint);
screenPoints[i].x += origin.x;
screenPoints[i].y += origin.y;
}


7.

None

Topic: In need of some AS help.

Posted: 09/06/08 09:17 AM

Forum: Flash

At 9/6/08 09:00 AM, Ben-Fox wrote: Coding cameras is pretty hard. As for 'painting the walls,' you can use beginFill to fill in the spaces between the points with color. Draw out three corners of your shape, and you can call endFill, which will automatically close the path and fill with the selected color. It's been a while since I've done AS 2 (I hit AS 3 and never looked back), but IIRC the syntax is beginFill(hexcolor, alpha), so beginFill(0xff0000,100) should start a bright red, 100% opaque fill.

The smoothest keyboard input capturing involves using Key.isDown in the enterFrame event of an MC, if (Key.isDown(Key.DOWN)) would be fired if the down arrow key were pressed, then you can just adapt the movement code you already have to move the camera in the appropriate direction when it detects that the appropriate key is down.

As for rotating the camera? I don't have enough caffeine in me to even touch that right now.

I don't really need a 'camera' per say. Basically the AS codes in the lines of the object, and the AS I already have has code for movement. I really just want to switch that from automatically moving to using the arrow keys to move.

The color explanation you gave more or less made sense.. You realize I want to hopefully code it into the code I already have (see first post)? I'm starting to think I may need to rework the code (not really a surprise).


8.

None

Topic: In need of some AS help.

Posted: 09/06/08 08:37 AM

Forum: Flash

Truthfully, it doesn't seem that hard. My main issue is that I am not familiar enough with actionscript to make the code myself. But I have been toying around with it and seeing what works what, and so far the code is fairly self explanatory. So far, the 3D guides I have read haven't helped me enough.


9.

None

Topic: In need of some AS help.

Posted: 09/06/08 08:03 AM

Forum: Flash

Oh cmon, surely someone can help... -_-


10.

None

Topic: In need of some AS help.

Posted: 09/06/08 01:11 AM

Forum: Flash

Oh yes, something I forgot to mention which as I have come to realize makes all the difference sometimes... This code is for Actionscript 2.0, not 3.0.
Now while the compute I will be using to create this 'walkthrough' has a version of flash that can use 3.0, I would like to try sticking with 2.0 script so I don't need a total recode and so I can work on this at home as well.

And one more thing I forgot to mention, though is no where near as important, I would also like the possibility of having the camera turn rather than just forward, backward and side to side.

So again, any help ya'll can lend is much appreciated.


11.

None

Topic: I'm having so much trouble starting

Posted: 09/06/08 01:05 AM

Forum: Flash

At 9/6/08 12:50 AM, 66thStreet wrote: I looked at most of the tutorials but all the buttons and controls are just so confusing...
I'm not sure how I can make a background and send objects to the back, or how I can Onion-Skin or whatever it's called... This is so confusing to me. Right now I just need to know how I can make a simple animation with a background and a character. Whenever I try to make a background, I can't send the shape to the back, and it sits in front of everything else I try to draw.

I'll try to explain some of this stuff the best that I can. I'm more or less new to this as well lol. ^^;;

There are a few ways to make a background and send objects backwards/forwards. Frankly the easiest background can be made by simply drawing it up how you want it, and creating a new layer. You background layer should always remain the lower most layer (at least as far as I know).
For sending objects backward or forward they must first be a symbol (right click > convert to symbol). Once a symbol they will have an "arrange" option on the right click menu from which you can choose to send them forward or backward.

The onion skin is the button on your timeline bar to the right of the button with the red line. Its the button that has a small blueish square and a faded one that appears to be behind it showing up.

Also, a note. Make use of the layers since they can be very handy in separating characters and objects and such.

Hope that lil bit helps. ^^;


12.

Sleeping

Topic: In need of some AS help.

Posted: 09/06/08 12:53 AM

Forum: Flash

Sorry if the subject name sucks, I couldn't think of anything better ^^;;
Anyway, one of my teachers asked me if I wanted to make a 3d 'walkthrough' of our new building. I accepted so I could have something to do, and for the challange. I have been reading my brains out and trying to do the best I can to wrap it around this concept of using actionscript for it. I have a code that I feel will work for what I want to do, but there are points I could use some help with from people who better understand how the code works.

The code I have for now is as follows:

origin = new Object();
origin.x = 200;
origin.y = 200;

focalLength = 100;

MakeA3DPoint = function(x,y,z){
var point = new Object();
point.x = x;
point.y = y;
point.z = z;
return point;
};

ConvertPointIn3DToPointIn2D = function(pointIn3D){
var pointIn2D = new Object();
var scaleRatio = focalLength/(focalLength + pointIn3D.z);
pointIn2D.x = pointIn3D.x * scaleRatio;
pointIn2D.y = pointIn3D.y * scaleRatio;
return pointIn2D;
};

pointsArray = [
MakeA3DPoint(-40, -40, -5),
MakeA3DPoint(40, -40, -5),
MakeA3DPoint(40, -40, 20),
MakeA3DPoint(-40, -40, 20),
MakeA3DPoint(-40, 80, -5),
MakeA3DPoint(40, 80, -5),
MakeA3DPoint(40, 80, 20),
MakeA3DPoint(-40, 80, 20)
];

this.createEmptyMovieClip("box",1);

direction = "left";
speed = 10;

backAndForthAndSideToSide = function(){
var screenPoints = new Array();
for (var i=0; i < pointsArray.length; i++){
var thisPoint = pointsArray[i];
if (direction == "left"){
thisPoint.x -= speed;
if (i == pointsArray.length-1 && thisPoint.x <= -100) direction = "backward";
}else if (direction == "backward"){
thisPoint.y += speed;
if (i == pointsArray.length-1 && thisPoint.y >= 150) direction = "right";
}else if (direction == "right"){
thisPoint.x += speed;
if (i == pointsArray.length-1 && thisPoint.x >= 60) direction = "forward";
}else if (direction == "forward"){
thisPoint.y -= speed;
if (i == pointsArray.length-1 && thisPoint.y <= 0) direction = "left";
}
screenPoints[i] = ConvertPointIn3DToPointIn2D(thisPoint);
screenPoints[i].x += origin.x;
screenPoints[i].y += origin.y;
}
// to be continued ...

// continued ...
this.clear();
this.lineStyle(2,0x000000,100);
// top
this.moveTo(screenPoints[0].x, screenPoints[0].y);
this.lineTo(screenPoints[1].x, screenPoints[1].y);
this.lineTo(screenPoints[2].x, screenPoints[2].y);
this.lineTo(screenPoints[3].x, screenPoints[3].y);
this.lineTo(screenPoints[0].x, screenPoints[0].y);
// bottom
this.moveTo(screenPoints[4].x, screenPoints[4].y);
this.lineTo(screenPoints[5].x, screenPoints[5].y);
this.lineTo(screenPoints[6].x, screenPoints[6].y);
this.lineTo(screenPoints[7].x, screenPoints[7].y);
this.lineTo(screenPoints[4].x, screenPoints[4].y);
// connecting bottom and top
this.moveTo(screenPoints[0].x, screenPoints[0].y);
this.lineTo(screenPoints[4].x, screenPoints[4].y);
this.moveTo(screenPoints[1].x, screenPoints[1].y);
this.lineTo(screenPoints[5].x, screenPoints[5].y);
this.moveTo(screenPoints[2].x, screenPoints[2].y);
this.lineTo(screenPoints[6].x, screenPoints[6].y);
this.moveTo(screenPoints[3].x, screenPoints[3].y);
this.lineTo(screenPoints[7].x, screenPoints[7].y);
};
box.onEnterFrame = backAndForthAndSideToSide;

What I would like to do (at least at this point) is to take out the automatic camera/object movement and replace it with movement with the arrow keys, which as I understand it takes a key listener and such coding. I also would like to 'paint the walls' as it were, or in other words, color in the space between 4 or more points. I know there is a way, I've seen it.. I just don't know how to code it.

Any help that would get me closer to this goal would be very much appreciated,
Thanks.


13.

Expressionless

Topic: Yet another prob with the buttons..

Posted: 10/21/07 06:49 PM

Forum: Flash

I'm in the process of making a "dress-up" game if you will. (Bit different from the norm)

I have items in a certain spot, and have buttons to move from item to item. I've started to add color and whatnot, but thats where my problem comes in. The items switch around just fine, but when I try to change the color of that item via clicking the buttons meant to change it, it wont change. What should I do?


14.

Elated

Topic: A lil help on music and buttons...?

Posted: 10/21/07 10:22 AM

Forum: Flash

Ah, thank you!


15.

Questioning

Topic: A lil help on music and buttons...?

Posted: 10/21/07 10:16 AM

Forum: Flash

I've got the basics down don't worry. I'm just having a problem getting the multi-button/song thing to work right for me.

The script for the particular button I'm working on right now is below, but it wont work.

on (release) {
stopAllSounds();
theSound = new Sound(this);
theSound.play();
thesound.attachSound("Gradius Remix.mp3");
}

I can only assume right now that the problem lies in the "thesound.attachSound("Gradius Remix.mp3");" part of the script, I just dunno what to change.. Lil help please?


16.

None

Topic: In need of a lil button help..

Posted: 10/20/07 07:04 PM

Forum: Flash

At 10/20/07 06:58 PM, kernalphage wrote: what you want to do is have all of one thing in a movieclip, one on each frame. and have the button, when pressed, cycle the mc by one frame.

Ight, Thanks.


17.

Expressionless

Topic: In need of a lil button help..

Posted: 10/20/07 06:53 PM

Forum: Flash

I know how the common buttons work for the most part. The one I'm not sure bout and haven't found any info on yet is the one that cycles the item and not the entire frame. (The buttons found in galleries and dress up games.)

Do I just need to make the items all in one section in a single mc with buttons scripted in?


18.

None

Topic: Cycling using buttons?

Posted: 10/16/07 11:25 PM

Forum: Flash

At 10/16/07 06:42 PM, Fashoomp wrote: I would to know how to cycle through images using buttons, but never leaving the frame. I want there to be a picture (it is on my main menu for my animation) and every time you click it, it changes...cycling through a bunch of pre-determined pictures. Does anyone have the code so i can do this?

Sorry, kinda off the topic, but how is it you do that. I'm wondering how myself and can't find the info anywhere. :s


19.

None

Topic: New to flash and got a prob...

Posted: 07/12/06 01:35 AM

Forum: Flash

At 7/12/06 12:57 AM, MarioBilly wrote:

Ok so you just said you did highlight the whole thing, then you say you dont know how to highlight the whole thing....Make up your damn MIND!

HINT: look at the "?" at the end >_<. Its makeing the point that i DO know how to highlight it, and didnt come here because i DONT know how to. I've highlighted it over and over, yet in the end i only get one damn wheel of the entire thing -.-


20.

None

Topic: New to flash and got a prob...

Posted: 07/12/06 12:53 AM

Forum: Flash

At 7/12/06 12:48 AM, Brendan_Harris wrote: highglight the whole fuckin tank

Jo unl33t one. PISS OFF >_<
I did highlight the entire thing, why the hell u think i came here?! Cuz i dont know how to highlight the WHOLE thing when i want the WHOLE thing to move? =_=


21.

None

Topic: New to flash and got a prob...

Posted: 07/12/06 12:50 AM

Forum: Flash

At 7/12/06 12:48 AM, Ku_Klux_Klock wrote: Highlight the entire tank for your motion tween grpahic. I would advice doing the tutorials that came with flash, they are kinda helpful. Also, www.cartoonsmart.com has a few good free tutorials that were really, really, really helpful for me. They are in .mov format, so they are good for visual learners.

kk i'll look at the tutorials. BTW i did highlight the entire thak :-|
So after several tries with same prob i came here.


22.

None

Topic: New to flash and got a prob...

Posted: 07/12/06 12:48 AM

Forum: Flash

At 7/12/06 12:46 AM, Brendan_Harris wrote: well whot most of us do is use our fuckin brain

-_- i AM idiot... i'm asking ppl that know how to make it work. (some ppl (') . ('))


23.

Questioning

Topic: New to flash and got a prob...

Posted: 07/12/06 12:45 AM

Forum: Flash

Ive tried to make a moving object, and i kinda got it working. I made a wierd looking tank thing but the prob is... only one part of it moves! the rest isnt even there!! So basicly.. how do i get the ENTIRE tank to move?


24.

None

Topic: I literally laughed out loud

Posted: 11/26/05 03:11 PM

Forum: General

that is funny! LOL


25.

None

Topic: Let It Snow

Posted: 11/26/05 03:09 PM

Forum: General

i wish it would snow where i live. we got some snow lastnight but its almost gone now... stupid drought...


26.

None

Topic: Im So Rich!

Posted: 11/26/05 03:06 AM

Forum: General

can i have like $500? aren't i your friend?.............................. ok....... maybe not..*walks off*


27.

None

Topic: I pwn3d a modder

Posted: 11/26/05 03:00 AM

Forum: General

lol! sounds like fun! too bad thats like a once in a life time chance........


28.

None

Topic: craziest thing said

Posted: 11/26/05 02:57 AM

Forum: General

"i like you". lol what eles?


29.

None

Topic: Bumper Stickers.

Posted: 11/26/05 02:56 AM

Forum: General

i like seeing bumper stickers. mainly cuz i find some reason to laugh at or about it


30.

None

Topic: Holiday videogame buying help

Posted: 11/26/05 02:52 AM

Forum: General

try the tekken series (you probably want 4 or 5 though)
or theres tenchu 3: wrath of heaven
i've play all i suggested except for tekken 5 (and i'm dieing to play it too lol)


All times are Eastern Standard Time (GMT -5) | Current Time: 08:26 AM

<< < > >>

Viewing 1-30 of 43 matches. 1 | 2