| bio | website | gone3d.com |
|---|---|---|
| location | DC Metro | |
| age | 48 | |
| visits | member for | 6 months |
| seen | 4 hours ago | |
| stats | profile views | 4 |
Diginaut
|
May 11 |
awarded | Fanatic |
|
Mar 2 |
awarded | Enthusiast |
|
Feb 27 |
comment |
Shooting Bullets Around a Sphere I'm working on a similar idea, but I'm doing all the work in code (AS3). The ship can be in orbit or not, but that won't affect the shots - the shots are affected by the gravity of the planet, their vector. Glancing shot is only bent a small amount, too close to the planet and it falls in. If you have it transition from RotateAround() to vector, it might look a little odd - circle arc to straight line. You might want to do a gravity calc to smooth the trajectory of the shot |
|
Feb 12 |
awarded | Informed |
|
Feb 12 |
awarded | Custodian |
|
Feb 12 |
reviewed | Reviewed Calculate combat result between 2 units |
|
Jan 30 |
comment |
Smudge and Erase Image using Flash and AS3 Have you tried keeping track of each pixel you touch/smudge and on the third hit you set the Alpha to 0? |
|
Dec 28 |
comment |
Change the tilemap shown on stage in Flixel What is the code in add(level)? |
|
Dec 20 |
comment |
box2D simulation doesn't work I played around with this and got it to work - I'd suggest trying out the tutorials and seeing if you can replicate what you're looking for in a simple system. And I did find out that if you want something to fall down, you need to make Gravity negative - var gravity:b2Vec = new b2Vec2(0, -10); |
|
Nov 29 |
comment |
Create and use a Button class on AS3.0 Take a look at this: wonderfl.net/c/asTE SimpleButton doesn't have the addChild method, so I changed things up and made the button a sprite. But this should be enough to get you where you need to be. |
|
Nov 29 |
awarded | Commentator |
|
Nov 29 |
comment |
Create and use a Button class on AS3.0 let us continue this discussion in chat |
|
Nov 28 |
comment |
Create and use a Button class on AS3.0 Is it available yet or are you call it too soon? stackoverflow.com/questions/13457037/actionscript-3-0-typeerror/… |
|
Nov 28 |
comment |
Create and use a Button class on AS3.0 soonButton.x = xVal; soonButton.y = yVal; There are all sorts of properties on the simple button class - take a look at the docs and make sure to expand the Show Inherited properties if it they aren't already help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/… |
|
Nov 28 |
comment |
Create and use a Button class on AS3.0 Yes - add the infobox button programmatically, not directly to the stage via the IDE and it should work. |
|
Nov 28 |
comment |
Create and use a Button class on AS3.0 Is the simple button on the stage or added programmatically. You need to add it to the stage as an InfoBoxButton |
|
Nov 28 |
comment |
Create and use a Button class on AS3.0 sorry - yes excatly - then lay it out as you would the regular buttons |
|
Nov 28 |
comment |
Create and use a Button class on AS3.0 you'll need to instantiate each button as this new class instead the original button. Remove the reference of soonButton and just make it this.addEventListener.... |
|
Nov 28 |
comment |
Create and use a Button class on AS3.0 I'm just a little confused now - yes it would work on the soon button - you want it on all the buttons? Then create a new button class with this infobox and have it show/hide internally. That way you don't have to worry about hooking up all the buttons. It will require a custom button class, though. |
|
Nov 28 |
awarded | Editor |