Search found 10 matches

by beforan
Fri Sep 18, 2015 2:40 pm
Forum: Libraries and Tools
Topic: [Library] st8.lua
Replies: 16
Views: 7995

Re: [Library] st8.lua

I know all of this is confusing, and I am procrastinating cleaning up the code as well as the documentation in this respect. Haha, no worries. After enough poking the source I did see that the "lower" state in the stack has no callbacks that receive the arguments from push() and pop(), so...
by beforan
Fri Sep 18, 2015 9:59 am
Forum: Libraries and Tools
Topic: [Library] st8.lua
Replies: 16
Views: 7995

Re: [Library] st8.lua

Another question for you: you can pass arbitrary arguments to each function, but it's not always clear which function in the following picks up these arguments. I've attached a .love which demonstrates the following information: st8.pause() * triggers state:pause() for all States in the Stack you're...
by beforan
Fri Sep 18, 2015 8:31 am
Forum: Libraries and Tools
Topic: [Library] st8.lua
Replies: 16
Views: 7995

Re: [Library] st8.lua

I did wonder about using the returns, but due to drawing bottom up, you can't say "i've already drawn the focused window, draw yourself as unfocused" because it goes in the wrong order; the focused window is drawn last, but has no way of knowing it's the last thing to be drawn. Then it occ...
by beforan
Thu Sep 17, 2015 2:28 pm
Forum: Libraries and Tools
Topic: [Library] st8.lua
Replies: 16
Views: 7995

Re: [Library] st8.lua

I've been playing with St8 a bit this afternoon and I like it a lot, really lightweight and straightforward, but does what it needs to :) I was trying to get a way to determine if a state is the topmost state in the active stack, so the not topmost ones can draw themselves differently, potentially. ...
by beforan
Thu Sep 17, 2015 2:18 pm
Forum: Support and Development
Topic: How to setup ZeroBraneStudio for debug?
Replies: 1
Views: 1751

Re: How to setup ZeroBraneStudio for debug?

Not sure if you're still having trouble with this; I stumbled across your post while searching for another thread ;) ZeroBrane's website does have instructions on setting it up for debugging with various interpreters. For LÖVE you need to add a parameter for arguments to love.load() and then include...
by beforan
Mon Feb 24, 2014 8:25 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1804
Views: 1722711

Re: What's everyone working on? (tigsource inspired)

it's not super tweaked for balance (the timer vs map sizes etc...) yet but you can get it here: http://randomnation.co.uk/games/doge_vs_doge/doge_vs_doge.love or packaged with love for windows: 64-bit: http://randomnation.co.uk/games/doge_vs_doge/doge_vs_doge_x64.zip 32-bit: http://randomnation.co.u...
by beforan
Mon Feb 24, 2014 10:37 am
Forum: Support and Development
Topic: Share a Shader!
Replies: 328
Views: 619456

Re: Share a Shader!

this is pretty simple stuff, and sorry if it's duplicated but I couldn't find one from cursory searching: a colour cycling shader! pixel code: extern number time; number t; vec4 effect(vec4 color, Image tex, vec2 tc, vec2 pc) { t = time * 1.5; //may want to vary this for cycle speed? color = Texel(t...
by beforan
Mon Feb 24, 2014 1:17 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1804
Views: 1722711

Re: What's everyone working on? (tigsource inspired)

whew, I just submitted a game for MiniLD #49! Made in LÖVE of course, and making extensive use of wonderful libraries (HUMP, Bump, Quickie...) so I don't have to reinvent the wheel! I am pretty proud of it's procedural map generator though, which is all me (though probably horribly inefficient, but ...
by beforan
Sat Jan 25, 2014 1:35 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 915
Views: 838099

Re: Simple Tiled Implementation - STI v0.6.9

Hey I'm playing with STI and it seems really nice and straightforward to get drawing going, so thanks for that :D I'm experimenting with using an Object Layer for collision. That way I can draw out impassable areas using Tiled's shapes, allowing for impassable edges (1 dimensional rectangle) or arbi...
by beforan
Sat Dec 15, 2012 1:19 pm
Forum: Libraries and Tools
Topic: Quickie [was: Immediate Mode Gui]
Replies: 70
Views: 57786

Re: Quickie [was: Immediate Mode Gui]

with the previous version, the issue I mentionned above could be easily fixed, using gui.core.disableKeyFocus().
I know this was some months ago now, but I've been using quickie this morning, and have discovered the equivalent in the latest version is gui.keyboard.disable() :)