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!
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?
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?
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?
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?
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
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?
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.
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.
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.
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?
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...
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)
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.