A Boy Who Wanted To Create Worlds Once there was a boy who fell in love with this magical device that could bring things to life inside a glaring screen. He spent endless hours exploring imaginary worlds, fighting strange creatures, shooting pixelated spaceships, racing boxy cars. The boy kept pondering. “How is this made? I want to create my own worlds…”. Then he discovered programming. “I can fi
Gosu is a 2D game development library for Ruby and C++. It’s available for macOS, Windows, Linux, and iOS. Gosu is focused, lightweight and has few dependencies (mostly SDL 2). It provides: a window and a main loop 2D graphics and text, powered by OpenGL or OpenGL ES sounds and music keyboard, mouse, and gamepad input Gosu is mostly used to teach or learn Ruby or in short game development competit
概要 gosu は Ruby or C++ で 2D ゲーム開発ができるライブラリです 今回は Ruby ライブラリを使って簡単なチュートリアルゲームを作成してみました 環境 macOS 10.14.6 Ruby 2.6.2p47 gosu 0.14.5 準備 brew install sdl2 bundle init vim Gemfile gem "gosu" bundle install --path vendor とりあえずウィンドウを表示する vim app.rb require 'gosu' class Tutorial < Gosu::Window def initialize super 640, 480 self.caption = "Tutorial Game" end def update end def draw end end Tutorial.new.show
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く