Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Forum
Search
Topic undefined method 'draw_rect' By Mermaja Date 2017-12-04 08:31
Thank you very much for your comment, I am taking it into account in my project.

Regards,
Germán.
Topic undefined method 'draw_rect' By Mermaja Date 2017-11-23 09:12
Hello.

I am trying to change on my code several calls to draw_quad method  to use draw_rect, as I need only flat colored rectangles, but I get an undefined method error when replacing $window.draw_quad(...) by $window.draw_rect(...). $window is a Gosu::Window and the call to draw_quad worked without problems. Am I doing anything wrong?

I am running gosu-0.12.1-x64-mingw32 on ruby-2.4.2-p198 onWindows 10.

Thank you for your help.
Regards,
Germán Fabregat.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill