Search found 56 matches

by EmmanuelOga
Wed Mar 09, 2011 4:27 pm
Forum: Libraries and Tools
Topic: loveui 0.7 (just started)
Replies: 26
Views: 15483

Re: loveui 0.7 (just started)

Found a way to make it faster. Committed to github. See https://github.com/meric/loveui.love . Hmmm, https://github.com/meric/loveui.love/blob/fa2fd21e0f0e41cefddba57090f481113bb517ab/loveui/graphics/love.lua#L41 Instead of creating a pixmap each time you draw an arc you could use a polygon to draw...
by EmmanuelOga
Mon Mar 07, 2011 7:24 am
Forum: Support and Development
Topic: Check for intersection with line or shape?
Replies: 7
Views: 770

Re: Check for intersection with line or shape?

point to line distance, taken from http://www.allegro.cc/forums/thread/589720 and converted to love: local function distance(x1, y1, x2, y2) return math.sqrt(((x1 - x2) * (x1 - x2)) + ((y1 - y2) * (y1 - y2))) end function love.draw() local x, y = love.mouse.getX(), love.mouse.getY() local x1, y1 = 1...
by EmmanuelOga
Fri Mar 04, 2011 12:00 am
Forum: Libraries and Tools
Topic: Per-pixel plasma / copperbars
Replies: 12
Views: 2449

Re: Per-pixel plasma / copperbars

Thanks for the heads up on the pixBuf! I just read on another thread that framebuffers may not work on some computers.. I dunno - I tried your version of the program, and the framebuffer works here on an intel GMA4500 integrated card, although it ran a bit slower than mine; 7FPS vs 20FPS That may b...
by EmmanuelOga
Thu Mar 03, 2011 11:41 pm
Forum: Libraries and Tools
Topic: Per-pixel plasma / copperbars
Replies: 12
Views: 2449

Re: Per-pixel plasma / copperbars

AFAICT in your example you only need to initialize the pixBuf once, no need to create it again and again. pixBuf = love.image.newImageData( 512, 256 ) Calling that only once won't give you any noticeable speed up though. IMHO löve is not very well suited for this kind of old school effect because, a...
by EmmanuelOga
Tue Mar 01, 2011 12:20 am
Forum: General
Topic: [OT] Lövely music?
Replies: 8
Views: 943

Re: [OT] Lövely music?

Nice finding, will take me some time to listen to all his albums
TechnoCat wrote: Anamanaguchi:
https://www.youtube.com/watch?v=vpxl9qLjPeU
OMFG!!!! EPIC SONG IS EPIC!!!! :shock:
by EmmanuelOga
Sat Feb 26, 2011 5:46 pm
Forum: General
Topic: [OT] Lövely music?
Replies: 8
Views: 943

[OT] Lövely music?

Not long ago I was presented to the lövely song from January's smash hit "Noah's ark" (by TechnoCat) http://love2d.org/forums/viewtopic.php?f=5&t=2341 (authored by a guy " http://8bc.org/members/Maxo+01/ "). I really like chiptunes but there is so much stuff out there that it is hard to dig out the ...
by EmmanuelOga
Sat Feb 26, 2011 8:59 am
Forum: Games and Creations
Topic: columns version
Replies: 4
Views: 643

columns version

Hi, this is the game I'm currently working on. It is based in the classic columns (http://en.wikipedia.org/wiki/Columns_(video_game)).

Not sure how I'm gonna finish it though :p.

Greets!
columns.webm
Columns Clone
(4.81 MiB) Downloaded 383 times
by EmmanuelOga
Wed Feb 23, 2011 11:10 pm
Forum: General
Topic: don't use lua's module function
Replies: 9
Views: 1850

don't use lua's module function

Hello, I just want to share a link to this article:

http://lua-users.org/wiki/LuaModuleFunctionCritiqued

Basically using lua's 5.1.4 module function is no longer recommended and will be removed from 5.2
by EmmanuelOga
Wed Feb 23, 2011 7:58 pm
Forum: Support and Development
Topic: Love security flaw
Replies: 42
Views: 4278

Re: Love security flaw

This reasoning builds in the idea that I do not expect the end user to have his own love binary to use my games (i.e. I won't be shipping .love files). When I finish my game I plan to provide binaries to the end public, that means that the public will have to trust me when they run the software. Do...
by EmmanuelOga
Wed Feb 23, 2011 1:43 am
Forum: Support and Development
Topic: Love security flaw
Replies: 42
Views: 4278

Re: Love security flaw

Hi, I don't think it will be worth to try to build any "security features" in löve. To me, love is a tool to build games as much a GCC and libsdl are. Nobody would try to make GCC "secure" by removing the ability to perform system calls in a C program. The same goes with löve. There is no point in r...