From: Paul Smith Date: 2009-12-03T00:19:31+09:00 Subject: Re: Graphics mode On Wed, Dec 2, 2009 at 3:16 PM, Teodor Carstea wrote: > Hi all! I'm a beginner. > > I need to include graphics mode in my program, I dunno how. I can do it > in C++, but I can't in Ruby. > Example: a ball falls down. Da program calculates it's coordinates and > it works. But I wanna see it. For now I can see just an array of (x,y) > values. Help me to make a graphic view using theese coordinates. In C++ > I know I need just to initialize graphics mode. But I'm really green how > to do it in Ruby. Initialize graphics mode? C++ doesn't have a way to "initialize graphics mode", but some library, provided by the system or a 3rd party will do so. Unsurprisingly, you need a library to do the same in Ruby. What library are you using when you do this in C++? You could use a similar library in Ruby - Rubygame? Ruby/SDL? > > > > Help! > -- > Posted via http://www.ruby-forum.com/. > > -- Paul Smith http://www.nomadicfun.co.uk paul@pollyandpaul.co.uk