That is the perfect example where you need to implement continuous collision detection to the fired balls(Or make the walls thicker) .You can see that when they hit the side walls some of them pass through it.
On Thu, Mar 17, 2011 at 9:22 PM, Dave <[email protected]> wrote: > Nope, there's isn't a way to set that param in AS3 in the current > molehill release. That will change in a later release. > > -Dave > > On Mar 17, 12:18 pm, Josh Beckwith <[email protected]> wrote: > > Amazing! > > > > Is there some way to set that parameter in actionscript? > > > > Thanks for the help! > > > > On Mar 17, 10:40 am, Fabrice3D <[email protected]> wrote: > > > > > > > > > > > > > > > > > var flashvars = {}; > > > var params = {}; > > > params.quality = "high"; > > > params.bgcolor = "#ffffff"; > > > params.allowscriptaccess = "sameDomain"; > > > params.allowfullscreen = "true"; > > > params.wmode = "direct"; <----- this one says: engage > warpspeed please > > > > > On Mar 17, 2011, at 6:29 PM, Josh Beckwith wrote: > > > > > > This is my first big project with Away3D, so I'm still learning the > > > > ropes. I'm hoping there's some small detail I'm missing that is > making > > > > my program ignore the fact that it can use the GPU. > > > > > > Here's a link to the game: > http://positlabs.com/files/code/crossBaller/bin/index.html > > > > > > Controls: > > > > WASD to move > > > > SPACE to shoot > > > > CLICK AND DRAG to look around > > > > > > There's nothing super complex going on here, but the game makes my > CPU > > > > usage jump to 90-100%, and the framerate is terrible. > > > > > > I compared it to the CPU usage when I run the shallow water > simulation > > > > ( > http://infiniteturtles.co.uk/projects/away3d/broomstick/ShallowWaterD... > > > > ), and it's a huge difference. When i run the sim, my CPU hovers > > > > around 30%. > > > > > > I tried disabling the physics engine, removing the fence, removing > the > > > > environment sphere...and nothing makes a difference. > > > > > > I've uploaded the source here: > http://positlabs.com/files/code/crossBaller/src/ > > > > And it's available for download as a rar: > > > >http://positlabs.com/files/code/crossBaller/CrossBaller.rar > > > > > > And if my computer is on when you play the game, you can get some > > > > friends in on the action ( type login.yourUserName in the chat box to > > > > connect to the server )...but the game is super slow, and not > > > > finished. > > > > > > If you're interested in learning how to set up a multiplayer > > > > game(http://www.smartfoxserver.com/), feel free to use my code. > -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com http://blog.alladvanced.net Tel:054-4962254 [email protected] [email protected]
