Questions tagged [ruby2d]

Ruby2D is a community-developed, cross-platform 2D application library for Ruby.

The ruby gem Ruby2D provides a library for the development of cross-platform 2D applications for ruby. Ruby2D is a community-developed open-source project. You can contribute code here.

To be able to use Ruby2D, your ruby environment must be able to build native extensions.

For Windows and MacOS you can install Ruby2D directly without dependencies with:

gem install ruby2d

For Linux, you will have to install additional dependencies, which can be found here.

18 questions
0
votes
1 answer

Ruby interpretor crashes on :key_down

i'm new to ruby and programming in general and i'm using a gem called ruby2D. Im trying to get a cube to jump, but when i press my jump key, my interpretor just crashes without any saying any errors I've had problems actually identifying the…
-1
votes
1 answer

Collision Detection Ruby2d

I have posted a question similar to this and still have no clue on what steps forward I should take. I am trying to make the computer detect if the square touches the circle. I have seen some code that could probably work but am not able to…
import_hill
  • 101
  • 3
-2
votes
1 answer

Nixos can't install ruby2d gem

output shell.nix When i execute gem install ruby2d in my nix-shell it can't, because nix has no fhs. Can u help me?
dibusure
  • 31
  • 1
  • 3
1
2