Search found 9 matches

by Tad2020
Thu Feb 19, 2009 11:32 pm
Forum: Libraries and Tools
Topic: ËNVY (LÖVE Framework)
Replies: 86
Views: 27683

Re: ËNVY (LÖVE Framework)

-- This is the worst thing since Garry Glitter. I think his name is with one "r", Gary Glitter. I just did metaclass.__vector = true since all I needed to know is if it is, or derived from, a vector. I had to rewrite most of that class anyway, I was getting "C Stack Overflow"s every time I used any...
by Tad2020
Wed Feb 18, 2009 8:24 pm
Forum: General
Topic: Is LÖVE really necessary?
Replies: 54
Views: 16894

Re: Is LÖVE really necessary?

I like LÖVE, it's has just enough low level stuff to do something with and it uses Lua. It could really go for some more optional libraries for GUI and whatnot, but in the short period of time between when I first found it last year and just recently when I started to use it, there have been several...
by Tad2020
Tue Feb 17, 2009 5:53 am
Forum: General
Topic: One Disadvantage to Lua
Replies: 8
Views: 3588

Re: One Disadvantage to Lua

it's typically better to use the following multi-line comment style in lua, note the use of abitrary but matching equals signs. I have never seen/heard/read about that anywhere in the 3 years I've been using Lua. This is excellent, I like to nest commented blocks sometimes for testing and this will...
by Tad2020
Mon Feb 16, 2009 3:49 am
Forum: Libraries and Tools
Topic: ËNVY (LÖVE Framework)
Replies: 86
Views: 27683

Re: ËNVY (LÖVE Framework)

I believe it would be better if you used a custom function for this. Some libraries for optimizations, serialization, copying, and the like may need to know whether your data is stored as a table or not. Yeah.... I think I put back a isinstanceof() function to my object system instead (or just chec...
by Tad2020
Sun Feb 15, 2009 4:57 pm
Forum: Libraries and Tools
Topic: ËNVY (LÖVE Framework)
Replies: 86
Views: 27683

Re: ËNVY (LÖVE Framework)

Kaze wrote:__type isn't part of standard Lua.
That's strange, I sworn that I've used it with the standalone Lua bin before, I guess my memory is mistaken. Time to override type() then :P
by Tad2020
Sun Feb 15, 2009 8:26 am
Forum: Libraries and Tools
Topic: ËNVY (LÖVE Framework)
Replies: 86
Views: 27683

Re: ËNVY (LÖVE Framework)

Is it just me or is LÖVE not calling the metamethod __type? I'm having problems with ËNVY's vector class causing C STACK OVERFLOWS, I traced it down to the type calls returning "table" instead of "vector". I figured something might be wrong with my OOP module (using own, not ËNVY's), but tostring is...
by Tad2020
Sun Feb 15, 2009 12:52 am
Forum: General
Topic: gzip/base64 with Lua
Replies: 4
Views: 2285

Re: gzip/base64 with Lua

Yeah, turn off the compress, encode and embed, and export as lua. I made a quick and dirty re-serializer for use with stand alone Lua. Its rather simple, but it shows what I'm talking about. --Usage: Lua.exe map_file.lua dofile(arg[1]) output = "map = {\n" output = output.."\ttile_size = "..map.tile...
by Tad2020
Sat Feb 14, 2009 8:49 pm
Forum: General
Topic: gzip/base64 with Lua
Replies: 4
Views: 2285

Re: gzip/base64 with Lua

I just read about this and tried it. Why not turn off the compression and encoding? Edit>Perfs>Saving, untick Compress, Use encoding, Embed images. This made it save in clear txt. I would run this map file through a cleanup filter afterwards though, I saw a ton of waste with the Lua file export.
by Tad2020
Fri Feb 06, 2009 12:04 am
Forum: General
Topic: API Wars
Replies: 39
Views: 11855

Re: API Wars

You could use an external module like [urlhttp://luaforge.net/projects/lzlib/]lzlib[/url]. But a better solution might be to convert the tiled map files in to native lua, they don't need to be compressed a second time since you'll already be compressing them in to the .love.