[Ironruby-core] Xna+IronRuby+RubyNewb=headache

Curt Hagenlocher curth at microsoft.com
Wed Nov 19 21:16:20 EST 2008


The change was only committed about three weeks ago.

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Orion Edwards
Sent: Wednesday, November 19, 2008 5:54 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Xna+IronRuby+RubyNewb=headache

Ah. I gave some bad advice re that one method then. Sorry :-(

Curt Hagenlocher wrote:

I'm not entirely sure I understand the problem, but "Initialize" is the one CLR method name that we don't mangle.  Is this a Ruby class that you've derived from an XNA type or just the XNA type directly?



-----Original Message-----

From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Gabriel Rotar

Sent: Wednesday, November 19, 2008 1:53 PM

To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>

Subject: Re: [Ironruby-core] Xna+IronRuby+RubyNewb=headache



Everything works great

Made a little c# loader app to hide all of the require and include

statements.

Orion Edwards wrote:



... and constructors are always def initialize, not def ClassName



There is a problem in the fact that Xna has a function that is called

every time the graphics device is lost(ex:alt+tab) and then returned

witch is called Initialize() this function is basically responsible for

initializing the main GraphisDevice object.

Is there a way to call this function?

--

Posted via http://www.ruby-forum.com/.

_______________________________________________

Ironruby-core mailing list

Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>

http://rubyforge.org/mailman/listinfo/ironruby-core



_______________________________________________

Ironruby-core mailing list

Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>

http://rubyforge.org/mailman/listinfo/ironruby-core



--
Orion Edwards
Web Application Developer

T: +64 7 859 2120
F: +64 7 859 2320
E: orion.edwards at open2view.com <mailto:orion.edwards at open2view.com>

Open2view.com
The Real Estate Website

[cid:image001.jpg at 01C94A72.EC4E9570]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081119/677b9686/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8147 bytes
Desc: image001.jpg
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081119/677b9686/attachment.jpg>


More information about the Ironruby-core mailing list