1. Arne Babenhauserheide
  2. fungus
  3. Branches

Branches

hexbattle

View source
hexbattle
  • Contributors
    1. Loading...
Author Commit Message Date Builds
25 commits behind default.
Arne Babenhauserheide
more refactoring.
Arne Babenhauserheide
using desert graphics, now
Arne Babenhauserheide
Moved hexgrid functions into their own module.
phi...@MacBook.fritz.box
works on iBook
dr...@bach
debug
dr...@bach
debug
dr...@bach
dabug
dr...@bach
debug
dr...@bach
debug-output
dr...@bach
debug output
phi...@MacBook.fritz.box
max frames 100/s (sleep(0.001).
Arne Babenhauserheide
sub
Arne Babenhauserheide
sub
Arne Babenhauserheide
added yaml snapshot to rpg_1d6
Arne Babenhauserheide
rpg_lib → rpg_1d6
Arne Babenhauserheide
removed dependency on python 2.6.
Arne Babenhauserheide
Added intro and finish info (single text line).
Arne Babenhauserheide
setup in steps ⇒ showing the field earlier.
Arne Babenhauserheide
AI: Take wounds into account.
Arne Babenhauserheide
include wound modifiers as malus in the attack roll.
Arne Babenhauserheide
smaller critical wound info.
Arne Babenhauserheide
added wound status information.
Arne Babenhauserheide
FIX: game end condition didn’t work for the player.
Arne Babenhauserheide
added constrained movement of player chars via movement_overlay.
Arne Babenhauserheide
when the AI passes the control to the player, a mouse_move event simulated.
Arne Babenhauserheide
fixed terrain: hexfields weren’t referenced → garbage collected. Problem wasn’t in batch.
Arne Babenhauserheide
blit→draw
Arne Babenhauserheide
enabled CPU only games :)
Arne Babenhauserheide
Hexfields get loaded via resource.image()
Arne Babenhauserheide
with batches.
Arne Babenhauserheide
simple sprite loader.
Arne Babenhauserheide
refactoring in trying to get the batches to work again.
Arne Babenhauserheide
find_free_hex now searches around the starting hex in iteratively widening circles.
Arne Babenhauserheide
Fixed AI movement.
Arne Babenhauserheide
Fix: target weighting didn’t check different hexes, but only the current position.
Arne Babenhauserheide
todo.
Arne Babenhauserheide
fix subpath.
Arne Babenhauserheide
docstring
Arne Babenhauserheide
more tests for the hex distance.
Arne Babenhauserheide
transported testing into fungus_scene.
Arne Babenhauserheide
made it possible to test the Scene.
Arne Babenhauserheide
prepared more testing.
Arne Babenhauserheide
refactored to allow for doc-testing Character.
Arne Babenhauserheide
moved wesnoth images in a subfolder.
Arne Babenhauserheide
Fix: Wrong movement and AI.
Arne Babenhauserheide
preliminary AI, still does mistakes.
Arne Babenhauserheide
Added a basic method for finding the best target hex for movement.
Arne Babenhauserheide
Char: added _get_att_value() for more convenient attribute value access.
Arne Babenhauserheide
updated TODO
Arne Babenhauserheide
updated TODO
Arne Babenhauserheide
updated TODO
Arne Babenhauserheide
The scene now selects units by their initiative and units can no longer be placed on top of other units.
Arne Babenhauserheide
Changed UI: units get selected by clicking and are placed with a second click.
Arne Babenhauserheide
really read a potential Initiative attribute of the Char.
Arne Babenhauserheide
added basic initiative ordering.
Arne Babenhauserheide
updated rpg_1d6
Arne Babenhauserheide
Trying to make loading chars from files work.
Arne Babenhauserheide
polishing.
Arne Babenhauserheide
some refactoring to move enemy detection into the scene.
Arne Babenhauserheide
Added teamplay and 'only attack enemies'.
Arne Babenhauserheide
added mali due to multiple enemies.
Arne Babenhauserheide
can change the image for units.
Arne Babenhauserheide
I’m lazy: Just added all wesnoth credits along with giant-rat.
Arne Babenhauserheide
attack: the hit unit now tumbles back and forth.
Arne Babenhauserheide
TODO update.
Arne Babenhauserheide
can kill :)
Arne Babenhauserheide
A char can now attack others.
Arne Babenhauserheide
a new char is aiutomically moved to not collide with another one.
Arne Babenhauserheide
second level action for attack implemented.
Arne Babenhauserheide
The selected actions from the command overlay now get passed to the character.
Arne Babenhauserheide
overlay now shadows units.
Arne Babenhauserheide
added commend overlay which doesn’t yet do anything.
Arne Babenhauserheide
always use enough tiles to fill the visible area (fixed area, currently, only for this screen size).
Arne Babenhauserheide
can place characters and has a bright overlay on the hexfield which a click will select.
Arne Babenhauserheide
finally a working hex grid implementation, thanks to http://www-cs-students.stanford.edu/~amitp/Articles/Hexagon1.html.
Arne Babenhauserheide
added test for coordinate to hex — still needs a working implementation.
Arne Babenhauserheide
using wesnoth artwork.
Arne Babenhauserheide
added two tiles from wesnoth and the associated SVN log in the ARTISTS file.
Arne Babenhauserheide
todo updated.
Arne Babenhauserheide
Added a mostly correct Gridlayout.
Arne Babenhauserheide
sub
Arne Babenhauserheide
merge backout of backout
Arne Babenhauserheide
Backed out backout changeset eb6ba6c5d44d
Arne Babenhauserheide
merge default
Arne Babenhauserheide
docstrings.