/sdl2-bindings-whacamole

Whac-a-Mole! : Ruby SDL2 bindings demo

Primary LanguageRubyOtherNOASSERTION

Whac-a-Mole! : Ruby SDL2 bindings demo

  • Created : 2022-05-22
  • Last modified : 2022-10-10

Demonstration on how to use Ruby SDL2 bindings (https://github.com/vaiorabbit/sdl2-bindings)

  • Movie : Whac-a-Mole! : Ruby SDL2 bindings demo

Usage

  • 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

License

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: