Search found 101 matches

by Chief
Sat Jun 25, 2011 11:41 am
Forum: Games and Creations
Topic: CCG: Gangrene
Replies: 11
Views: 11507

Re: CCG: Gangrene

I enjoy playing this game, even at this early stage! I would really like if you added a little flash effect, or some sparkle-thingies on the numbers (HP, Ammo, etc.) if they change. It would make it easier to notice which numbers that changed since last turn. EDIT: Would also like to read the info f...
by Chief
Wed Jun 15, 2011 3:17 pm
Forum: General
Topic: Silly strings...
Replies: 9
Views: 1728

Re: Silly strings...

Ah right! Thanks!
by Chief
Wed Jun 15, 2011 2:21 pm
Forum: General
Topic: Silly strings...
Replies: 9
Views: 1728

Re: Silly strings...

The code is extremely braided and long, but i'll pick out the important parts: Reading the table: -- Yada-yada lots of generation code local str = "local map = {}\n" local function add( s ) str = str .. s; end local num = 1 local function write(n, str) local path = "maps/" .. name .. "/" if love.fil...
by Chief
Wed Jun 15, 2011 1:52 pm
Forum: General
Topic: Silly strings...
Replies: 9
Views: 1728

Silly strings...

Since this isn't related to the LOVE part of lua, i just dropped it here. I don't know much about the stuff that goes on "backstage" in LUA, but i noticed something odd the other day... I were making this "table/nested tables to file function", which basically made the table into a very long string....
by Chief
Fri Jun 03, 2011 6:01 am
Forum: Support and Development
Topic: Is love.image.newImageData broke?
Replies: 6
Views: 1712

Re: Is love.image.newImageData broke?

It seems that redownloading love fixed the problem! I must have replaced love.exe with an older version or something...
Sorry for the noobish post, won't happen again! Case closed!
by Chief
Thu Jun 02, 2011 11:19 pm
Forum: Support and Development
Topic: Is love.image.newImageData broke?
Replies: 6
Views: 1712

Re: Is love.image.newImageData broke?

I'll go to the cafe tomorrow, to upload the pic. then. Tho' it was made in PhotoShop so I don't believe that's the case...

Are there any prefered image formats besides png?
by Chief
Thu Jun 02, 2011 11:03 pm
Forum: Support and Development
Topic: Is love.image.newImageData broke?
Replies: 6
Views: 1712

Re: Is love.image.newImageData broke?

Read the forum rules please. I have, ill explain better this time. It's teaspoon time! I only have internet on my mobile atm. So I can't upload a .love I'm afraid. The search says the bug was fixed in 0.7.2, but this doesn't seem to be the case. ( changelog says 0.7.2 ) The function was called in l...
by Chief
Thu Jun 02, 2011 9:48 pm
Forum: Support and Development
Topic: Is love.image.newImageData broke?
Replies: 6
Views: 1712

Is love.image.newImageData broke?

so i tried to run:

Code: Select all

local data = love.image.newImageData( "pic.png" )
it crashed love.

Solutions? :huh:
by Chief
Sun May 29, 2011 7:35 am
Forum: General
Topic: LoveJIT
Replies: 38
Views: 10322

Re: LoveJIT

This is to awesome to be true!

Aren't there any downsides?
by Chief
Tue May 24, 2011 10:10 pm
Forum: Support and Development
Topic: Manually rotating points around center
Replies: 16
Views: 2222

Re: Manually rotating points around center

Code: Select all

function Magic( x, y, cx, cy, ox, oy, rad )
    local nx = (x - cx)*math.cos( rad ) - (y - cy)*math.sin( rad ) + ox
    local ny = (x - cx)*math.sin( rad ) + (y - cy)*math.cos( rad ) + oy

    return nx, ny;
end
I believe this would work?