Skip to content

Releases: zwindler/gocastle

0.4.0

05 Oct 10:44
5198b88
Compare
Choose a tag to compare

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

0.2.1

25 Aug 12:33
Compare
Choose a tag to compare

Should have been 0.3.0 :-/

  • Added objects on the map, that you can pick up in the inventory menu
  • Added more mobs that I've hand drawn
  • Added a Licence (MPL 2)
  • Added move objects and monsters
  • Fixed : always draw avatars on top of the map (tiles + objects)
  • Fixed : darwin compilation issues
  • Chore: reworked how the NPCs on the map are managed in a much cleaner way (similar to objects)

Changelog

0.2.0

03 Aug 14:09
Compare
Choose a tag to compare
  • Added real packages w/ goreleaser and fyne-cross
  • Fixed load/save that was broken in previous release

Changelog

0.1.0

31 Jul 14:47
Compare
Choose a tag to compare

Second version of the game

  • Added inventory screen, gold, wieght
  • Added save/load game functionnality
  • Added auto focus (center map) on player

Changelog

  • 5d8920a WIP: add save screen
  • 6c37711 WIP: adding inventory
  • bf4fa67 WIP: inventory screen
  • 8c9fb41 WIP: nearly save/load working version
  • b5fc8c8 WIP: save and load screenn
  • de50ba9 WIP: time still ko
  • bef3478 chore: add Icon.png
  • f38d04f chore: add a lots of comments on functions
  • 03ee587 chore: add categories, rework inventory layout
  • 1357b36 chore: add dev log
  • 7f749e0 chore: add dialogs
  • a32afe2 chore: add diary
  • ffb3887 chore: add diary
  • c140130 chore: add fake goreleaser using fyne-cross
  • 12483f6 chore: add fyne-cross in gitignore
  • ad1c0da chore: add goreleaser for first 0.0.1 version
  • 7dafdf0 chore: add new tilesets and make a bigger map!
  • f2e1cc0 chore: add newgame styles
  • 1829051 chore: add npcs and player pos in map definition
  • 1a1565b chore: add starting gold
  • b974a13 chore: add weight and capacity to equip / un-equip
  • 4cf7cd8 chore: move static to utils/static
  • f005281 chore: remove all coordinates because we use a layout now
  • f832177 chore: rename map and tweak it
  • e50408f chore: rename var
  • 75c4c40 chore: reorg categories
  • a67b731 chore: reorganize dev log and readme
  • 23c7d5f chore: replace purse by greaves category
  • e763deb chore: rework newgame screen
  • affd979 chore: split dev log
  • 605089f chore: split game.go
  • f3c78ce chore: update diary
  • b2edb25 chore: update readme
  • 6eae7a5 feat: add auto scroll to follow player on map
  • 17c67fb feat: add dialog for friendly NPC
  • e21e659 feat: add embedded images
  • 397d9de feat: add inventory stats area
  • 71d2e6f feat: embed all images
  • 0c75075 feat: first version of inventory
  • 32c5ca5 fix: #9
  • 2ff7d24 fix: a few missing initializations
  • 51742cf fix: add details in dev log
  • e2b4b64 fix: better way to trick scrollable containers
  • f52609d fix: fixes #10
  • 8cb8f81 fix: fixes #12
  • 392db68 fix: fixes #14
  • a85c30a fix: going back and forth to game screen will heal player
  • c4bf4d8 fix: part of the startup errors
  • 584b0b2 fix: useless call
  • 485a068 fixes: #11
  • 53a5103 still WIP

0.0.1

23 Jul 12:09
Compare
Choose a tag to compare

First version of the game. Basic menus are there, map works and there are NPCs with basic "AI"

