Notable changes
- feat: add map transitions
- feat: add new maps
- feat: move MapMatrix to embedded json files
- feat: rework the whole HP/MP/points system (azrod)
- feat: add golangcilint (azrod)
- feat: map image is now one big "on the fly" generated image, not thousands of individual tiles
- chore: rework all the packages and move them to pkg/ (azrod + zwindler)
- chore: add a LOT of tests (azrod + zwindler)
- chore: upgrade fyne to 2.4.0
- chore: change MapMatrix to uint16
- chore: use Coord (X,Y,Map) instead of X,Y int where possible
- fix: no more fyne errors at startup
- fix: no more blank screen when loading map
- fix: gender was not properly set
- fix: objects removed from inventory were not flagged as such
- fix: centerPlayerOnMap wasn't working every time
Changelog
- 4056afa Add a very small contribution guide
- 2bfdc28 Merge branch 'main' of github.com:zwindler/gocastle
- 1fa0326 Merge branch 'main' of github.com:zwindler/gocastle into 24_map_transitions
- 7b01a4a Merge branch 'main' of github.com:zwindler/gocastle into add_tests
- 845515c Merge branch 'main' of github.com:zwindler/gocastle into merge-tiles
- 5dfdee3 Merge branch 'main' of github.com:zwindler/gocastle into merge-tiles
- a5e6b6e Merge branch 'main' of github.com:zwindler/gocastle into move-maps-to-pkg
- 80fc64c Merge branch 'main' of github.com:zwindler/gocastle into move_maps_to_embedded_json_files
- f604f0d Merge pull request #40 from zwindler/24_map_transitions
- f6ae521 Merge pull request #41 from AbhiramMngi/chore-change-spawnnpc-type
- d22eec7 Merge pull request #42 from azrod/golangcilint
- 7ac6736 Merge pull request #46 from azrod/health_point_system
- e25aad9 Merge pull request #51 from zwindler/merge-tiles
- 8fcf542 Merge pull request #52 from azrod/refacto_time
- 4a14888 Merge pull request #53 from azrod/fix_HandleNPCDamage
- 0ae4edf Merge pull request #56 from zwindler/move-theme-as-pkg
- 14bcc18 Merge pull request #59 from zwindler/move-embed-to-pkg
- 3f6eda7 Merge pull request #62 from zwindler/move-maps-to-pkg
- a12ebaf Merge pull request #63 from zwindler/update_fyne
- cd8a8c8 Merge pull request #66 from zwindler/add_tests
- e4e7e9d Merge pull request #67 from zwindler/57-chore-move-npc-to-pkg
- fad3f0c Merge pull request #70 from zwindler/move_maps_to_embedded_json_files
- a8e67b8 Merge pull request #72 from zwindler/map_to_uint16
- eabf0de Merge pull request #73 from zwindler/pretttify-village
- f61cf62 Merge pull request #74 from zwindler/reworkembed
- 6b0f350 Merge pull request #75 from zwindler/move-screens
- 8af99a2 Merge pull request #79 from zwindler/move-objects
- 0cab9b0 WIP
- 243fde6 WIP: maps still need some work
- 7b49b7b WIP: rework load/save
- 34237f9 chore pregenerate the first map we display
- 898e069 chore: Add developpement diary
- e0067e6 chore: add @azrod suggestions
- 6a8173b chore: add GolangCI Lint configuration
- de842e6 chore: add diaries
- a8d7d3c chore: add diary
- 18c1723 chore: add diary
- 113e904 chore: add diary
- 19046a8 chore: add drawn maps
- 888d477 chore: add journal
- 13acd38 chore: add maps
- eb5ab89 chore: add mountain for mine entrance
- 57c2359 chore: add mountain tiles
- 9e90cbd chore: add sand tiles
- 26a042f chore: add sand tiles
- 0333cf5 chore: add tests
- 96e0bbf chore: add tests
- 473e3bb chore: add tests for maps_logic
- 5c04092 chore: add tests for theme
- 940afa1 chore: add the old mine map
- 8afc8e0 chore: add tiles tests
- 2ea1ef7 chore: add tree tiles
- 4f81026 chore: add vscode settings to set lint tool
- c19bf94 chore: better village and totheoldmine maps
- b1e5db8 chore: extract tiles from maps
- 4794bdb chore: first working WIP
- 3c70dc6 chore: fix map
- 8f14cb2 chore: forgot go mod tidy
- c5de08d chore: generate clean errors for future tests
- 1ef9a4a chore: improve logic for loadGameFromFile func
- 8e5895a chore: lint
- bda3ea3 chore: move GenerateMapImage to map package
- cdb2847 chore: move embed to a proper pkg/
- ba7c698 chore: move maps matrices as json
- 2e014b8 chore: move maps to pkg
- 116146f chore: move npc/avatar/coord to pkg
- 0cbee8d chore: move objects to pkg
- 4d31c88 chore: move screens
- 751894d chore: move the getBaseDirectory() function out of utils
- 770a62f chore: move theme as pkg
- d5898f9 chore: prettify 1.json
- 2dd8e9d chore: prettify village and ttom
- a3c2329 chore: refacto timespent and mode to pkg
- 86e969a chore: remove comment
- fdc68ef chore: remove comments
- c416852 chore: remove deadcode
- 1eab9c5 chore: remove useless parameter
- 78f0fae chore: remove useless playerStart in maps
- 62eb30d chore: rename module name and run auto fix linter
- da90e20 chore: rename test file
- ac4071e chore: reorder functions
- 2a31f86 chore: replace X,Y coordinates by Coords
- 6089008 chore: rework maps
- 6d664fd chore: save Image in Map once generated
- 312f73a chore: split embedimages and embedmaps
- 8c40493 chore: split map logic from maps declaration
- 112b2ea chore: switch maps to uint16
- a3efbe3 chore: tweak trees and add tree tiles
- ffc08f2 chore: update fyne
- 0c1ae16 chore: updater tiles a bit
- b4b963d ci: add CI check lint
- ecc3298 do centerMapOnPlayer last
- 2ea8c18 doc: add notice for golangci-lint
- 6891253 feat: add L key for load ingame
- d8aba03 feat: add health point system
- 404fd21 feat: add mana system
- f604a57 feat: add point system
- b1a437e feat: working PoC for map transitions
- fe3fe22 fix: HandleNPCDamage message
- 69cfacb fix: also images for objects
- 4e0396d fix: character copy
- c86d543 fix: hp system to use pts
- a383fe0 fix: image missing for NPCs
- 4349463 fix: lint
- f9047bd fix: lint
- f5c18ed fix: lint errors
- 406ab6b fix: real wrong tilemap
- 6900548 fix: remove SpawnNPC and fix use AllTheMaps
- 3fa78e8 fix: tilemap again
- e7b0bc9 fix: update player Coord with map
- f424646 fix: use Coord and right variable for currentMap
- f0ca974 fix: use a pointer for currentMap
- 8115ee1 fix: wrong order in packages
- d4b1cac ft-gocastle: change spawnpc position type
- efdc083 qfix: wrong tilemap
- 6954120 tests: add unit tests