@RaRa Good eye! This is actually a 1986 Turbo-Encabulator rebuilt with components of the 1989 TE with dual exhaust ports and a five by three-eighths lateral shimmy. I didn't think anyone would spot the difference, but goes to show you that there are some real TE experts on Algobox.
This works in Phun too, but there is huge drop in frame rate because Phun doesn't seem to be able to handle the collisions the same. Don't know how I would fix that except to take off the treads and just put it on wheels.
kmito222 has a similar tank to this one, but if you just look at the pictures you'll see that his tank has 9 wheels and this tank has 8. His tank also has a different style of wheel. The polygons are different shapes. The treads are different lengths. This one has a gear pulling the tread and the other has a circle.
It is obvious that no part of kmito222's tank was used in the design of this tank. They just both happen to be based off of a real life tank which neither user had any part in designing.
@Cristianol, Don't follow the leader. Check the scenes before criticizing others.
@kmito222, Don't feel like you own the exclusive right to this type of tank just because you were the first one to build it in Phun.
Well apart from crashing Phun after the first shot (which is fine since you warned me), I just can't get over the actual bow. It's just... I think you could have made a better bow. I can see that the spirit of the scene is about the points and the sticky arrows, but the bow is jittery mess.
@ itsbillistic
People used to not have houses or organized government either. It took more skill to survive, but now everyone just sits around in their comfortable homes and complain about the things that make life better.
@itsbillistic
Whoah... Okay, I thought you were complaining about how it takes less skill to use the grid. Now you've turned into some sort of anarcho-communist.
"iether way, I'm just stating my opinion about how all good free things end up being brought, mass produced, and sold for money."
What? Let me recheck the other post to see if maybe I missed some sort of masked undertone in your message.
"back in the day people used to not have grids.
it took more skill.
but now everybody just uses completely accurate grids and lazers"
Nope, no mention of free things being bought and sold for profit.
@pauly-boy
Why? I invented spring bullets because they have a longer "burn time" than bouncy bullets. Since a bouncy bullet delivers all of its energy in one frame you can only do so much before the gun explodes.
Anyway, I've made bouncy guns before and I don't intend to take a technological step backwards.
10/10 for sure! It's an innovative mechanism.
I would suggest that you use composite shapes made out of circles and boxes in place of some of your polygons. Polygons have inferior collision calculations compared to the default circles and boxes.
Another suggestion might be that you use springs that have a high displacement and a low spring constant. This gives a near constant force.
Example:
k=100; x=6 => F=600
k=100; x=0 => F=0
or,
k=1; x=600 => F=600
k=1; x=594 => F=594
This downplays the role that displacement has, giving you better constant force approximations.
One more thing. You have a pretty low exit velocity on your projectile. It's not a big deal, but for the sake of aesthetics it would be nice to see a wider arc. This can be assuaged by doing a slight redesign of the way the bullet interacts with the piston located inside of the barrel.
Here is an example of what I mean: http://www.algodoo.com/algobox/details.php?id=39002
The bullet carries a block which pushes the piston. The block gets deleted midway down the barrel, but the spring is still attached to the bullet until it exits the barrel. This dramatically improves exit velocity.
And I'd also like to note that I'm unhappy with the use of stretchy hinges for the firing pin, but I won't complain since it's more stable than any alternative solution I can think of.
Great job and good luck!
Edit: oops, I just noticed this was made in Phun, so my example scene won't work for you. The construction of the gun used in that scene will transition nicely to your Phun gun, but the spring conversion between programs will cause it to malfunction. I'll try to fix that sometime this weekend.
@j-dewd
No, it has little to do with the damping. I might create an example scene later today to explain it better.
Until then you "might" be able to perform a quick experiment to better understand what I mean.
1. Select any spring in your scene add 10 to the target length.
2. Now divide the spring constant by 10.
Compare it to the performance of the spring before you made these modifications. You should see that you get a constant force approximation.