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

It would probably massively improve the value of the examples if they had comments. I'd be interested in taking on some of this work and could create pull requests to...

enhancement

This was originally asked on [Stack Overflow](https://stackoverflow.com/q/73424458/5958455), but I later discovered that `Data1` and `Data2` are completely unusable. The code snippet is: ```go package main import ( "unsafe" "github.com/veandco/go-sdl2/sdl" )...

Go version: go version go1.21.5 linux/amd64 Go-SDL2 version: v0.4.36 SDL2 version: 2.26.5+dfsg-1 OS: debian Architecture: amd64 When attempting to compile any of the examples, I get the following error: ```...

Go version: 1.21.0 Go-SDL2 version: v0.4.35 SDL2 version: 2.0.20 OS: Windows 10 (19045.3324) -> Ubuntu 22.04.2 LTS through WSL2 Architecture: x86-64 (Ryzen 3700x CPU) When I installed the Go module,...

Hope to support WASI technology and use it as a cross-platform dynamic link library.

Go version: Go-SDL2 version: SDL2 version: OS: mac Architecture: m1 ```golang for running { sdl.WaitEvent() // DrawMultilineText(text, surface, popup) RenderText(text, surface) window.UpdateSurface() for event := sdl.PollEvent(); event != nil; event...

Go version: latest Go-SDL2 version: SDL2 version: OS: macOS Architecture: Apple Silicon

Go version: go1.20.3 freebsd/amd64 Go-SDL2 version: github.com/veandco/go-sdl2 v0.4.35 SDL2 version: on host: ``` $ pkg info sdl2 sdl2-2.26.5 Name : sdl2 Version : 2.26.5 Installed on : Tue Apr 18...

Go version: go1.20.6 Go-SDL2 version: 0.4.35 SDL2 version: N/A OS: Windows 11 Architecture: x64 When i run my go-sdl2 code i get the error:" github.com/veandco/go-sdl2/ttf: build constraints exclude all Go...

Hello. I had updated package by `go get`, so it had `v0.4.35`. There was no implementation of `SDL_SetTextureScaleMode`. I checked the several latest commits in `master` and found its implementation...