Search found 49 matches

by Snuux
Wed Oct 22, 2014 9:28 am
Forum: Games and Creations
Topic: Pnorar
Replies: 11
Views: 14569

Re: Pnorar

Last shoot (when green gunpoint arrive) is awesome!
by Snuux
Tue Oct 14, 2014 12:16 pm
Forum: Libraries and Tools
Topic: lua utils
Replies: 31
Views: 35608

Re: lua utils

))

Oh, sorry. I mean this question: how can I use information about aspect ratio, to properly zoom game (for different screens)?
by Snuux
Tue Oct 14, 2014 11:36 am
Forum: Libraries and Tools
Topic: lua utils
Replies: 31
Views: 35608

Re: lua utils

Perfect! Thanks for this functions.
But, help me please, how use function, that calculate aspect ratio?
by Snuux
Thu Sep 25, 2014 7:51 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 744248

Re: Simple Tiled Implementation - STI v0.9.0

You are monster! It's really awesome lib. Thanks for it.
by Snuux
Mon Sep 01, 2014 3:14 pm
Forum: Libraries and Tools
Topic: Lady: making savegames easy
Replies: 28
Views: 16074

Re: Lady: making savegames easy

Something like this.

Code: Select all

Entity= Class('Entity')
Entity.stats = { hp = 100, dmg = 50, range = 5 }
function Entity.initialize()
  Entity.stats = loadSavedTable()
end
function Entity.save()
  saveTable(Entity.stats)
end
But now I starting understand, how your library can save my time and code...
by Snuux
Mon Sep 01, 2014 2:48 pm
Forum: Libraries and Tools
Topic: Lady: making savegames easy
Replies: 28
Views: 16074

Re: Lady: making savegames easy

Look cool. But if I would solve the problem, I would create an additional table. And would use this table to record the data (health, attack power, and etc).
Watch your code, and it's very cool too. Continue develop! Thanks!)
by Snuux
Mon Sep 01, 2014 11:59 am
Forum: Libraries and Tools
Topic: Lady: making savegames easy
Replies: 28
Views: 16074

Re: Lady: making savegames easy

Good day! "Lady" - best name ever!
But I don't understand, for what you want to save classes? Why not usual tables?
by Snuux
Sun Aug 31, 2014 6:05 pm
Forum: Games and Creations
Topic: Drop of Light LD #30
Replies: 0
Views: 3838

Drop of Light LD #30

It's my first game, that I complete. 5.png Game about small 'Drop of Light'. It arrive in Connected World. And YOU must protect it! You must save and protect "Drop of Light" with your X. You should collect yellow bonuses. They activate shield, which save "Drop of Light" on the sc...
by Snuux
Tue Aug 26, 2014 5:34 am
Forum: General
Topic: Ludum Dare #30
Replies: 20
Views: 12796

Re: Ludum Dare #30

I'm upload game too http://www.ludumdare.com/compo/ludum-da ... &uid=18629 ... It's my first try, so It's not ideal...
by Snuux
Tue Jul 29, 2014 9:55 am
Forum: Support and Development
Topic: Make a body slide instead of rotate.
Replies: 4
Views: 3332

Re: Make a body slide instead of rotate.

I try to applyForce for Rectangle shape, but it don't rotate! What I do wrong? function createRectangle(x, y, w, h) local o = {} o.b = love.physics.newBody(world, x, y, "dynamic") o.s = love.physics.newRectangleShape(0, 0, w, h) o.f = love.physics.newFixture(o.b, o.s) return o end function...