All Projects â†’ nsauzede â†’ sdl2test

nsauzede / sdl2test

Licence: MIT license
🎬 Testing SDL2 with V, Rust, C/++ : Nuklear, ImGui, TTF, 2D/3D, joystick, sounds, music, ...

Programming Languages

V
68 projects
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
rust
11053 projects
Makefile
30231 projects
GLSL
2045 projects

Projects that are alternatives of or similar to sdl2test

guisan
A C++ SDL2 user interface library based on guichan. ~~~~ Nov, 2021 - This project is not abandoned, just not under active development. Pull requests will be accepted and new releases will be generated for new features / bug fixes.
Stars: ✭ 54 (+217.65%)
Mutual labels:  sdl2
FoundryVTT-Sequencer
This module implements a basic pipeline that can be used for managing the flow of a set of functions, effects, sounds, and macros.
Stars: ✭ 25 (+47.06%)
Mutual labels:  sounds
sdl2-image
Haskell bindings to SDL2_image.
Stars: ✭ 16 (-5.88%)
Mutual labels:  sdl2
sdl12-compat
An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.
Stars: ✭ 99 (+482.35%)
Mutual labels:  sdl2
OCamlSDL2
OCaml interface to SDL 2.0 (for Linux, Windows, MacOS, and ChromeBook)
Stars: ✭ 42 (+147.06%)
Mutual labels:  sdl2
sdlpp
C++ wrapper for SDL2
Stars: ✭ 37 (+117.65%)
Mutual labels:  sdl2
C-Programming-Guide
A guide for C Programming from the perspective of a Pulchowk student (IOE).
Stars: ✭ 26 (+52.94%)
Mutual labels:  sdl2
payton
Payton! Kickstart any 3D OpenGL + GTK Ideas in a few seconds!
Stars: ✭ 45 (+164.71%)
Mutual labels:  sdl2
combatris
A "perfect" implementation of an old classic
Stars: ✭ 20 (+17.65%)
Mutual labels:  sdl2
ArchGE
A 2D and 3D C++ Game Engine using SDL2 and OpenGL
Stars: ✭ 15 (-11.76%)
Mutual labels:  sdl2
tnt
A 2d Game Engine written in C++20.
Stars: ✭ 30 (+76.47%)
Mutual labels:  sdl2
SDL
Swift library for SDL2
Stars: ✭ 32 (+88.24%)
Mutual labels:  sdl2
ruby-imgui
Yet another ImGui wrapper for Ruby
Stars: ✭ 42 (+147.06%)
Mutual labels:  sdl2
rust to js
An example of Rust code that compiles to javascript.
Stars: ✭ 26 (+52.94%)
Mutual labels:  sdl2
DeccanEngine
💠 Deccan Engine is an Open-Source Cross-Platform 2D Game Engine written in C11. Powered by SDL2.
Stars: ✭ 30 (+76.47%)
Mutual labels:  sdl2
surface splatting
OpenGL demo of a point rendering and texture filtering technique called Surface Splatting.
Stars: ✭ 125 (+635.29%)
Mutual labels:  sdl2
SimpleRemoteDesktop
Remote desktop client based on h264 steam. like splashtop and other
Stars: ✭ 17 (+0%)
Mutual labels:  sdl2
Presence-Footsteps
An overly complicated footstep sound enhancement mod for Minecraft
Stars: ✭ 79 (+364.71%)
Mutual labels:  sounds
QtDemos
This is a demo about Qt5, including Qt Custom Widget, Qt Multithreaded Downloader, QML Video Player(using OpenGL, FFmpeg and SDL2)
Stars: ✭ 18 (+5.88%)
Mutual labels:  sdl2
ness-engine
NessEngine is a 2D rendering engine for games
Stars: ✭ 32 (+88.24%)
Mutual labels:  sdl2

sdl2test

Small examples of libSDL2 usage in V, C and C++ languages. Historically, the purpose was to evaluate the changes from SDL1 to SDL2.

Note that the V modules wrapping : SDL2, Imgui and Nuklear have been moved to their separate git repo, and are still used/demonstrated here as git sub-modules.

You can find their own repos here:


  • cratesan is a Sokoban clone, in Rust and V

  • tvintris_v.v is a dual-player (local) version, inspired by ancient game Twintris. It uses published vpm module nsauzede.vsdl2

  • tvintrisgl_v.v is a dual-player (local) version with OpenGL, inspired by ancient game Twintris. It uses published vpm module nsauzede.vsdl2 This OpenGL version still lacks TTF font for now, however

Credits

  • tetris_v.v is just and SDL2 port of original source from vlang/v example by Alex I wrote a simple SDL2 V wrapper, ported GLFW usage to SDL2, tweaked colors and added music & sounds

Colors, Music and Sounds ripped from amiga title Twintris (1990 nostalgia !)

  • Graphician : Svein Berge
  • Musician : Tor Bernhard Gausen (Walkman/Cryptoburners)

Dependencies

Ubuntu : $ sudo apt install libsdl2-ttf-dev libsdl2-mixer-dev libssl-dev And optionally for extra tests : $ sudo apt install libglfw3-dev libglm-dev libfreetype-dev

ClearLinux : (maybe miss libopenssl dev ?) $ sudo swupd bundle-add devpkg-SDL2_ttf devpkg-SDL2_mixer

Windows/MSYS2 : (maybe miss libopenssl dev ?) $ pacman -S mingw-w64-x86_64-SDL2_ttf mingw-w64-x86_64-SDL2_mixer

Misc

Makefile auto-detects available SDL version (2 or 1)

  • vsdl : naive V wrapper for SDL2 binding
  • CSDL : small C++ class to abstract SDL1/2
  • various C and V examples to
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].