GithubHelp home page GithubHelp logo

steveklabnik / sdl2test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xyproto/sdl2-examples

0.0 3.0 0.0 738 KB

Small samples to get started with SDL2 for various programming languages

License: MIT License

C++ 21.79% C 10.81% Shell 1.49% Pascal 10.79% Go 24.34% Ruby 6.71% Nim 6.92% Python 7.43% Rust 9.74%

sdl2test's Introduction

sdl2test

Build Status

"hello world" for SDL2 for various programming languages.

Each sample creates a window and displays a picture, then waits two seconds and quits.

Requirements

  • The SDL 2 library

Requirements for the various languages

  • C compiler that supports C99 for the C sample
  • A C++ compiler for the C++ sample
  • GCC 4.8 or later for the C++11 sample
  • Go 1.1 or later and the sdl2 go package (go get github.com/veandco/go-sdl2/sdl)
  • MRuby with SDL2 added to the configuration file
  • Nimrod 0.9.4 and sdl2 installed with babel
  • Python 2 or 3 and PySDL2
  • FPC 2.6.4 (or later than 2.4.0, must have Uint8, Uint16 and Uint32)
  • Rust 0.12.0 or later and rust-sdl2 (from github.com/AngryLawyer/rust-sdl2)

Additional information

  • MIT licensed
  • Alexander Rødseth, 2014
  • Pull requests are welcome

sdl2test's People

Contributors

xyproto avatar steveklabnik avatar

Watchers

 avatar James Cloos avatar  avatar

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.