Search found 11 matches
- Thu Jun 16, 2016 4:24 am
- Forum: Libraries and Tools
- Topic: HUMP - yet another set of helpers
- Replies: 146
- Views: 129828
Re: HUMP - yet another set of helpers
I've come here for help with HUMP because I'm thoroughly confused as to what I'm doing wrong. Example code: Button = Class{} function Button:init(x, y, width, height) self.x = x self.y = y self.width = width self.height = height end function Button:clickedOn(self, x, y) if (x >= self.x) and (x <= se...