Skip to main content

Questions tagged [ruby]

Ruby is an open-source dynamic OO interpreted language created by Yukihiro Matsumoto (Matz) in the 1990s that combines the good bits from Perl, Smalltalk and Lisp. It supports multiple programming paradigms. Ruby's primary purpose is to "help every programmer in the world to be productive, and to enjoy programming, and to be happy." - Matz. Ruby mindshare spiked in the next decade due to Ruby on Rails - a popular web application framework built on Ruby.

1 vote
0 answers
85 views

I'm working on a Ruby on Rails web-application and I want to create lobbies and send invitations to users to join these lobbies. Simply, I want to achieve ...
Sikandar Tariq's user avatar
1 vote
0 answers
57 views

My 2D game is tile-based, 16 pixels per tile. Colliders are defined by an array of points which determine a polygon. With debugging enabled (as it is in the photos) those colliders are outlined with ...
taylorthurlow's user avatar
1 vote
1 answer
179 views

I am beginner wanting to make a game, and chose to learn Ruby ,since it seems easier to read than most languages. Reading up on Ruby, I find that Ruby could be used to make small-scale games, but it'...
Zero's user avatar
  • 13
0 votes
1 answer
590 views

So i am remaking Window_Status for my game where i have the character battler displayed in the background. bellow is the portion of the script which adds the ...
Memor-X's user avatar
  • 119
9 votes
2 answers
5k views

I am getting started with game programming. I am designing a game that starts by taking you through a series of menu screens. I am interested in learning how this is typically structured in ...
Andrew's user avatar
  • 243
0 votes
1 answer
1k views

I'm making a simple pong game in ruby. I did the collision detection this way: ...
Mohammad's user avatar
  • 103
0 votes
1 answer
119 views

I have started making my first game( a pong game )with ruby (Gosu). I'm trying to detect the collision of two images using their location by comparing the location of the object (a ball) to another ...
Player's user avatar
  • 3
1 vote
1 answer
5k views

I've been trying to do this but I can only find Ruby answers. I'm trying to move or copy a file from, say, Game Directory/Graphics/Pictures/file.png to ...
Gus's user avatar
  • 131
0 votes
1 answer
187 views

I'm trying to make a script on RPG Maker XP that needs the width and height of an image to do some calculations. I tried @picture.bitmap.widthand ...
Gus's user avatar
  • 131
1 vote
2 answers
602 views

I am trying to get a Sprite in LibGDX to look at the player's mouse. Here's the code I have (mind you, I am using JRuby): ...
Evan Walsh's user avatar
5 votes
0 answers
324 views

I'm using JRuby with LibGDX and it's been going quite swimmingly, save for a crash I experience every time I try to use the controllers extension. Here's a basic rundown: I've required all the ...
Evan Walsh's user avatar
2 votes
2 answers
573 views

I'm working on 2d Isometric game in ruby and gosu, although my problem is probably universal. My map is saved in 2d array: @map_tiles[layer][y][x] = tile_id Each ...
ekharrtoll's user avatar
0 votes
2 answers
174 views

I am working on an Asteroids remake. When the player's bullets hit a large meteor, it should break apart into 2 smaller meteors. This works when the player is only firing one bullet, but when the ...
eagleDog's user avatar
5 votes
1 answer
711 views

I am trying to create a weapons upgrade for my Spaceship, using libGosu and Chingu (in Ruby). This question is about how to deal with this issue specifically in Ruby, and more specifically in libGosu. ...
eagleDog's user avatar
1 vote
1 answer
212 views

My ruby code is as follows ...
benbot's user avatar
  • 196

15 30 50 per page