gdamore / proxima5

Proxima 5 is a curses-style space shooter written in Go, using the Tcell package.
Apache License 2.0
105 stars 8 forks source link

Windows fail #26

Open techtonik opened 9 years ago

techtonik commented 9 years ago

I am still trying to find a demo that showcases how tcell works. go get ... worked to produce the proxima5 binary, but it fails on Windows with Failed to initialize game: Cannot find data (did you run rebuild.sh?). Is it possible to get rid of .sh scripts and make this step a part of get process?

techtonik commented 9 years ago

Missing commands:

go build mkassets.go spritedata.go leveldata.go properties.go
mkassets -type level l-level1.yml 
mkassets.exe -type sprite s-alien1.yml s-blastwave.yml s-bullet.yml s-cavern1.yml s-complete.yml s-exhaust.yml s-explosion.yml s-gameover.yml s-gantry.yml s-hfence.yml s-pad.yml s-press.yml s-ship.yml s-smexplosion.yml s-thrust.yml s-tinyexplosion.yml
go build .
gdamore commented 9 years ago

Yes, probably this should be done via go generate. I used bash on Windows to build this -- from the git installation actually. :-)

techtonik commented 9 years ago

I am using ssh on windoze through git installation, but using bash.. that's hackish! =)

gdamore commented 9 years ago

I'm not really a Windows developer. Windows got support for all this stuff mostly as a side effort. I really don't like the legacy cmd stuff.

I can do the go generate thing and commit the generated go files if that will help.

techtonik commented 9 years ago

If the commands above can be executed during standard go build process with go tools - that will be fine.

gdamore commented 9 years ago

You have to do go run... Because it cannot find things in . on non-Windows platforms.

Sent from my iPhone

On Nov 19, 2015, at 4:04 PM, anatoly techtonik notifications@github.com wrote:

If the commands above can be executed during standard go process with go tools - that will be fine.

— Reply to this email directly or view it on GitHub.