| Posted By | Message | 
	
	
		|  Road Kill 1987
 
   
 Registered
 29/07/2009
 Points
 134
 | 
  			25th January, 2012 at 14:06:35 - 
  		
			
		
  			
  		 Hi all, I'm making a box2d based game and I've got an issue once it's built to SWF, I need to be able to rotate the cannon between 0 and 90 degrees.
 
 It seems fine in the MMF2 editior runtime but as soon as it's built to test it, the rotation doesn't work.
 
 I'll link to what I got so far so you can see what is happening.
 
 http://lw-game-site.sitesled.com/temp/box2d/stackedsticks.html
 
 Up and down to rotate and shift fires.
 
 
  Xbox live Gamertag: Road Kill 1987 | 
  	
  	
		|  s-m-r
 Slow-Motion Riot
 
 Registered
 04/06/2006
 Points
 1078
 
 
   | 
  			25th January, 2012 at 17:49:20 -
  		
			
		
  			
  		 Well, the Flash version loads but yeah the rotation isn't working.  I can move maybe 1 degree but that's it.
 
 There's obviously something in your events that's not working.  Can you post your source code so folks experienced with the Box2D stuff can offer some suggestions?
 
 
  n/a | 
  	
  	
  	
  	
		|  Road Kill 1987
 
   
 Registered
 29/07/2009
 Points
 134
 | 
  			25th January, 2012 at 18:58:48 -
  		
			
		
  			
  		 I will do once I get my MacBook booted up in to xp, I'm typing this on my tower which the files aren't on.
 
 EDIT:
 Right, I'm on my MacBook and it's up on my web hosting, link is below now:
 
 http://lw-game-site.sitesled.com/temp/box2d/stackedsticks.mfa
 
 
  Edited by Road Kill 1987 
 
  Xbox live Gamertag: Road Kill 1987 | 
  	
  	
		
			|  |  |