All Projects → Vladar4 → Sdl2_nim

Vladar4 / Sdl2_nim

Licence: other
Wrapper of the SDL 2 library for the Nim language.

Programming Languages

nim
578 projects

Projects that are alternatives of or similar to Sdl2 nim

Sandal2
SDL2 wrapper in C
Stars: ✭ 17 (-84.26%)
Mutual labels:  wrapper, sdl2
sdlpp
C++ wrapper for SDL2
Stars: ✭ 37 (-65.74%)
Mutual labels:  wrapper, sdl2
Discord.jl
The Julia Discord API Wrapper
Stars: ✭ 93 (-13.89%)
Mutual labels:  wrapper
Quickjspp
QuickJS C++ wrapper
Stars: ✭ 105 (-2.78%)
Mutual labels:  wrapper
Openrct2
An open source re-implementation of RollerCoaster Tycoon 2 🎢
Stars: ✭ 10,115 (+9265.74%)
Mutual labels:  sdl2
Engge
Open source remake of Thimbleweed Park's engine
Stars: ✭ 94 (-12.96%)
Mutual labels:  sdl2
Pynlp
A pythonic wrapper for Stanford CoreNLP.
Stars: ✭ 103 (-4.63%)
Mutual labels:  wrapper
Winapi Wrapper
Windows API wrapper class for simulating mouse movement, clicking, and more.
Stars: ✭ 92 (-14.81%)
Mutual labels:  wrapper
Scrcpy
Display and control your Android device
Stars: ✭ 58,880 (+54418.52%)
Mutual labels:  sdl2
Pokebase
Python 3 wrapper for Pokéapi v2
Stars: ✭ 99 (-8.33%)
Mutual labels:  wrapper
Faker Cli
cli wrapper for fakerjs
Stars: ✭ 104 (-3.7%)
Mutual labels:  wrapper
Zebra database
A compact, lightweight and feature-rich PHP MySQLi database wrapper
Stars: ✭ 98 (-9.26%)
Mutual labels:  wrapper
Expressvpn Python
ExpressVPN - Python Wrapper (public IP auto fetch).
Stars: ✭ 94 (-12.96%)
Mutual labels:  wrapper
Coinbasepro Python
The unofficial Python client for the Coinbase Pro API
Stars: ✭ 1,386 (+1183.33%)
Mutual labels:  wrapper
Php Mediainfo
PHP wrapper around the mediainfo command
Stars: ✭ 93 (-13.89%)
Mutual labels:  wrapper
Zubr
Wrapper library to fix inconsistencies in PHP's core functions
Stars: ✭ 105 (-2.78%)
Mutual labels:  wrapper
Spotify Web Api Js
A client-side JS wrapper for the Spotify Web API
Stars: ✭ 1,313 (+1115.74%)
Mutual labels:  wrapper
Binance.api.csharp.client
C#.NET client for Binance Exchange API.
Stars: ✭ 98 (-9.26%)
Mutual labels:  wrapper
Binancedotnet
Official C# Wrapper for the Binance exchange API, with REST and WebSocket endpoints
Stars: ✭ 102 (-5.56%)
Mutual labels:  wrapper
Sdl2 Cmake Modules
Modern CMake modules for finding and using the SDL2 library as well as other related libraries: SDL2_image, SDL2_ttf, SDL2_net, SDL2_mixer and SDL2_gfx. (Targets: SDL2::Core, SDL2::Main, SDL2::Image, SDL2::TTF, SDL2::Net, SDL2::Mixer and SDL2::GFX). Mirror of https://gitlab.com/aminosbh/sdl2-cmake-modules
Stars: ✭ 108 (+0%)
Mutual labels:  sdl2

sdl2_nim 2.0.14.0

sdl2_nim is a wrapper of the SDL 2 library for the Nim language.

You need to have SDL 2 dynamic libraries installed on your system.

