Search found 7 matches

by PerdeT
Sat Sep 17, 2022 4:56 pm
Forum: General
Topic: Coroutines are awesome
Replies: 26
Views: 12749

Re: Coroutines are awesome

Jasoco wrote: Thu Mar 22, 2012 4:03 am

Code: Select all

function love.update(dt)
    coroutine.yield(co)
end
btw, this should be

Code: Select all

function love.update(dt)
    coroutine.resume(co)
end
by PerdeT
Tue Aug 08, 2017 6:14 pm
Forum: Libraries and Tools
Topic: love-release - in Lua ! - makes LÖVE game release easier
Replies: 149
Views: 202076

Re: love-release - in Lua ! - makes LÖVE game release easier

Yeah, I eventually noticed that you have to use love-release 2.3.0 with lua 5.1 in order to get things to work. Or not actually work, but at least to proceed . And not only that, but also Ubuntu version 16.04! This was indeed noted earlier in this thread. On 14.04 I only got those weird issues like ...
by PerdeT
Wed Aug 02, 2017 12:05 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 733825

Re: Simple Tiled Implementation - STI v0.18.2.1

Heh, no problem! There surely was some panicking at first but as I carefully examined the functions I started to understand the API bit by bit. I couldn't have done my LD entry without something like STI, so thank you for that!
by PerdeT
Wed Aug 02, 2017 11:57 am
Forum: Libraries and Tools
Topic: love-release - in Lua ! - makes LÖVE game release easier
Replies: 149
Views: 202076

Re: love-release - in Lua ! - makes LÖVE game release easier

I installed love-release on the Ubuntu on Windows platform (shouldn't differ from a standalone ubuntu 14.04), but actually trying to run love-release gives this cluster of errors: me@HOMEPC:~/luarocks-2.4.1$ love-release /usr/bin/lua: /usr/local/share/lua/5.1/love-release/utils.lua:4: module 'luaroc...
by PerdeT
Tue Aug 01, 2017 6:51 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 733825

Re: Simple Tiled Implementation - STI v0.18.2.1

So LD39 is over and I've got finally time to reflect the struggles I had with understanding how STI handles its data structure two days ago. I've now figured its syntax out to some extent, and actually made some functions that someone else might also find useful, so I'll share them here. I'll also g...
by PerdeT
Sun Jul 30, 2017 6:43 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 733825

Re: Simple Tiled Implementation - STI v0.18.2.1

I've got two questions. 1) I'm trying to remove a tile instance from my tilemap with Map:swaptile, to no avail. (I tried to replace the tile instance with an empty tile.) So I first acquired the gid of the tile to be replaced: local xcoord, ycoord = map:convertPixelToTile(x, y) local gid = map.layer...
by PerdeT
Wed Feb 22, 2017 7:10 pm
Forum: Support and Development
Topic: Problem with Tasty Text's setSub
Replies: 3
Views: 3292

Re: Problem with Tasty Text's setSub

I'm facing the same problem... I got rid of the flashing character by changing the last line of function TastyText:setSub to this: self.first,self.last = first-1,last But it's a dirty "solution" and creates a whole lot of problems. I think I'll try to find how to at least locate the bug Po...