This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

MatheMagician
MatheMagician presents ...

2012/6/28

Physics

This is a physics engine I am working on. My hope is to eventually use it in a version of angry birds.
Click the mouse to shoot and right click the mouse to add a block.

5743 views / 19 in the last 7 days

6 votes | 0 in the last 7 days

Tags: mouse simulation physics demo with-source

open in greenfoot
Your browser does not support the canvas tag.
BytelordBytelord

2012/7/2

Sometimes when you shoot the ball it is no longer affected by gravity. It is just standing in the air.
Check out the next update.
Oops, I thought I knew what the problem was, but now it appears I don't :< I suppose you might have to wait a little bit while I figure that one out.
A new version of this scenario was uploaded on Mon Jul 02 19:09:28 UTC 2012 Fixed the bug, now the bugs always fall down.
Figured it out! :>
BytelordBytelord

2012/7/4

The Gravel is animated real better, but sometimes the ball (not often) stands still in the air.
I believe that is from the ball thinking it is on top of a block. The beeper image is larger than the ball in it so the scenario thinks it has hit something when it has it. I might fix it anyway though.
When you shoot, the ball hits the wood, but the ball stays on the ground. It should stay there for a few seconds, then re-appear at the slingshot. The wood should disappear when you hit it, too.
Thank you tenguorange90. However, the point of the engine is not just for angry birds. The point is for people to have the a base for their own games, be it angry birds, rag-dolls, etc. I merely put in the slingshot and green "pigs" to demonstrate its capabilities. I will almost certainly create an angry birds spin-off with this and will implement your suggestions.
A new version of this scenario was uploaded on Thu Jul 05 18:31:04 UTC 2012 Fixed a bug.

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Game/maniac JetLennit Denzien Antonio limefortheworld fireandlce