Search found 5 matches

by babulous
Wed Nov 06, 2019 12:49 pm
Forum: Libraries and Tools
Topic: TimelineEvents | A Coroutine-Based Event System
Replies: 11
Views: 2836

Re: TimelineEvents | A Coroutine-Based Event System

The example seems complex, could be simplified i guess with more explanation? I edited the example to include some comments for clarification. I've just run into one. I'm writing a very straightforward input function that lets you enter characters and delete them. In your example, you create a bran...
by babulous
Mon Nov 04, 2019 11:02 pm
Forum: Libraries and Tools
Topic: TimelineEvents | A Coroutine-Based Event System
Replies: 11
Views: 2836

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 babulous
Mon Nov 04, 2019 3:20 pm
Forum: Libraries and Tools
Topic: TimelineEvents | A Coroutine-Based Event System
Replies: 11
Views: 2836

Re: TimelineEvents | A Coroutine-Based Event System

I have some criticisms though. First. I find the naming scheme confusing. O and G are not descriptive. The prefix "Poll" does not make it clear whether it blocks or not, and I'm not sure but there may not be a blocking and a non-blocking variant of e.g. PollKeyPress. I agree, honestly I'm regrettin...
by babulous
Sun Nov 03, 2019 8:28 pm
Forum: Libraries and Tools
Topic: TimelineEvents | A Coroutine-Based Event System
Replies: 11
Views: 2836

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 sam...
by babulous
Sun Nov 03, 2019 6:06 pm
Forum: Libraries and Tools
Topic: TimelineEvents | A Coroutine-Based Event System
Replies: 11
Views: 2836

TimelineEvents | A Coroutine-Based Event System

Hello! I'm new here, but I've been playing with LOVE for a few years now. I wanted to share the product of an experiment I've been playing with lately, it's called TimelineEvents. You can see the readme on github for examples, I'll just talk a little here. The general idea is to allow the programmer...