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: 'gankro'

We found 1,174 matches.


<< < > >>

Viewing 1-30 of 1,174 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 92440

1.

None

Topic: Dynamic Text AS3

Posted: 05/18/09 10:21 PM

Forum: Flash

No I'm attaching all the elements dynamically and seperately... But I may resort to this.


2.

None

Topic: What Matters In As3 Game Making

Posted: 05/18/09 10:11 PM

Forum: Flash

The most effective way to learn is to try to do something and find out what you need along the way

but you should learn
hitTest's
arrays
loops
variables
Children
MovieClip Properties
MAYBE BitmapData


3.

Expressionless

Topic: Dynamic Text AS3

Posted: 05/18/09 09:38 PM

Forum: Flash

I'm trying to dynamically create some text on top of a button, unfortunately it seems I can only create dynamic or input text fields and they seem to be blocking the buttons (functionally speaking) Is there a way to remedy this?


4.

None

Topic: key presses in AS3

Posted: 05/09/09 10:35 PM

Forum: Flash

Awesome. Thank you.


5.

Resigned

Topic: key presses in AS3

Posted: 05/09/09 10:19 PM

Forum: Flash

I'm having trouble with CS3/AS3 and keypresses... for some reason rather than focusing on the swf window, flash still wants me to develop... So if say... I press "S", it thinks I'm trying to use a key shortcut and picks a tool and totally ignores it in the swf... is there a way to fix this?


6.

Questioning

Topic: Importing Audio from a "down" site

Posted: 05/01/09 12:48 AM

Forum: Programming

I'm toying with importing audio externally and something hit me. If the website you are importing the audio goes down, will you not be able to import the audio? Does it matter if it is completely down or just "under maintenance?" For instance, I import a song from the audio portal, newgrounds goes "under maintenance" for an update (so you see the infamous tank welders) will I still be able to import the audio?


7.

None

Topic: AS3 dynamicly naming classes

Posted: 03/08/09 07:13 PM

Forum: Flash

At 3/8/09 06:53 PM, GustTheASGuy wrote: To get a class by name use flash.utils.getDefinitionByName.

from there I was able to figure out how to do it. THANKS!


8.

None

Topic: AS3 dynamicly naming classes

Posted: 03/08/09 06:35 PM

Forum: Flash

what do you mean referring to something by name? Also, doesn't seem to be working... I am getting this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at PrimaryWarAS3_fla::MainTimeline/enterFra me()

and am using this code:

pFort.name = player[0][0]+"fort"
pFort = addChild(pFort);

(pFort is defined as a movieclip higher up)


9.

Questioning

Topic: AS3 dynamicly naming classes

Posted: 03/08/09 06:21 PM

Forum: Flash

alright so I recently swapped to AS3 and am having trouble with attaching an MC with addChild when I pick the name dynamically i.e.

attachMovie("thing"+type,blah,blah....)
//does not equal
addChild("thing"+type)

I've tried many things but I can't seem to find a way to dynamically name the class... halp?


10.

Resigned

Topic: Angle of Impact

Posted: 02/14/09 02:10 PM

Forum: Flash

oh, seems you just did... except your code is AS3(?) and i can't run it to see what i assume is something brilliant.. :/


11.

None

Topic: Angle of Impact

Posted: 02/14/09 02:07 PM

Forum: Flash

At 2/14/09 01:27 PM, LeechmasterB wrote: The impact point is harder to find then the angle i would say. Specially with a polygon. What you are looking for is simply the DOT Product of two vectors! ;)

I looked it up.. not sure that's what I want... it seems to give me the product of two vectors(?) which is a number... that means nothing to me at all... explany?


12.

None

Topic: Angle of Impact

Posted: 02/14/09 01:25 PM

Forum: Flash

At 2/14/09 12:34 AM, AdairTishler wrote:
At 2/14/09 12:28 AM, AdairTishler wrote: the bisection method.
and by this I do not mean to find roots

I mean position the objects halfway from their starting to their destination, test for overlap, then keep halving the interval size, much in the same way you apply the idea of bisecting intervals to find roots...

the problem is only one object is a ball, the other is a polygon... so i can't reference it's center/location


13.

None

Topic: Angle of Impact

Posted: 02/13/09 11:52 PM

Forum: Flash

At 2/13/09 11:46 PM, Nano256 wrote: Elaborate on 'angle of impact'. And are we dealing with simple circles, or more complex polygons?

find the angle, relative to the center of the circle where a circle hit's a polygon of any shape and size (could even be surrounded by the polygon)


14.

None

Topic: enemy moving to player

Posted: 02/13/09 11:40 PM

Forum: Flash

xDist and yDist need to be in the enterFrame


15.

None

Topic: enemy moving to player

Posted: 02/13/09 11:24 PM

Forum: Flash

onClipEvent(enterFrame){
xDist = _x-player._x
yDist = _y-player._y
if(xDist!=0 && yDist!=0){
dist = Math.sqrt(xDist*xDist+yDist*yDist)
_x+=xDist/dist*speed
_y+=yDist/dist*speed
}else{
stop();
}
}