Changelog

  • e8f1532 Bootstraping app
  • 504fdc7 Update README.md
  • 22ec165 chore: add AI generated new mobs
  • caf22fe chore: add IncrementTimeSinceBegin function
  • 690cd26 chore: add NPCs reactions
  • 1950816 chore: add README entry
  • 10599fd chore: add Readme
  • f0343ee chore: add first combat logic
  • fc8d71f chore: add gitignore
  • 9db76ff chore: add gitignore
  • fd6c321 chore: add gold, xp and rework functions
  • ad1c0da chore: add goreleaser for first 0.0.1 version
  • a1687cf chore: add hack to set size and allow scrolling
  • fc863af chore: add hostility boolean
  • 02ec649 chore: add info about farmer
  • 5929d07 chore: add info for latere
  • 0e287ab chore: add infos
  • e7636f0 chore: add logic on choices for aspect
  • d96fdd9 chore: add message
  • 9452049 chore: add more characteristics
  • e23c4b1 chore: add more conditions on validate + fix layout
  • c99f83d chore: add moving player
  • 1b4fd31 chore: add package maps
  • 1fe35ea chore: add possibility to go in diagonals
  • 4f99ee9 chore: add safeguard on validate and gender selection
  • f604a06 chore: add screens
  • c2b9b99 chore: add static farmer as first PNJ
  • 53035f3 chore: add theme
  • 6f5647e chore: adding more assets
  • 0a6b37d chore: allow resizing
  • fe268de chore: clean a bit scrollable map
  • c06c17f chore: clean checkWakable
  • fa15acf chore: clean new game code
  • 5f5ce17 chore: clean up a bit code
  • ed8d013 chore: cosmetic modifications
  • b8f6268 chore: extract character variables in a new model package
  • a441626 chore: finish newgame screen
  • 009eb1a chore: fix black border lines
  • aace2d3 chore: fix theme and map
  • a785ba9 chore: improve mapKeyListener, checkWalkable and movePlayer functions
  • 7bba6ed chore: mega refactor / code cleanup
  • aae174e chore: mega rework of the tiles to extract tiles from a tilese rather than copying individual tiles
  • 44a19df chore: move background
  • 148056c chore: move handleNPCDamage to package model
  • f3b4931 chore: move hostiles together
  • e364aa7 chore: move theme to model package
  • bf0032d chore: reduce text size again
  • 4eaba32 chore: refactor log entries and add log entries for attacks
  • 5150ab5 chore: remove debug
  • 2871eae chore: remove useless comments
  • 4b6dd46 chore: rename game screen
  • 147c090 chore: reorder readme
  • 6c26d77 chore: reworked all the stats system + added levels
  • e7302cf chore: scrollable map doesn't work yet
  • 948a243 chore: set defaults to speedup dev
  • 80afb95 chore: set some default to speedup dev
  • 62027f3 chore: split code, add background, move buttons
  • 5846bf3 chore: talk about layout issues
  • 6194f7c chore: temporary version of map
  • d346022 chore: tweak a bit font size
  • 1a5c48d chore: tweak default before working on RPG system
  • 2073de7 chore: work on new game screen
  • 24dfb5e feat : add randomizeGoldLoot and fix IsNPCDead and CreateNPC
  • 3297f5a feat: add a handleNPCDamage function
  • e02f3ba feat: add basic AI for hostiles
  • 59fc59d feat: add level up screen
  • 0992232 feat: add leveling up and mega rework
  • dcf8414 feat: add logentries box in the left down corner
  • f508f38 feat: add name for maps
  • c2d0fe3 feat: add stats box
  • fd9787a feat: can't walk in walls
  • c37dd3d feat: change levelup screen to popup
  • 7b6c19a feat: first working moving character!
  • 95d28a8 feat: major character+NPC rewrite
  • 2d734eb feat: prepare work for stats box
  • 5233621 feat: we can kill hostile NPCs
  • eb0eccb first version of map, doesn't work due to grid spaces
  • e6dd898 fix Map layout
  • 410f0ff fix entry layout and add sliders logic
  • 865bced fix: NPC generic instanciation
  • f133dbd fix: NPC position
  • 8b18aaf fix: UI
  • 35e8544 fix: found that map was inverted due to x/y/h/v/row/columns mixup
  • fc7ba85 fix: leveling up issues
  • 7c1c857 fix: messed value for currentGold
  • d4a5dec fix: missed all the files
  • 1dbb589 fix: missing entry in readme
  • d501686 fix: missing fixes
  • ed426e6 fix: no reason to have vars accessible from other packages
  • 42e5067 fix: switch back to ints
  • caf56f6 fix: typos
  • 7ac8ff6 fix: use layout.NewSpacer()
  • f54e99a fix: variantTheme (light/dark) support
  • 327b7ee fix: wrong max
  • ab8046e fix; sliders
  • 48b27de fix; typo
  • 4797f68 fixes #7