Search found 175 matches

by Hexenhammer
Wed Dec 18, 2013 5:40 am
Forum: General
Topic: 0.9.0 Love.math
Replies: 6
Views: 1859

Re: 0.9.0 Love.math

or more subtly in certain types of save-files for some games. You got my attention with that. Can you explain a use case pertaining to save files? Instead of saving the current world state (which maybe big and complex) you just save the RNG seed which created that state. "Loading" a game then means...
by Hexenhammer
Wed Dec 18, 2013 5:17 am
Forum: General
Topic: Using SciTE with LÖVE
Replies: 48
Views: 24925

Re: Using SciTE with LÖVE

Hexenhammer's Preconfigured SciTE for Windows To celebrate the release of LÖVE 0.9.0 here is a new version of my preconfigured SciTE package for Windows. Changes since last version: - Updated to SciTE 3.3.7 - Default monospace font is now Microsoft Consolas, you must install this font if you don't ...
by Hexenhammer
Wed Dec 18, 2013 4:28 am
Forum: Support and Development
Topic: Just DL'd and something WAY WRONG with love2d 090?
Replies: 6
Views: 2107

Re: Just DL'd and something WAY WRONG with love2d 090?

Well, the first thing I should point out is that whatever love wiki entry regarding how to use love2d thru Scite is now clearly wrong. It just doesn't work. "command.go.main.lua="C:\Path\to\love.exe" "$(FileDir)" <--Nope! Indeed. Try this instead: command.go.subsystem.main.lua=2 command.go.*.lua="C...
by Hexenhammer
Wed Dec 18, 2013 4:05 am
Forum: Support and Development
Topic: RNG used by math.random in 0.9
Replies: 2
Views: 386

Re: RNG used by math.random in 0.9

slime wrote:LÖVE doesn't modify the Lua standard library functions (aside from adding loaders to the package.loaders table for require), so if LuaJIT is being used then math.random will be LuaJIT's version as well.
Thanks!
by Hexenhammer
Wed Dec 18, 2013 3:43 am
Forum: Support and Development
Topic: RNG used by math.random in 0.9
Replies: 2
Views: 386

RNG used by math.random in 0.9

Which RNG is used if I just call math.random. Given that LÖVE is now LuaJIT by default does that mean that math.random links to LuaJIT's RNG or has it been linked to the new LÖVE RNG?
by Hexenhammer
Fri Dec 13, 2013 6:18 pm
Forum: Support and Development
Topic: How do I use love2d in my IDE?
Replies: 2
Views: 1471

Re: How do I use love2d in my IDE?

That IDE does not have support for anything except the version of Lua it ships with, thus you cannot use LÖVE directly. But you can still do what Yonaba said, edit your files with the IDE but run them manually by drag and droping the project folder on love.exe. Note that the IDE's debugger will not ...
by Hexenhammer
Tue Dec 10, 2013 11:22 am
Forum: General
Topic: Newbie questions?
Replies: 10
Views: 3937

Re: Newbie questions?

Not sure why I'm asking this, but I thought I read somewhere that improper declaration of variables (style) can impact memory usage within Lua? Lua variables are global by default, limit their life time by making them local. Intuitively the keyword for that is "local" ^^ fatassGlobal = "I am" local...
by Hexenhammer
Mon Dec 09, 2013 12:39 pm
Forum: General
Topic: Does Alex Szpakowski post here?
Replies: 5
Views: 1019

Re: Does Alex Szpakowski post here?

Thanks!
by Hexenhammer
Mon Dec 09, 2013 11:52 am
Forum: General
Topic: Does Alex Szpakowski post here?
Replies: 5
Views: 1019

Does Alex Szpakowski post here?

I have wondered this for a while. Looking at the bitbucket repo it seems that the guy is responsible for 80-90% of all LÖVE development. Does he post in this forum? If yes, what is his pseudonym?
by Hexenhammer
Mon Dec 09, 2013 11:42 am
Forum: General
Topic: Any estimate for 0.9.0?
Replies: 25
Views: 5781

Re: Any estimate for 0.9.0?

Given that 0.9 will default to LuaJIT does that mean we will get bitops? An annoying problem is that many algorithms use bitops and thus cannot easily be translated to Lua and may even require some impractically slow high-level emulation of bitops written in Lua. Bitops are an essential feature, eve...