Search found 18 matches

by Bunnybacon
Wed Jun 05, 2019 10:22 am
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 41
Views: 29000

Re: Slab - An Immediate Mode GUI Library In Lua

Hey! Really excited about this lib! Any easy way to know whether a click is inside or outside the UI layer? Thanks! Yes, this is something I want to add real soon. I managed to hack this with local Region = require(SLAB_PATH .. '.Internal.UI.Region') and then checking for #Region.GetHotInstanceId()...
by Bunnybacon
Mon Jun 03, 2019 8:43 pm
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 41
Views: 29000

Re: Slab - An Immediate Mode GUI Library In Lua

Hey!

Really excited about this lib!

Any easy way to know whether a click is inside or outside the UI layer?

Thanks!
by Bunnybacon
Sat Feb 24, 2018 6:40 pm
Forum: Games and Creations
Topic: BYTEPATH
Replies: 3
Views: 1484

Re: BYTEPATH

Wow man, this game looks great! The music sounds awesome!
by Bunnybacon
Fri Jan 05, 2018 9:53 pm
Forum: Libraries and Tools
Topic: Spectra - Color Manager for LOVE2D
Replies: 3
Views: 1394

Re: Spectra - Color Manager for LOVE2D

Wow, that's really cool! can't wait to try it out in my own project! Thanks!
by Bunnybacon
Sun Sep 03, 2017 5:30 pm
Forum: General
Topic: Complete Noob - Drawing text in layers
Replies: 22
Views: 3655

Re: Complete Noob - Drawing text in layers

love clears the main canvas on every draw call. I don't know how to disable this, but you can circumvent it by making a new canvas, like this: local file = assert(io.open("text.txt")) local canvas = love.graphics.newCanvas(300,300) for x=1,2 ,1 do local line = file:read() canvas:renderTo(function() ...
by Bunnybacon
Sun Sep 03, 2017 12:17 pm
Forum: General
Topic: play and write with mobile
Replies: 3
Views: 960

Re: play and write with mobile

Hey 2dmk. You can 'build' a game to either Android or iOS. You can read about how to do it here:

https://love2d.org/wiki/Game_Distribution

Feel free to ask if you have any questions.
by Bunnybacon
Thu Aug 31, 2017 8:38 am
Forum: Libraries and Tools
Topic: I built this so for sublime text 3 in windows
Replies: 16
Views: 3465

Re: I built this so for sublime text 3 in windows

Very cool! I have been struggling to get my console to work when launching through sublime. Will check it out when I get home!
by Bunnybacon
Tue Aug 08, 2017 3:14 pm
Forum: Libraries and Tools
Topic: Love2D Game Library (1.1 Is Here)
Replies: 10
Views: 6319

Re: Love2D Game Library

This is a really cool little project :)
by Bunnybacon
Wed May 31, 2017 8:18 pm
Forum: General
Topic: Drawing UI Bits: composition or direct paint?
Replies: 7
Views: 2051

Re: Drawing UI Bits: composition or direct paint?

I am working on a ui system that utilizes the first method. Something like: myUiElement = uiElement.new(0, 0, 100, 100,255) UiElement:draw = function() love.graphics.setColor(255, 255, 255, self.o) love.graphics.rectangle("fill", self.x, self.y, self.w, self.h) end function drawUI() for i = 1, #uiEl...