Noah Petherbridge
d14eaf7df2
* The F4 key to draw collision boxes works reliably again: it draws the player's hitbox in world-space using the canvas.DrawStrokes() function, rather than in screen-space so it follows the player reliably. * The F4 key also draws hitboxes for ALL other actors in the level: buttons, enemies, doors, etc. * The level geometry collision function is updated to respect a doodad's declared Hitbox from their script, which may result in a smaller box than their raw Canvas size. The result is tighter collision between doodads, and Boy's sprite is rather narrow for its square Canvas so collision on rightward geometry is tighter for the player character. * Collision checks between actors also respect the actor's declared hitboxes now, allowing for Boy to get even closer to a locked door before being blocked.
46 lines
2.1 KiB
Modula-2
46 lines
2.1 KiB
Modula-2
module git.kirsle.net/apps/doodle
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
4d63.com/gochecknoglobals v0.0.0-20201008074935-acfc0b28355a // indirect
|
|
4d63.com/gochecknoinits v0.0.0-20200108094044-eb73b47b9fc4 // indirect
|
|
dmitri.shuralyov.com/go/generated v0.0.0-20170818220700-b1254a446363 // indirect
|
|
git.kirsle.net/go/audio v0.0.0-20200429055451-ae3b0695ba6f
|
|
git.kirsle.net/go/log v0.0.0-20200902035305-70ac2848949b
|
|
git.kirsle.net/go/render v0.0.0-20200710023247-e5f4c3a16860
|
|
git.kirsle.net/go/ui v0.0.0-20200710023146-e2a561fbd04c
|
|
github.com/alecthomas/gocyclo v0.0.0-20150208221726-aa8f8b160214 // indirect
|
|
github.com/alexkohler/nakedret v1.0.0 // indirect
|
|
github.com/client9/misspell v0.3.4 // indirect
|
|
github.com/google/uuid v1.1.2
|
|
github.com/gordonklaus/ineffassign v0.0.0-20201107091007-3b93a8888063 // indirect
|
|
github.com/jgautheron/goconst v0.0.0-20201108215931-f8e4fe8351cd // indirect
|
|
github.com/kirsle/configdir v0.0.0-20170128060238-e45d2f54772f
|
|
github.com/kisielk/errcheck v1.4.0 // indirect
|
|
github.com/mdempsky/maligned v0.0.0-20201101000000-d73c43cb16d0 // indirect
|
|
github.com/mdempsky/unconvert v0.0.0-20200228143138-95ecdbfc0b5f // indirect
|
|
github.com/mibk/dupl v1.0.0 // indirect
|
|
github.com/opennota/check v0.0.0-20180911053232-0c771f5545ff // indirect
|
|
github.com/robertkrimen/otto v0.0.0-20200922221731-ef014fd054ac
|
|
github.com/stripe/safesql v0.2.0 // indirect
|
|
github.com/tomnomnom/xtermcolor v0.0.0-20160428124646-b78803f00a7e // indirect
|
|
github.com/tsenart/deadcode v0.0.0-20160724212837-210d2dc333e9 // indirect
|
|
github.com/urfave/cli v1.22.5
|
|
github.com/urfave/cli/v2 v2.3.0
|
|
github.com/veandco/go-sdl2 v0.4.4
|
|
github.com/vmihailenco/msgpack v3.3.3+incompatible
|
|
github.com/walle/lll v1.0.1 // indirect
|
|
golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9 // indirect
|
|
golang.org/x/image v0.0.0-20200927104501-e162460cd6b5
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
gopkg.in/sourcemap.v1 v1.0.5 // indirect
|
|
honnef.co/go/tools v0.0.1-2020.1.6 // indirect
|
|
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect
|
|
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect
|
|
mvdan.cc/unparam v0.0.0-20200501210554-b37ab49443f7 // indirect
|
|
)
|
|
|
|
|
|
|