Search found 1035 matches

by tentus
Thu Mar 29, 2012 4:14 am
Forum: Support and Development
Topic: Getting audio to work?
Replies: 14
Views: 9625

Re: Getting audio to work?

To upload a .love, select all your files, and zip them up (how to do this depends on your operating system). Then, rename the .zip file to .love (.love == .zip) Then, click reply. Underneath the reply text area, there are two tabs: Options and Upload Attachment. Click on Upload Attachment and browse...
by tentus
Tue Mar 27, 2012 7:06 pm
Forum: Support and Development
Topic: Hardoncollider with tilemap
Replies: 23
Views: 6365

Re: Hardoncollider with tilemap

You do a lot of this:

Code: Select all

	if key == "w" then
		keyboard.w = 1
	end
it'd probably be easier conceptually if you used true and false, and a tiny (tiny) bit more efficient.
by tentus
Mon Mar 26, 2012 11:23 pm
Forum: General
Topic: LÖVE on PSP
Replies: 13
Views: 7208

Re: LÖVE on PSP

You can.
by tentus
Mon Mar 26, 2012 11:21 pm
Forum: Support and Development
Topic: Hardoncollider with tilemap
Replies: 23
Views: 6365

Re: Hardoncollider with tilemap

Sorry, I changed my mind about how I wanted to word my post and posted it without finishing my changes (I really don't know why). As is often the case, collider and HC have gotten mixed around. If you change line 136 of world.lua to this: collider:setPassive(shipmap[x][y].col) you won't get a bluesc...
by tentus
Mon Mar 26, 2012 9:22 pm
Forum: Support and Development
Topic: Hardoncollider with tilemap
Replies: 23
Views: 6365

Re: Hardoncollider with tilemap

Edit: fixed for posterity.

Don't call setPassive on HC, call it on the collider. collider:setPassive(shipmap[x][y].col)
by tentus
Mon Mar 26, 2012 5:47 pm
Forum: Support and Development
Topic: physics simulated body that still animates
Replies: 10
Views: 7810

Re: physics simulated body that still animates

tsturzl wrote: However if you look at the box2dFlash examples they provide a cool example of a walking robot.
The 7th example here: http://www.box2dflash.org/
Oh cool it's a Strandbeest!
by tentus
Fri Mar 23, 2012 7:23 pm
Forum: Support and Development
Topic: Windows 7 Graphical Glitch
Replies: 13
Views: 6814

Re: Windows 7 Graphical Glitch

Please post a .love to the forum, I'm leery of downloading exes from other sites.

Just a guess though, are the images PO2? You might be suffering from PO2_Syndrome.
by tentus
Fri Mar 23, 2012 7:22 pm
Forum: Support and Development
Topic: Two things
Replies: 21
Views: 8145

Re: Two things

Could you post your full, current code? I can't help you if you give us an abridged version: your initial post does not contain the line of code you mentioned.

Something to consider: PlayerD.png does not equal playerd.png (caps matter!)
by tentus
Fri Mar 23, 2012 7:16 pm
Forum: Support and Development
Topic: Two things
Replies: 21
Views: 8145

Re: Two things

love.graphics.rectangle("line"[map[y+map_y][x+map_x]],(x*tile_w)+map_offset_x, (y*tile_h)+map_offset_y) This is not how love.graphics.rectangle is supposed to work. You've halfway combined two different functions. I think you meant to use love.graphics.draw (). If you did mean to use love...
by tentus
Fri Mar 23, 2012 3:43 pm
Forum: Libraries and Tools
Topic: Harmonic Motion
Replies: 14
Views: 3706

Re: Harmonic Motion

As I recall, can't love.graphics.line be given any number of coordinates? (Greater than or equal two, of course.) You could change up how the points table works by a little and then pass the whole thing into a single love.graphics.line call. Here, I've added an example to the wiki that should help y...