Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Best way to incorporate buttons.
- - By h4y4shi Date 2012-02-20 01:34
I want some buttons in my game. What is the best way to incorporate them into the game. I cant find an example anywhere. Is this something that gosu can do?
Parent - By h4y4shi Date 2012-02-20 02:49
Okay I figured it out, in case anyone else needs help like me I will show you my source code. The button is the image of dirt. Use it as a template if you want

Here is a link to the source code
http://pastie.org/3417854 - main.rb
http://pastie.org/3417857 - tileclasses.rb
Up Topic Gosu / Gosu Exchange / Best way to incorporate buttons.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill