go-sdl2 icon indicating copy to clipboard operation
go-sdl2 copied to clipboard

SDL2 binding for Go

Results 85 go-sdl2 issues
Sort by recently updated
recently updated
newest added

Go version: 1.20.4 Go-SDL2 version: v0.4.35 SDL2 version: 2.0.20+dfsg-2build1 OS: Ubuntu 22.04 Architecture: 64 Bit I am trying to follow the [example on how to play audio](https://github.com/veandco/go-sdl2-examples/blob/master/examples/audio/audio.go), and the example...

Go version: go version go1.19.4 darwin/arm64 Go-SDL2 version: require github.com/veandco/go-sdl2 v0.4.34 SDL2 version: ?? OS: MacOS Architecture: arm64 Having trouble with cross-platform builds inside a Docker container on MacOS arm64...

Hey! I switched over to static compilation for windows today, and since then I've had some strange font issues (newlines being handled incorrectly for wrapped text), which I believe might...

System: MX Linux 21 SDL2 installed and files in /usr/include/SDL2 exists (see attached file with ls -R - zipped) Steps to reproduce in $HOME/go/src/esdeel directory: 0. go mod init 1....

Go version: 1.20. Go-SDL2 version: v0.4.34. SDL2 version: 2.26.5. OS: Windows 10. Architecture: Intel x86-64. I draw a simple rectangle using a white colour, and get the yellow colour. The...

Currently the Font struct seems to be missing anyway to call the C function TTF_FontFaceStyleName(), even though some similar functions like FaceFamilyName() do exist. Is there an alternate way to...

Hello! Just wanted to see if anybody knew anything about this particular issue - I'm the creator of a productivity and organization app known as [MasterPlan](https://github.com/SolarLune/masterplan). It's written with go-sdl2,...

main.go ``` package main import "github.com/veandco/go-sdl2/sdl" func main() { if err := sdl.Init(sdl.INIT_EVERYTHING); err != nil { panic(err) } defer sdl.Quit() window, err := sdl.CreateWindow("test", sdl.WINDOWPOS_UNDEFINED, sdl.WINDOWPOS_UNDEFINED, 200, 100, sdl.WINDOW_SHOWN)...

I'm using x86_64 Linux distributive. sdl.GetTicks64() always returns 0 while sdl.GetTicks() returns a correct value.

I got an error when I tried to compile the windows platform (Both compiling with cross-platform and compiling directly on windows gave me an error) macos to windows ![image](https://user-images.githubusercontent.com/61787040/196224893-adfe8ea6-6fb2-4175-ac5e-1c14f1c83381.png) windows...