Includes:

  • SDL 2.0.14
  • SDL_gfx 1.0.1 (fully 1.0.4 compatible)
  • SDL_gpu 0.11.0
  • SDL_image 2.0.5
  • SDL_mixer 2.0.4
  • SDL_net 2.0.1
  • SDL_ttf 2.0.15
  • SMPEG 2.0.0

What is not implemented here:

  • OpenGL headers (use opengl lib instead)

Versioning scheme:

a.b.c.d

a.b.c - underlying SDL2 version
d     - sdl2_nim revision

FAQ:

Q: Why does this exist if there's an official nim-lang/sdl2 repository?

A: This wrapper actually was created before the official (Aug. 2013 vs. Mar. 2014). Maybe I wouldn't have made it if there already was a wrapper at the time.

Q: How is it different from the official wrapper?

A: Obviously, it can't be much different, as they both are wrappers for the same library, but what comes to mind:

  • This one is fully documented, nim-style, with the generated documentation as a bonus;
  • I personally created a series of highly commented examples for almost every aspect of the library and its "satelites" (gfx, ttf, etc.);
  • Design decisions that I thought made more sense than official one's (like Event type through {.union.} vs. evConv template with casting; naming sceme closer to the original sdl2, etc.);
  • Source files' structure is closely following the original library.

Q: Why should I use this one vs. the official?

A: No reason. It's a question of preference.

Q: Where could I find smpeg2.dll?

A: It is distributed within SDL2_mixer 2.0.1 and older builds.

CHANGELOG:

v2.0.14.0

  • updated to SDL-2.0.14 (see changelog)
  • updated documentation

v2.0.12.1

  • fixed rect templates
  • fixed nimble warnings

v2.0.12.0

  • updated to SDL-2.0.12 (see changelog)
  • updated documentation

v2.0.10.0

  • updated to SDL-2.0.10 (see changelog)
  • updated documentation

v2.0.9.2

  • updated x11 includes (sdl_syswm)
  • updated pragmas to a new style

v2.0.9.1

  • updated to SDL_ttf-2.0.15

v2.0.9.0

  • updated to SDL-2.0.9 (see changelog)
  • updated examples to Nim v0.19.0
  • minor bugfixes
  • updated documentation

v2.0.8.0

  • updated to SDL-2.0.8 (see changelog)
  • updated documentation

v2.0.7.1

  • added SMPEG 2.0.0
  • updated examples, added smpeg example
  • added some convenience templates
  • bugfixes and documentation updates

v2.0.7.0

  • updated to SDL-2.0.7, SDL_image-2.0.2, and SDL_mixer-2.0.2 (see changelog)
  • updated documentation

v2.0.6.1

  • events iterator and memory allocation procedures (by krux02)
  • tupleToColor converters
  • various bugfixes and documentation updates

v2.0.6.0

  • updated to SDL2-2.0.6 (introduced no breaking changes for 2.0.5, see changelog)
  • added SDL_GPU 0.11.0 (kudos to Serenitor)
  • minor bugfixes and documentation updates

v2.0.5.0

  • changed versioning system to reflect the underlying SDL2 version
  • fixed uint8 emum bug
  • fixed pixels.nim templates
  • fixed windows threads
  • various minor improvements
  • documentation enhancement

v0.96 beta

  • added sdl_syswm.nim
  • updated SDL2_ttf to v2.0.14
  • added more SDL2 examples
  • Nim 0.14.0 adaptation
  • updated to SDL2-2.0.5

v0.95 beta

  • Nim 0.12.0 adaptation
  • updated to SDL2-2.0.4
  • added SDL2-gfx
  • type-related fixes
  • different fixes
  • documentation fixes and formatting
  • added html documentation
  • added SDL2 examples

v0.9 alpha

  • added SDL2-mixer
  • different fixes

v0.8 alpha

  • added haptic.nim
  • added SDL2-image
  • different fixes

v0.7 alpha

  • added SDL2-net
  • added event convertion templates
  • different fixes
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].