- Created : 2022-05-22
- Last modified : 2022-10-10
Demonstration on how to use Ruby SDL2 bindings (https://github.com/vaiorabbit/sdl2-bindings)
- Prepare SDL, SDL_Image, SDL_Mixer
- Run scripts in third_party/SDL2/Scirpts
- Setup sdl2-bindings ($gem install sdl2-bindings)
- Edit main.rb to correct paths to dll/dylib seen in SDL.load_lib
- $ ruby main.rb
The zlib/libpng License ( http://opensource.org/licenses/Zlib ).
Whac-a-Mole! : Ruby SDL2 bindings demo
Copyright (c) 2022 vaiorabbit <http://twitter.com/vaiorabbit>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions: