Search found 1035 matches
- Mon Apr 02, 2012 12:28 am
- Forum: Support and Development
- Topic: ICON HELP!!!
- Replies: 5
- Views: 4566
- Sat Mar 31, 2012 2:53 pm
- Forum: Ports
- Topic: Love2D WebPlayer (WebGL)
- Replies: 203
- Views: 186683
Re: Love2D WebPlayer (WebGL)
IE 9: "Hey guys we've caught up to Firefox 3.6!" (Well, almost)
- Sat Mar 31, 2012 2:46 pm
- Forum: Support and Development
- Topic: Problem with finding stuff in a table
- Replies: 4
- Views: 2605
Re: Problem with finding stuff in a table
You are removing an element from a table and then continuing forwards (the second element becomes the first element, but you've already comepleted that iteration in your for loop). Think of it like pulling steps out from a staircase, while you're climbing it. The obvious fix, then, is to walk down t...
- Fri Mar 30, 2012 6:27 pm
- Forum: Support and Development
- Topic: Better collision than BoundingBox
- Replies: 8
- Views: 3647
Re: Better collision than BoundingBox
Sure, here's a little test I put together a few months ago: function love.load() local HC = require 'hardoncollider' collider = HC(100, on_collide) hero = collider:addCircle(400,300, 24) boxes = {} for i=1, 6 do boxes[i] = collider:addRectangle(100 * i - 50, 150 + (i * 50), 50,50) collider:setPassiv...
- Thu Mar 29, 2012 9:04 pm
- Forum: General
- Topic: 3d engines?
- Replies: 28
- Views: 10248
- Thu Mar 29, 2012 7:58 pm
- Forum: General
- Topic: Hitbox checks (NOT point checks)
- Replies: 8
- Views: 5156
Re: Hitbox checks (NOT point checks)
Not... quite. I'm not sure what happened, but I had to extract and rezip your files in order to make them work. Weird. Are you sure you didn't rar them or something? The internal format of the .love is fine.
- Thu Mar 29, 2012 7:51 pm
- Forum: Support and Development
- Topic: Better collision than BoundingBox
- Replies: 8
- Views: 3647
Re: Better collision than BoundingBox
So?
Every game posted on this forum was made in Lua. I didn't have any trouble with slopes in Kurosuke, nor have I had trouble with them in games using HardonCollider.
Every game posted on this forum was made in Lua. I didn't have any trouble with slopes in Kurosuke, nor have I had trouble with them in games using HardonCollider.
- Thu Mar 29, 2012 7:50 pm
- Forum: Support and Development
- Topic: Animate variables at equal speeds
- Replies: 11
- Views: 5707
Re: Animate variables at equal speeds
Think about "steps" in the process of fading. You're already multiplying by "fades" (a speed variable?), so now you need to make that also account for a variable which basically describes how much change you do. To use a real world analogy, imagine two men walking to two differen...
- Thu Mar 29, 2012 7:43 pm
- Forum: Support and Development
- Topic: Better collision than BoundingBox
- Replies: 8
- Views: 3647
Re: Better collision than BoundingBox
Without a lib, good luck. You're on your own.
- Thu Mar 29, 2012 2:42 pm
- Forum: Support and Development
- Topic: Getting audio to work?
- Replies: 14
- Views: 9643
Re: Getting audio to work?
I keep seeing this in this thread:
This is wrong and will not work in 0.8.0.
The right way to require files is thus:
Code: Select all
require "audio.lua"
The right way to require files is thus:
Code: Select all
require "audio"