Search found 3 matches

by jcw
Mon Jun 22, 2009 4:27 pm
Forum: General
Topic: LOVE and vim
Replies: 12
Views: 4924

LOVE and vim

Just wondering how people using vim to code lua and LOVE get things done. I jump around by searching, but has anyone gotten folding or a function/class browser to work? I've mapped ",l" to "!open .", which in OS X runs the game. Every time I make an edit, I just hit ctrl+x (mapped to :w!) and ,l, wh...
by jcw
Mon Jun 22, 2009 4:21 pm
Forum: General
Topic: Recent Lua Library Findings
Replies: 11
Views: 3892

Re: Recent Lua Library Findings

Penlight looks cool, so does the polygon clipping lib. A macro system for Lua: http://luma.luaforge.net/manual.html After dabbling in Scheme/Lisp and Io, I've been craving some metaprogramming facilities in Lua. I find myself repeating code that could be abstracted away with macros. Has anyone else ...
by jcw
Mon Jun 22, 2009 3:51 pm
Forum: Support and Development
Topic: Mouse position in love.physics?
Replies: 1
Views: 1063

Mouse position in love.physics?

I'm in the process of learning Box2D, and I tried to make a small program that let you create boxes by clicking anywhere on the screen. However, there's a strange offset that occurs: when the mouse is close to the top left of the window, a box is created at the mouse. The farther away the mouse is f...