Search found 2717 matches

by zorg
Mon Nov 11, 2019 4:33 pm
Forum: Libraries and Tools
Topic: cam11 - Yet another camera library
Replies: 4
Views: 150

Re: cam11 - Yet another camera library

And funnily enough, corner is synonymous with ankle here... :awesome: One more question; i've been working on a pretty complex camera lib as well (based on both the Scroll Back talk/article on gamasutra, and the tech demo of the dev who made Insanely Twisted Shadow Planet ); i've already asked the ...
by zorg
Mon Nov 11, 2019 8:47 am
Forum: Libraries and Tools
Topic: cam11 - Yet another camera library
Replies: 4
Views: 150

Re: cam11 - Yet another camera library

Hi! Apart from this one tiny documentation bug i found: (should be corner or position instead, no?) viewport_x and viewport_y are the coordinates of the top left -->angle<-- of the viewport where the camera will be rendered, in screen coordinates. The default is 0 for both. This looks to be a neat l...
by zorg
Mon Nov 04, 2019 4:03 pm
Forum: Libraries and Tools
Topic: TimelineEvents | A Coroutine-Based Event System
Replies: 11
Views: 708

Re: TimelineEvents | A Coroutine-Based Event System

How would I check for a key *position* in love? love.keyboard.isScancodeDown Scancodes are the physical position-based keys, and KeyConstants are what you'd expect those positions to be on a US QWERTY keyboard. Another example for why it's important is that there are games that use the directional ...
by zorg
Sun Nov 03, 2019 7:03 pm
Forum: Libraries and Tools
Topic: TimelineEvents | A Coroutine-Based Event System
Replies: 11
Views: 708

Re: TimelineEvents | A Coroutine-Based Event System

Hey, cool library you got there! :3 I do have two observations i wanted to share: - E.PollMouseActivity() doesn't seem to return the x,y positions in any of the variants it could return them from; this isn't an issue if a love.mouse.getPosition call right after would be guaranteed to return the same...
by zorg
Sat Nov 02, 2019 9:05 pm
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 41
Views: 26258

Re: Slab - An Immediate Mode GUI Library In Lua

Sure, just saying that with my lib's main concern is trying to work around PhysFS limitations while still... promoting, i guess (for me lacking a better word for it) love.filesystem usage instead of anything else (with the one write issue mentioned earlier that i hope to fix in the coming weeks) so ...
by zorg
Sat Nov 02, 2019 10:45 am
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 41
Views: 26258

Re: Slab - An Immediate Mode GUI Library In Lua

... However, this method for file list retrieval should be a last resort when every other alternative is exhausted. As I see it, there are at least three alternatives, in order of preference: LoveFS: https://github.com/linux-man/lovefs is probably the best option. It includes Gspöt to offer a LÖVE ...
by zorg
Tue Oct 29, 2019 1:17 pm
Forum: Support and Development
Topic: Monochrome LCD shader?
Replies: 7
Views: 541

Re: Monochrome LCD shader?

There's a löve game on steam called Warlock's Tower that has this style; code's obfuscated though so no luck learning from it, however two things i can add to this conversation: - Combining the 2-bit/4-color shader with a shader that makes a pixel grid like that could work; not sure if that exists a...
by zorg
Sat Oct 26, 2019 9:19 am
Forum: Support and Development
Topic: Formatting a number [solved]
Replies: 3
Views: 369

Re: Formatting a number

Although, "counting the zeros" can be done many ways; if you'd plan on always converting to strings then doing some pattern matching, that's wasteful and slow; math has you covered though, you just need the 10-based logarithm of a number to know how many digits it has; after that, you could treat sm...
by zorg
Thu Oct 24, 2019 11:27 pm
Forum: Support and Development
Topic: attempt to index local 'game' (a nil value)
Replies: 4
Views: 501

Re: attempt to index local 'game' (a nil value)

Luke (and i too, albeit less directly) requested the part of the code that -calls- Brick:update, since only there are you passing in anything to the game variable that becomes nil; After looking at it, Brick.lua does not have anything in it that helps.
by zorg
Thu Oct 24, 2019 11:22 pm
Forum: Libraries and Tools
Topic: Google Analytics library (using Measurement protocol)
Replies: 4
Views: 492

Re: Google Analytics library (using Measurement protocol)

One thing, this page says that the uuid function should be type 4 according to the linked rfi: https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters "The value of this field should be a random UUID (version 4) as described in http://www.ietf.org/rfc/rfc4122.txt." https:...