A dungeon delver roguelike using Pathfinder 2nd edition rules

Moving to pure Godot

+3 -191
+3 -28
.gitignore
··· 1 - # Created by https://www.toptal.com/developers/gitignore/api/go,godot 2 - # Edit at https://www.toptal.com/developers/gitignore?templates=go,godot 3 - 4 - ### Go ### 5 - # If you prefer the allow list template instead of the deny list, see community template: 6 - # https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore 7 - # 8 - # Binaries for programs and plugins 9 - *.exe 10 - *.exe~ 11 - *.dll 12 - *.so 13 - *.dylib 14 - 15 - # Test binary, built with `go test -c` 16 - *.test 17 - 18 - # Output of the go coverage tool, specifically when used with LiteIDE 19 - *.out 20 - 21 - # Dependency directories (remove the comment below to include it) 22 - # vendor/ 23 - 24 - # Go workspace file 25 - go.work 1 + # Created by https://www.toptal.com/developers/gitignore/api/godot 2 + # Edit at https://www.toptal.com/developers/gitignore?templates=godot 26 3 27 4 ### Godot ### 28 5 # Godot 4+ specific ignores ··· 41 18 data_*/ 42 19 mono_crash.*.json 43 20 44 - # End of https://www.toptal.com/developers/gitignore/api/go,godot 45 - 46 - releases/ 21 + # End of https://www.toptal.com/developers/gitignore/api/godot
-31
data.go
··· 1 - package main 2 - 3 - import ( 4 - "fmt" 5 - 6 - "graphics.gd/classdb/Control" 7 - "graphics.gd/classdb/Label" 8 - "graphics.gd/classdb/Button" 9 - "graphics.gd/classdb/SceneTree" 10 - ) 11 - 12 - type DungeonerStart struct { 13 - Control.Extension[DungeonerStart] 14 - 15 - Title Label.Instance 16 - NewGame Button.Instance 17 - Quit Button.Instance 18 - } 19 - 20 - func (ds *DungeonerStart) Ready() { 21 - ds.NewGame.AsBaseButton().OnPressed(ds.OnNewGamePressed) 22 - ds.Quit.AsBaseButton().OnPressed(ds.OnQuitPressed) 23 - } 24 - 25 - func (ds *DungeonerStart) OnNewGamePressed() { 26 - fmt.Println("new game") 27 - } 28 - 29 - func (ds *DungeonerStart) OnQuitPressed() { 30 - SceneTree.Get(ds.AsNode()).Quit() 31 - }
-14
go.mod
··· 1 - module github.com/skeetcha/dungeoner 2 - 3 - go 1.25.0 4 - 5 - require graphics.gd v0.0.0-20250906140245-de799668831d 6 - 7 - require ( 8 - github.com/tetratelabs/wazero v1.9.0 // indirect 9 - golang.org/x/mod v0.27.0 // indirect 10 - golang.org/x/sync v0.16.0 // indirect 11 - golang.org/x/text v0.28.0 // indirect 12 - golang.org/x/tools v0.36.0 // indirect 13 - runtime.link v0.0.0-20250814043127-466c6970c4a5 // indirect 14 - )
-16
go.sum
··· 1 - github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= 2 - github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= 3 - github.com/tetratelabs/wazero v1.9.0 h1:IcZ56OuxrtaEz8UYNRHBrUa9bYeX9oVY93KspZZBf/I= 4 - github.com/tetratelabs/wazero v1.9.0/go.mod h1:TSbcXCfFP0L2FGkRPxHphadXPjo1T6W+CseNNY7EkjM= 5 - golang.org/x/mod v0.27.0 h1:kb+q2PyFnEADO2IEF935ehFUXlWiNjJWtRNgBLSfbxQ= 6 - golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc= 7 - golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw= 8 - golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= 9 - golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng= 10 - golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU= 11 - golang.org/x/tools v0.36.0 h1:kWS0uv/zsvHEle1LbV5LE8QujrxB3wfQyxHfhOk0Qkg= 12 - golang.org/x/tools v0.36.0/go.mod h1:WBDiHKJK8YgLHlcQPYQzNCkUxUypCaa5ZegCVutKm+s= 13 - graphics.gd v0.0.0-20250906140245-de799668831d h1:PzNFBhT77LhaVbg4cy1ihaFezsspPQ5e/n3DbESgu14= 14 - graphics.gd v0.0.0-20250906140245-de799668831d/go.mod h1:38FJ2OVFsi1UfqbLrFiFq4br5MDMeSpeRUTsuuKD5Uo= 15 - runtime.link v0.0.0-20250814043127-466c6970c4a5 h1:e1oLgkoXIW0pOIc+9OMnQO6Q0uyTGOQ1favaVg2S2lI= 16 - runtime.link v0.0.0-20250814043127-466c6970c4a5/go.mod h1:13rTs4Rs4/Z512Vh1Rkak+nJUERb9f4MpCZQyUrcTwM=
-8
graphics/.gitignore
··· 1 - .godot 2 - *.so 3 - *.dll 4 - *.dylib 5 - *.exe 6 - *.a 7 - *.xcframework 8 - library_documentation.xml
-17
graphics/library.gdextension
··· 1 - [configuration] 2 - 3 - entry_symbol = "cgo_extension_init" 4 - compatibility_minimum = "4.4.1.stable.official.49a5bc7b6" 5 - 6 - [libraries] 7 - 8 - windows.x86_64 = "windows_amd64.dll" 9 - windows.arm64 = "windows_arm64.dll" 10 - macos.release = "darwin_universal.dylib" 11 - macos.debug = "darwin_universal.dylib" 12 - macos.arm64 = "darwin_arm64.dylib" 13 - macos.amd64 = "darwin_amd64.dylib" 14 - ios.arm64 = "go.xcframework" 15 - android.arm64 = "libandroid_arm64.so" 16 - linux.x86_64 = "linux_amd64.so" 17 - linux.arm64 = "linux_arm64.so"
-1
graphics/library.gdextension.uid
··· 1 - uid://bc8q6ke3np53p
-20
graphics/project.godot
··· 1 - ; Engine configuration file. 2 - ; It's best edited using the editor UI and not directly, 3 - ; since the parameters that go here are not all obvious. 4 - ; 5 - ; Format: 6 - ; [section] ; section goes between [] 7 - ; param=value ; assign values to parameters 8 - 9 - config_version=5 10 - 11 - [application] 12 - 13 - config/name="dungeoner" 14 - run/main_scene="res://start.tscn" 15 - run/main_loop_type="GoMainLoop" 16 - config/features=PackedStringArray("4.4") 17 - 18 - [rendering] 19 - 20 - textures/vram_compression/import_etc2_astc=true
-45
graphics/start.tscn
··· 1 - [gd_scene format=3 uid="uid://bmhmiv43fqo4c"] 2 - 3 - [node name="Node" type="Node"] 4 - 5 - [node name="DungeonerStart" type="DungeonerStart" parent="."] 6 - anchors_preset = 15 7 - anchor_right = 1.0 8 - anchor_bottom = 1.0 9 - grow_horizontal = 2 10 - grow_vertical = 2 11 - size_flags_horizontal = 3 12 - size_flags_vertical = 3 13 - 14 - [node name="Title" type="Label" parent="DungeonerStart"] 15 - layout_mode = 1 16 - anchors_preset = -1 17 - anchor_top = 0.366 18 - anchor_right = 1.0 19 - anchor_bottom = 0.401 20 - offset_bottom = -236.848 21 - grow_horizontal = 2 22 - text = "Dungeoner" 23 - horizontal_alignment = 1 24 - 25 - [node name="NewGame" type="Button" parent="DungeonerStart"] 26 - layout_mode = 1 27 - anchors_preset = -1 28 - anchor_left = 0.232 29 - anchor_top = 0.426 30 - anchor_right = 0.768 31 - anchor_bottom = 0.474 32 - grow_horizontal = 2 33 - text = "New Game 34 - " 35 - 36 - [node name="Quit" type="Button" parent="DungeonerStart"] 37 - layout_mode = 1 38 - anchors_preset = -1 39 - anchor_left = 0.232 40 - anchor_top = 0.499 41 - anchor_right = 0.768 42 - anchor_bottom = 0.547 43 - offset_bottom = -0.104004 44 - grow_horizontal = 2 45 - text = "Quit"
-11
main.go
··· 1 - package main 2 - 3 - import ( 4 - "graphics.gd/classdb" 5 - "graphics.gd/startup" 6 - ) 7 - 8 - func main() { 9 - classdb.Register[DungeonerStart]() 10 - startup.Scene() 11 - }