Search found 85 matches
- Sun Dec 27, 2009 10:01 am
- Forum: Games and Creations
- Topic: BölderDäsch (LöVE 0.6)
- Replies: 3
- Views: 3366
Re: BölderDäsch (LöVE 0.6)
Yes, after posting this i added animations using anal (what a "strange" name) and it worked great
- Sun Dec 27, 2009 12:44 am
- Forum: Games and Creations
- Topic: BölderDäsch (LöVE 0.6)
- Replies: 3
- Views: 3366
BölderDäsch (LöVE 0.6)
During the last 2 days we (my sister and myself) hacked together a small game inspired by the old classic boulder dash. Löve 0.6 is nice but i missed some features (or just didnt found the names). What happend to the newAnimation stuff? The game is not finished but its in a quite playable state. Cur...
- Sun Dec 07, 2008 12:47 pm
- Forum: Support and Development
- Topic: Profiling data
- Replies: 1
- Views: 1791
Re: Profiling data
we did some profile code in lua: http://zwischenwelt.org/trac/lugre/browser/trunk/lugre/lua/lib.profile.lua (MIT License) to display function call statistics StartGlobalProfiler() StopGlobalProfiler() GlobalProfilerOutput() to measure a certain area. m = MakeProfiler() m.StartSection("1") ...
- Fri Dec 05, 2008 10:42 am
- Forum: Support and Development
- Topic: Lua question : how to intercept function call
- Replies: 6
- Views: 4736
Re: Lua question : how to intercept function call
not sure if i understand you correctly but unpack should do it:
Code: Select all
love.graphics.rectangle = function(...)
myfunc("something", unpack(arg))
end
- Wed Dec 03, 2008 9:52 pm
- Forum: General
- Topic: picky question about length operator
- Replies: 3
- Views: 3822
Re: picky question about length operator
If i remember correctly the length operator don't count the length but returns a stored length value. If you modify a list with table.insert & co it gets updated. So the length operator should work as long as you don not manually set entries like l["lala"] = 1 or l[40] = 1. But you can...
- Tue Dec 02, 2008 3:20 pm
- Forum: General
- Topic: Is LÖVE really necessary?
- Replies: 54
- Views: 46685
Re: Is LÖVE really necessary?
Yes it is because a world without love ... ok forget it :) Currently Love is a casual gaming engine. Its small, simple, 2d and lua. But this is perfectly ok and because of these points i like love :). Oh and love's superior documentation and examples (and this is not ironic :) ) and the extraordinar...
- Fri Oct 17, 2008 12:47 pm
- Forum: Support and Development
- Topic: [bug, 0.5] missing constants for love.graphics.circle
- Replies: 4
- Views: 3116
Re: [bug, 0.5] missing constants for love.graphics.circle
i would change the line at http://love2d.org/docs/love_graphics_circle_1.html -> type The type of circle (outline/filled). into -> type The type of circle (love.draw_line/love.draw_fill). then its perfectly clear. because from looking at the documentation of the circle function you will not find the...
- Thu Oct 16, 2008 4:15 pm
- Forum: Support and Development
- Topic: [bug, 0.5] missing constants for love.graphics.circle
- Replies: 4
- Views: 3116
[bug, 0.5] missing constants for love.graphics.circle
I couldn't find the type constants for the function love.graphics.circle( type, x, y, radius ). It seems that they are not available in lua or the documentation is wrong [ http://love2d.org/docs/love_graphics_circle_1.html ]. As a workaround i needed to use the numeric values defined in the love sou...
- Fri Aug 15, 2008 12:03 pm
- Forum: Support and Development
- Topic: Calling a function from a string
- Replies: 2
- Views: 4160
Re: Calling a function from a string
Code: Select all
loadstring (string [, chunkname])
Similar to load, but gets the chunk from the given string.
To load and run a given string, use the idiom
assert(loadstring(s))()
When absent, chunkname defaults to the given string.
- Tue Aug 05, 2008 8:39 am
- Forum: General
- Topic: love.audio
- Replies: 13
- Views: 13444
Re: love.audio
If there is a lot to do then a small sound release prior to 0.4 would be nice