Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Gosu Showcase / Some Gosu related work
- - By bestguigui Date 2015-07-04 08:59
Hi All !

I played a little with Gosu / astar / Ruby-OpenGL lately. Here's some results :

For now everything runs fine. I had to downgrade Gosu to version 0.7.5 because of the mouse handling problem :(

Also, I used Gosu to program a professional software and everything works just fine ! It uses the clipboard value to generate a carrier label, I used Gosu to create a quick graphical interface. It's opened 24/24 hours and never crashes. We save something like 14 hours per day because we don't have to create those labels manually. ;)
Parent - - By jlnr (dev) Date 2015-07-04 10:41
Awesome visual style! I love the "SNES mode 7" look.

Sorry to hear about the mouse trouble. SDL 2.0.4 RC 2 has been released a couple of weeks ago, I hope the stable version will be released ASAP to fix these issues.

And congrats on saving 14 hours a day, you can re-invest this time into more programming ;P
Parent - - By bestguigui Date 2015-07-04 10:49
Glad you like it :)
I'm not sure about what to do with all that, I'm taking so much fun from doing things like that and then going to something else ! :)

With the 3D model test, I don't have any problem using Gosu even if the character is made of more than 600 triangles so it's a good thing ! Even if I don't use vertex arrays because of the poor Ruby OpenGL implementation. It keeps running at 60 FPS on my poor computer.

I'm sure the mouse issue will be fixed soon, I can wait :)

And BTW, I converted another french guy to Gosu :
Parent - - By jlnr (dev) Date 2015-07-05 10:03
Yay, another user!

If you ever feel the need to finish something, there are enough game dev competitions around to present you with a hard deadline ;)
Parent - - By bestguigui Date 2015-07-05 17:31
Yes, I think it would be a good idea to try that out !

Anyway, I created something else today :

I needed a way to create simple 3D models faster, with the same shapes as Breath of Fire III. There is a link to the demo / source code as well.
Parent - - By jlnr (dev) Date 2015-07-06 10:00
Pretty amazing how small the actual tiles are, and how big they feel in the 3D world :)
Parent - By bestguigui Date 2015-07-06 19:29
Maybe this is because I'm using the units 1=1 pixel, so you're kinda inside the eyes of your sprite !
Parent - - By lol_o2 Date 2015-07-10 20:14
I somehow can't run it from source :(
I get this error: editeur_carte.rb:99:in effacer_fenetre': uninitialized constant Fenetre::GL_DEPTH_TEST (NameError)
When I use "include GL", I get: camera.rb:68:in
regarder': undefined method `gluPerspective' for #<Camera:0x2cef740> (NoMethodError)
I should include Glu or something, but I can't :( Do I need some specific OpenGL gem?
Parent - - By bestguigui Date 2015-07-10 20:46
Try to use the --pre  version of ruby opengl, it is the one I use and I dont have to include anything ;-)
Parent - - By lol_o2 Date 2015-07-10 21:11
It doesn't work :(
I try: gem install opengl --pre
It doesn't even seem to do anything. My version of opengl is 0.9.2
Parent - - By bestguigui Date 2015-07-11 06:39
My version is 0.8.0.pre1, and my Gosu version is 0.7.50. I'm using an old Gosu one because of the mouse tracking problem, but for this program, the new version should work because I'm only reading the coordinates, never set them.

I'm using Windows Seven. Hope it can help you.

Parent - - By lol_o2 Date 2015-07-11 07:55
0.8.0.pre1 is 3 years old and I can't seem to install it. Anyways, thanks for help.
Parent - - By bestguigui Date 2015-07-11 08:16
I forgot to mention that I'm using Ruby 1.9.3. Maybe this is the main difference ?
Parent - By bestguigui Date 2015-07-11 10:20 Edited 2015-07-11 11:54

Things are getting better :
- I handled to optimize even the half cube shapes, so now only the needed faces are drawn. There are still a couple of situations where it's not ok... I have to figure that out.
- I faked some light using colors

Demo / source code :
Parent - - By jlnr (dev) Date 2015-07-11 12:43
It seems glu was moved out of the opengl gem and now lives inside the glu gem instead:
Parent - By bestguigui Date 2015-07-11 13:34 Edited 2015-07-11 18:17
It would be good to know if that solves this issue. The fact that the gem I use is old doesn't bother me at all but it's better that anyone could run the sources as well.

Anyway, I'm still working on this :

It's now possible to save / load the map, which is quite useful :) I added too the possibility to place billboarded sprites.

I updated both the source and executable :
Parent - - By lol_o2 Date 2015-07-12 15:14
Thanks! That was the case, I didn't know they were separated. I installed glu and then added require glu ; include Glu and it works.
Parent - - By bestguigui Date 2015-07-19 09:37
I tried to update everything, but I can't make glu work on Ruby 2.2. It keeps saying "cannot load glu/glu". Did you have this issue ?
Parent - By lol_o2 Date 2015-07-19 21:01
I'm using mostly 2.1.5, where glu works as it should.
I couldn't run glu on 2.2 (checked now), but when you look in gem files, there's no compiled .so file for 2.2
Up Topic Gosu / Gosu Showcase / Some Gosu related work

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill