Search found 9 matches

by Henko
Mon Aug 03, 2015 8:19 pm
Forum: Ports
Topic: LöveFTW - preview release
Replies: 81
Views: 70637

Re: LöveFTW - preview release

Awesome work on this port! I was really excited when I read about it and absolutely had to test it as soon as I had enough time. I too had to manually trigger the build for OpenAL, but after that, it worked like a charm! No problems running a simple test on my device at all! :) Thanks for the great ...
by Henko
Tue Feb 07, 2012 9:03 pm
Forum: Support and Development
Topic: Platformer Levels
Replies: 2
Views: 644

Re: Platformer Levels

Saving tables to strings (commonly known as serialization) is actually kind of easy in Lua: function serialize(val, name, skipnewlines, depth) depth = depth or 0 local tmp = string.rep(" ", depth) if name then tmp = tmp .. name .. " = " end if type(val) == "table" then tmp = tmp .. "{" .. (not skipn...
by Henko
Tue Nov 30, 2010 6:19 am
Forum: Support and Development
Topic: Strange crash of love projects
Replies: 3
Views: 1036

Re: Strange crash of love projects

Is it happening in every game project? yes. It even happens when starting the Löve executable without any project and even when executing a simple "hello world" project. Edit: Alright, I tried running Löve with administrator rights and noticed that it won't freeze now. I don't quite understand why ...
by Henko
Mon Nov 29, 2010 6:05 pm
Forum: Support and Development
Topic: Strange crash of love projects
Replies: 3
Views: 1036

Strange crash of love projects

Hey, Yesterday, I noticed a strange behaviour of Löve: Whenever I press one of the arrow keys (or some other keys like rctrl), the whole application freezes and after a few seconds, consumes about 50MB more RAM than before the freeze. What is strange about this: It only happens on my laptop (Win Vis...
by Henko
Tue Nov 16, 2010 9:25 pm
Forum: General
Topic: Porting love2d to other platforms
Replies: 35
Views: 8325

Re: Porting love2d to other platforms

if love.keyboard.isDown(iif(love.system == "wii", "wiihome", "return")) then with iif() being the equivalent to C's ternary operator (or vb's iif): function iif(cond, truePart, falsePart) if cont then return truePart end return falsePart end if love.keyboard.isDown(love.system == "wii" and "wiihome...
by Henko
Tue Nov 16, 2010 3:20 pm
Forum: General
Topic: Porting love2d to other platforms
Replies: 35
Views: 8325

Re: Porting love2d to other platforms

Most of this makes sense. I have problems with: By hiding the cursor (via mouse.setVisible), the lover would be able to implement his own idea of control mechanism, because the values are still accessible I think this makes portability doubtful at best. I don't think so, because in about 98% of the...
by Henko
Mon Nov 15, 2010 10:46 pm
Forum: General
Topic: Porting love2d to other platforms
Replies: 35
Views: 8325

Re: Porting love2d to other platforms

Another possibility is to let a cursor be moved by the nunchuk's joystick. The problem with that on the other hand is that it would then be blocked for any other kind of input. And wouldn't the nunchuck's joystick be more logically mapped to a joystick? That's why I spoke of a possibility. Furtherm...
by Henko
Mon Nov 15, 2010 10:05 pm
Forum: General
Topic: Porting love2d to other platforms
Replies: 35
Views: 8325

Re: Porting love2d to other platforms

Yeah, the wiimote control issue I think is mostly a non-issue. It has a mouse and quite a few buttons. More than enough for most games. No, my thinking was the other way around. You can get quite a bit of information from the controllers (even if you don't use plug-in thingies like a nunchuck), how...
by Henko
Sun Jan 03, 2010 1:52 pm
Forum: General
Topic: LÖVE 0.6.0
Replies: 54
Views: 15677

Re: LÖVE 0.6.0

Was anything changed with the fonts? The following line used to work quite well, but since I upgraded to 0.6, löve doesn't want to execute it :( Code: love.graphics.setFont(love.default_font, 12) Error: graphics.lua:34: Incorrect parameter type: expected userdata. Traceback [C]: in function 'setFont...