An attempt to run main rope code only every 8th tick:
- A big win for inner loop which is O(n^2) and thus it takes 64 times less cpu now.
- Look and feel is almost identical (well, to my non-pro view)
- Yes, the speed is limited to 7 px per accounting tick which is potentially very bad to collisions
- Ruin shoppa
Hedgewars - a turn based strategy game.
Distributed under the terms of the GNU GPL licence.
Images and sounds are distributed under the terms of the GNU FDL licence.
Source:
Copyright 2004-2011 Andrey Korotaev <unC0Rr@gmail.com>
Portions copyright 2006-2008 Igor Ulyanov aka Displacer <iulyanov@gmail.com>