Code Monkey home page Code Monkey logo

strife's People

Contributors

chyroc avatar felixangell avatar glaslos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

strife's Issues

setup some kind of c api shim

overhead on calling out to c is pretty slow.

the wrapper could be implemented in C and then wrapped in Go.

this means functions that are commonly found together than be grouped together.

this will be done probably after the audio api is polished.

i think the c shim should be abstracted enough that perhaps an alternative to SDL can be used?

only one c file needs to be used really since strife is a relatively light weight/minimal wrapper.

Installation dies requiring sdl2

sdl2 is not mentioned in the quick start. What should be installed for this prerequisite?

~ $ go get github.com/felixangell/strife
# pkg-config --cflags sdl2
Package sdl2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sdl2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl2' found
pkg-config: exit status 1

window.go SetupRenderWindow EnableDPI()

This call does not work on Windows 7. Commenting out the EnableDPI() call fixes the problem.

panic: Failed to load Shcore.dll: The specified module could not be found.

goroutine 1 [running, locked to thread]:
syscall.(*LazyProc).mustFind(0xc042209140)
        C:/Go/src/syscall/dll_windows.go:280 +0x5f
syscall.(*LazyProc).Call(0xc042209140, 0xc0422185d8, 0x1, 0x1, 0x4b6197, 0xc042188180, 0x80, 0x34)
        C:/Go/src/syscall/dll_windows.go:301 +0x36
github.com/felixangell/strife.EnableDPI()
        C:/Users/xx/go/src/github.com/felixangell/strife/dpi_windows.go:30 +0x110
github.com/felixangell/strife.SetupRenderWindow(0x500, 0x2d0, 0xc0422185c0, 0x10)
        C:/Users/xx/go/src/github.com/felixangell/strife/window.go:183 +0x133
main.main()
        C:/Users/xx/go/src/github.com/felixangell/phi/main.go:85 +0xee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.