Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Gosu Exchange / Something went terribly wrong...
- - By lol_o2 Date 2015-12-24 15:32
I think that problems with Window.record and OpenGL operations were reported already, but I though I'd share this anyways.
I made a concept map for my game in some mind-mapping program on a mobile phone. Then I wanted to move the map to my PC, so I had to import the XML and draw the map.
Nodes in map are connected with lines. Map itself was too big too draw it each time, so I used Window.record from the beginning and then this happened...

Texts should be connected with lines, but for some reason Gosu though it would be fun to make a 3D art instead. The center of it is at (0, 0).
Here's how it looks on the borders:

And the whole thing:

As a bonus: (no, I didn't use colors at all, it just happened)
Parent - - By Dahrkael Date 2015-12-26 23:51
looks like its drawing the lines as quads and all of them have the same origin, weird and cool looking!
Parent - - By jlnr (dev) Date 2015-12-29 09:59
It is quite possible that this is what is happening here! record() is built for quads and I don't think Gosu already translates draw_line into a quad when it should. Same for draw_triangle. I feel bad that you folks keep running into the rough edges of Gosu :?

Using draw_quad to draw lines should fix the issue!
Parent - By lol_o2 Date 2015-12-29 10:42
I posted it here, because it looks cool XD
I already found a workaround by stretching 1-pixel images into lines.
Parent - By ericathegreat Date 2015-12-30 03:35
That does look quite cool. Are you sure that's not what you meant to do all along? ;)
Up Topic Gosu / Gosu Exchange / Something went terribly wrong...

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill