Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 26th, 2006, 10:49 PM   #11
Master
Programmer
 
Master's Avatar
 
Join Date: Sep 2005
Location: GA
Posts: 99
Rep Power: 3 Master is on a distinguished road
when you get RUDL click on the install-on-window. then select y to allow installation. then select 1 so that it will copy all the neccesary files for rudl to work. ".so" files are library extension used for ruby.
Master is offline   Reply With Quote
Old Mar 27th, 2006, 1:54 AM   #12
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
This is the error message I get when I try to run one of the samples:
Quote:
Executing 'ruby -C "C:/ruby/RUDL/samples" "bounce.rbw"'
(eval):114: undefined method `print_centered' for class `RUDL:Font' (NameError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'
from bounce.rbw:3
Execution completed with exit code 1.
I get a similar error message with all the sample codes. Any idea what is missing?
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote
Old Mar 27th, 2006, 9:05 AM   #13
Master
Programmer
 
Master's Avatar
 
Join Date: Sep 2005
Location: GA
Posts: 99
Rep Power: 3 Master is on a distinguished road
edit the code in them and use
require__ "RUDL"

rather than
require "RUDL"
Master is offline   Reply With Quote
Old Mar 27th, 2006, 7:21 PM   #14
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Smile

Must have shocked it into compliance!
I got it to work without the underlines!

Thanks anyway!

Actually I did your procedure several times:
Quote:
when you get RUDL click on the install-on-window. then select y to allow installation. then select 1 so that it will copy all the neccesary files for rudl to work. ".so" files are library extension used for ruby.
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote
Old Mar 30th, 2006, 1:55 PM   #15
Master
Programmer
 
Master's Avatar
 
Join Date: Sep 2005
Location: GA
Posts: 99
Rep Power: 3 Master is on a distinguished road
So how is the game library, is it of any good. if you want screenshot of what i have done with it, i can post it
Master is offline   Reply With Quote
Old Mar 31st, 2006, 10:10 AM   #16
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Smile

The examples are pretty interesting. I have to get my basic Ruby knowledge going before I can make sense of all of the code.

If you have a good game with good comments, please post it!
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote
Old Mar 31st, 2006, 1:10 PM   #17
Master
Programmer
 
Master's Avatar
 
Join Date: Sep 2005
Location: GA
Posts: 99
Rep Power: 3 Master is on a distinguished road
i have some game but most are not completed. but I did not comment any of them because i could not find the reason to do so until i finish making everything. If you want me to post my checker game i can post it. but it lack comments.
Master is offline   Reply With Quote
Old Apr 1st, 2006, 10:09 AM   #18
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Master,
please post your checker game, I can still get a lot of good learning information from it. If I have questions, I will ask here.
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote
Old Apr 1st, 2006, 11:24 AM   #19
Master
Programmer
 
Master's Avatar
 
Join Date: Sep 2005
Location: GA
Posts: 99
Rep Power: 3 Master is on a distinguished road
The checkers has some bugs in it that i have yet to fix, but ignore that and use it as a learning tool and could even fix the bug yourself too

You can download the file from here

http://s39.yousendit.com/d.aspx?id=3...L0D8E30SU4ICTS
Master is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:44 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC