Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Packaging a ruby apllication
- By ickylevel Date 2010-04-12 12:50
So there is mainly Ocra and Ruby2exe. But Ruby2exe doesn't work with 1.9.

My problem with ocra is that, my firewall considers what the exe extract, as a new apllication every time , blocking it's execution.
Any tips to overcome this ? Also the launch time is so long compared with the non packaged version.
- By ickylevel Date 2010-04-12 14:16
Also , this has nothing to do with the thread, but I would like to request an "hardware accelerated" (I mean fast as the desktop cursor) mouse cursor independant from the game window.
- By AmIMeYet Date 2010-04-12 15:06
Well, Ruby[Script]2Exe (is there a difference with or without 'script'?) and Ocra both extract the executable.. the behaviour should be the same.

ickylevel:

> Also , this has nothing to do with the thread, but
> I would like to request an "hardware accelerated"
> (I mean fast as the desktop cursor) mouse cursor
> independant from the game window.


C'est ne pas possible
- By ickylevel Date 2010-04-12 19:04
Surprisingly the behaviour is not the same. With an older game  with ruby2exe my firewall don't get mad.

The cursor thing is a windows only thing or something ? Cause some other libraries have it. Anyway...
- By AmIMeYet Date 2010-04-12 19:57
Weirdddd

I think Gosu or OpenGL strips the mouse by default, to that we can customize it for our games. Hm.. Now I think about it, there might be some function somewhere in some library Gosu uses that re-enables the OS-mouse. Hmm, this could actually prove useful for applications made with Gosu.

Edit: maybe RubyScript2Exe keeps extracting to a folder with the same name, and while Ocra generates a random name
- By ickylevel Date 2010-04-12 20:26
Interesting...
- By jlnr (dev) Date 2010-04-13 02:14

> I think Gosu or OpenGL strips the mouse by default,


It's Gosu, and I have agreed to make it optional in a later version of Gosu ;)
- By ickylevel Date 2010-04-13 18:03
And would it be possible to set the cursor image by any way (by recompiling at worst) ?
- By jlnr (dev) Date 2010-04-18 11:35
I don't think so. The code to get an empty cursor on X11 looks fragile and scary enough to me as it is. Well-tested contributions are welcome though. ;)
Up Topic Gosu / Gosu Exchange / Packaging a ruby apllication

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill