Search found 161 matches

by TsT
Fri Apr 29, 2011 9:51 pm
Forum: Libraries and Tools
Topic: UnLöve: Zombie Survival [Alpha?!?!]
Replies: 42
Views: 34045

Re: Unlove: Zombie Survival

Hello,

Just for you information load() is a standard lua function.
You should not overwrite it :D

you could modify like :

Code: Select all

--[[
        MAIN LOAD SCRIPT
]]--

mygame = {}
function mygame.load()
...
end
and use :

Code: Select all

--load
function love.load()
        mygame.load()
end
My 2 cents ;)
by TsT
Fri Apr 29, 2011 6:24 pm
Forum: Support and Development
Topic: lovejail : a safe environment
Replies: 8
Views: 6420

lovejail : a safe environment

This is a alpha version of my love jail. I built a lib for setup a lua 5.1 secured environment named jail. It's far to be finish but it's already disable some dangerous functions. How it run ? I'm setup a short main.lua : BASEDIR="jailpack/" -- the directory where safeload.lua and lib/ are...
by TsT
Fri Apr 29, 2011 5:46 pm
Forum: Support and Development
Topic: Distributing your games (making a .love file)
Replies: 278
Views: 938100

Re: Distributing your games (making a .love file)

For a Linux and Mac friendly version, here's a Ruby script. Make sure you're in the project directory when executing, and that you provide a filename for the .love file (with or without the extension). #!/usr/bin/env ruby if ARGV.length == 0 print "Usage: ./make_love_file.rb love_file_location...
by TsT
Fri Apr 29, 2011 4:15 pm
Forum: General
Topic: Survey: Do You Support Framebuffers and/or Non-Po2 [RERUN]
Replies: 92
Views: 40120

Re: Survey: Do You Support Framebuffers and/or Non-Po2 [RERU

I made the test. on Linux over (more 5 years dell laptop) with nVidia Corporation NV34M [GeForce FX Go5200 64M] Result: Non-Po2 Images I'm not supporting Framebuffers and the test still loop in state 4, never pass to state 5. I suggest to change the test code from : elseif state == 4 then if not sup...
by TsT
Fri Apr 29, 2011 3:04 pm
Forum: Support and Development
Topic: fakelove : love in pure lua
Replies: 11
Views: 8517

Re: fakelove : love in pure lua

I'm don't understand...
To allow something to run into a browser you need to build a browser plugin, like java (flash, and others) do.
my fakelove project is most for standalone use than for embedded use.

Regards,
by TsT
Fri Apr 29, 2011 12:47 pm
Forum: General
Topic: don't use lua's module function
Replies: 9
Views: 5016

Re: don't use lua's module function

Oh ok, it's just about the module() use.
Thanks !
by TsT
Fri Apr 29, 2011 12:20 pm
Forum: General
Topic: löve builtin changes
Replies: 5
Views: 2955

Re: löve builtin changes

The konami code ? Oh shit I still forget to try it !
I will see ASAP :)
Thanks
by TsT
Fri Apr 29, 2011 11:43 am
Forum: General
Topic: löve builtin changes
Replies: 5
Views: 2955

löve builtin changes

Hello, I consider 2 different uses of löve, 2 different security consideration. The first use is for building standalone application , explained in Game_Distribution . Like every .exe file, The user that run the file can not exactly know if it's a good or malicious program. The control of the securi...
by TsT
Fri Apr 29, 2011 11:22 am
Forum: General
Topic: don't use lua's module function
Replies: 9
Views: 5016

Re: don't use lua's module function

I wonder how build a module ? I'm often using (in file mymodule.lua): local M = {} M.data = something function M.func1(...) ... end function M.func2(...) ... end module("mymodule") return M and use with : mymodule = require("mymodule") -- or local mymodule = require("mymodul...
by TsT
Fri Apr 29, 2011 10:52 am
Forum: General
Topic: Wiki documentation comment/tag ?
Replies: 4
Views: 3577

Re: Wiki documentation comment/tag ?

I don't think that it's necessary. No one function is more or less important than another. It depends on the context that they're used in and what the desired effect is. I'm not agree, some functions are always more often use than others. Just compare love.filesystem.load and love.event.pump ! I th...