Sleeping ! i can hear it snoring
Posting a capx is better.
I know its a game so you can do what you like but personally i wouldnt use recoil in this way. First a Laser is just light, and firing one wouldnt cause recoil anyway. If you still want some form of recoil i would suggest you have a separate turret and apply the recoil to that instead.
Use For Each on each enemy and check the distance using distance(player.x,player.y,enemy.x,enemy.y)
The manual is your friend.
R0J0hound
Hi , there seems to be a bug with the motor joint. See attached capx. For me anything under 50x50px stops rotating almost straight away.
Check out the Chipmunk physics behavior.
Somewhere in the thread there is an example for spring shocks.
Well you could use Browser.Referrer then which will tell you the url of the refering page.
Maybe you could use the browser plugin and check the url. Then set the application to run based on that information.
Develop games in your browser. Powerful, performant & highly capable.
Ah thanks I will have to mess about with it so really see what it does .
Not sure but i think you can do this with R0J0hound's Chipmunk behavior.
I am unsure what the max force for a joint setting is for. If i do a test based on the return of Jointimpulse then i can break the joint when i want, regardless of whether max force is set to infinity or not. Where would i use max force ?
Thanks
Couldnt agree more, its pretty shoddy as it is.
Member since 30 Oct, 2012