Search found 58 matches

by Lua Hal
Sat Aug 10, 2013 8:02 pm
Forum: Libraries and Tools
Topic: Lövely NET - A Very Simple HTML Browser [v2]
Replies: 17
Views: 7915

Re: Lövely NET - A Very Simple HTML Browser

Lol, I was wondering why it was so slow. Doing an http request every draw would explain it, this is practically a DDOS tool. :shock:
by Lua Hal
Tue Mar 13, 2012 4:04 pm
Forum: Libraries and Tools
Topic: A Windows Classic style button library.
Replies: 7
Views: 3320

Re: A Windows Classic style button library.

Much of the point is that you can customize the corners/sides of the 3 (4 soon) button states. Also, I stole much of the ideas from Roblox, a crappy game I quit a year or two ago. New Dynamic Buttons (buttons with an editable state), and many of the controls have changed. Planned Scroll bars; horizo...
by Lua Hal
Mon Mar 12, 2012 7:19 pm
Forum: Libraries and Tools
Topic: A Windows Classic style button library.
Replies: 7
Views: 3320

Re: A Windows Classic style button library.

WinTest.love
(5.96 KiB) Downloaded 255 times
by Lua Hal
Mon Mar 12, 2012 6:33 pm
Forum: Libraries and Tools
Topic: A Windows Classic style button library.
Replies: 7
Views: 3320

Re: A Windows Classic style button library.

Sorry. I'm really young, and I'm not too good at programming, so excuse the stupid things like meaningless variable names. img=love.graphics.newImage("font.png") borders=love.graphics.newImage("borders.png") curs={1,1} norm={ topleft=love.graphics.newQuad(7,0,3,3,borders:getWidth...
by Lua Hal
Mon Mar 12, 2012 5:34 am
Forum: Libraries and Tools
Topic: A Windows Classic style button library.
Replies: 7
Views: 3320

A Windows Classic style button library.

Just a little project I did. The code for the window shown in the video: FUxoC1pv6F0 function love.load() love.filesystem.load("hal.lua")() love.graphics.setBackgroundColor(255,192,192) h=hal.button.new("5",0,0,100,18) h:addText("Toggle"):align(2,2) h.pressed:connect(bp...
by Lua Hal
Sun Feb 05, 2012 10:56 pm
Forum: Support and Development
Topic: Get length of mp3?
Replies: 1
Views: 1548

Get length of mp3?

I am making a really simple song player, and I found some code for ID3 tag reading online, however, it doesn't show the track length, which is vital for my project. Note that I am very bad at examining code, but it looks like it should. Would it be possible to get a modification of this code, or eve...
by Lua Hal
Fri Aug 26, 2011 1:41 am
Forum: Support and Development
Topic: Producing animations from one picture?
Replies: 4
Views: 2194

Producing animations from one picture?

function love.load() runningbunny=love.image.newImageData("NPCs\/BunnyRunning.png") frames={} for i = 1,runningbunny:getWidth()/32 do frames[i]=love.image.newImageData(32,32):paste(runningbunny,0,0,(i-1)*32,0,32,32) end end function love.draw() for i = 1,#frames do love.graphics.draw(fram...
by Lua Hal
Thu Aug 25, 2011 10:30 pm
Forum: Support and Development
Topic: Trying to make a key encryption/decryption?
Replies: 4
Views: 1827

Trying to make a key encryption/decryption?

table={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r", "s","t","u&quo...
by Lua Hal
Tue Aug 23, 2011 1:20 am
Forum: Support and Development
Topic: Make a command line?
Replies: 3
Views: 1492

Make a command line?

How would I do this?

It basically needs to take one line of love at a time, as entered by a user so I can see what happens when I type 'blah' easily.