I think that does it all, I may have gotten xDist and yDist inverted, if so, change += to -=


16.

None

Topic: Angle of Impact

Posted: 02/13/09 10:35 PM

Forum: Flash

nonono... my MATH is fine. my problem is finding the at what angle the two objects COLLIDE not what angle they will exit from. But thanks anyway...


17.

Resigned

Topic: Angle of Impact

Posted: 02/13/09 10:27 PM

Forum: Flash

So I'm toying with some ball/bouncing physics and all my equations and math seem to be perfect but they are being limited by the accuracy with which I can find the angle of impact. Right now I simply reverse the motion of the ball bit by bit until it is not hitting anymore and use the last point that hit (through 360 degrees) this is kinda accurate but it's by no means perfect (less accurate the smaller the ball is). Is there a better way of finding at what angle something impacted a polygon?


18.

None

Topic: how would i make an audio player

Posted: 01/28/09 11:30 PM

Forum: Flash


19.

None

Topic: Something i don't understand

Posted: 01/28/09 11:21 PM

Forum: Flash

At 1/28/09 11:16 PM, Deathcon7 wrote:
At 1/28/09 11:11 PM, Coolio-Niato wrote: says him and I agree. just change _root positions. Vcam isn't exactly precise enough for games.
Not sure what the difference is there.....

vcam adjusts EVERY value of _root where as modifying _root's x/y is relatively nothing.


20.

None

Topic: Boredom Topic

Posted: 01/28/09 11:15 PM

Forum: Flash

This type of thing is more suited for the reg lounge...


21.

None

Topic: Something i don't understand

Posted: 01/28/09 11:03 PM

Forum: Flash

At 1/28/09 11:02 PM, Deathcon7 wrote: lol wut?

You're better off either A) making the map super large and just having a vCam on the player MC and just move the mc over the map, or B) using different frames holding different "area maps" and just using transitions to move from area to area and setting the hero's x/y equal to the starting point.

Never use Vcam for a game, it's a horrible lag monster and just lazy coding.


22.

None

Topic: Something i don't understand

Posted: 01/28/09 11:00 PM

Forum: Flash

_root._x = Stage.width/2


23.

None

Topic: (as3) Rotating Txtbox Via Tween

Posted: 01/28/09 10:57 PM

Forum: Flash

in the textbox properties you must select embed then select a proper set of characters to encompass all the possible characters that could be in the box (if unsure pick all) this will add a bit of size to your swf (maybe 50k). characters must be embedded if they are scaled/rotated/skewed in any way.


24.

None

Topic: Accessing nested MC currentFrame

Posted: 01/25/09 04:49 PM

Forum: Flash

unless I'm missing something it's just mc1.playerPunching.currentframe (mc1 is the parent)


25.

None

Topic: Remove All Movieclips? (as2)

Posted: 01/25/09 04:31 PM

Forum: Flash

I haven't used it in a while but i believe:

for(i in _root){
i.removeMovieClip();
}

it'll loop through every single thing on the stage and if it is a dynamic movieclip it will be removed. May have screwed up part of it but you should be able to find the mistake with the magic of google or the help docs.


26.

None

Topic: properly displaying arrays

Posted: 01/25/09 03:21 PM

Forum: Flash

hmm... that's going to be annoying... the array isn't uniform... oh well... thanks


27.

Resigned

Topic: properly displaying arrays

Posted: 01/25/09 02:57 PM

Forum: Flash

I've been toying with multiple dimensional arrays and have hit a wall, when I display the array as text it doesn't show the brackets. is there anyway to show the brackets or a special Array type I need for this to work?


28.

None

Topic: AS 2.0 Rotation Problem!

Posted: 01/25/09 11:51 AM

Forum: Flash

At 1/25/09 11:22 AM, Deathcon7 wrote:
At 1/25/09 11:08 AM, GustTheASGuy wrote: You mean it wouldn't use degrees.

As for if you find difficulty between 0° being right or up, the problem might be you, only being able to reason about space as much as inserting math you've memorized at school.
Not everyone is a math genius like you buddy. And I think degrees are easier to reason. Just like I think Imperial measurements are easier to reason than Metric.

To be quite frank I don't care either way, it was just a general statement.

I think both are perfectly valid methods but the main problem is flash insists on using radians for it's math but degrees for it's rotation...


29.

None

Topic: "AS Error"

Posted: 01/25/09 11:46 AM

Forum: Flash

I'm not sure, flash can do really random things sometimes, all I can suggest is resubmitting.
(I'd recommend using text frame labels but I've seen them bug out too)


30.

None

Topic: Test this please!

Posted: 01/24/09 02:22 PM

Forum: Flash

alright so better instructions... will do...

as for the high acceleration; while it can be difficult at first it's necessary to escape high gravity fields... so lowering just makes it overall more difficult.


All times are Eastern Standard Time (GMT -5) | Current Time: 11:41 PM

<< < > >>

Viewing 1-30 of 1,174 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 92440