Search found 33 matches

by conman420
Tue Sep 23, 2008 3:11 pm
Forum: Support and Development
Topic: Accessing the clipboard?
Replies: 2
Views: 973

Accessing the clipboard?

I basically need to access the clipboard/pastebin using love. I also need to be able to write to the clipboard as well.

Are there any functions for this?
by conman420
Fri Sep 12, 2008 6:16 pm
Forum: Support and Development
Topic: plans for love.filesystem
Replies: 7
Views: 1764

Re: plans for love.filesystem

Convert the string it returns to a table:

Code: Select all

function string.table(str)
	local len = string.len(str)
	local t = {}
	for i = 0, len do
		table.insert(t, string.sub(str, i, i))
	end
	return t
end
by conman420
Wed Sep 10, 2008 2:57 pm
Forum: Games and Creations
Topic: Zombie Apocalypse! D:
Replies: 18
Views: 11678

Re: Zombie Apocalypse! D:

Heh sounds like the half life 2 shotgun sound :lol:

nice work on the game I'm impressed you got some working traces done.
by conman420
Mon Sep 08, 2008 5:13 pm
Forum: Libraries and Tools
Topic: kudoLib (LÖVE Library)
Replies: 12
Views: 3954

Re: kudoLib (LÖVE Library)

A vector library?

Like getting angles between 2 points etc.

I know it can be done without a library but it would be nice to have for convenience.
by conman420
Mon Sep 08, 2008 4:15 pm
Forum: Support and Development
Topic: Um, finding out if a line "hits" any shape.
Replies: 5
Views: 1379

Re: Um, finding out if a line "hits" any shape.

rude wrote:Will do!

On the plus side, the release is almost ready.
Are you ever going to add joint:Remove() body:Remove() etc?

I know about the collect garbage thing but it would be nice to have them, they work if used correctly no?
by conman420
Sun Sep 07, 2008 3:47 pm
Forum: Support and Development
Topic: My shapes aren't rotating?
Replies: 3
Views: 1550

Re: My shapes aren't rotating?

Thanks for your help but I found out what was causing it, turned out an object needs a certain amount of mass to rotate :) Here is a beta of the driving game I'm working on :D At the moment the transitions are a little funny. :( Which brings me onto a new question to all you mathematicians out there...
by conman420
Sun Sep 07, 2008 8:41 am
Forum: Support and Development
Topic: My shapes aren't rotating?
Replies: 3
Views: 1550

Re: My shapes aren't rotating?

Forgot to mention the game will start in the level editor you press 1 for straight 3 for slope up and 2 for slope down :)

Also press enter to toggle the level editor and load the car.
by conman420
Sun Sep 07, 2008 8:40 am
Forum: Support and Development
Topic: My shapes aren't rotating?
Replies: 3
Views: 1550

My shapes aren't rotating?

I'm working on a offroad racing/terrain game sort of thing, I've done the level editor and made the levels physical. But when I added the 'car' it didn't want to rotate when going up slopes, it just stayed level, is there something i have to do to allow bodies to rotate? Even if I manually do it wit...
by conman420
Sat Sep 06, 2008 9:19 pm
Forum: Games and Creations
Topic: Unnamed cat game
Replies: 12
Views: 6509

Re: Unnamed cat game

It errors for me.
by conman420
Sat Sep 06, 2008 8:01 pm
Forum: Support and Development
Topic: Passing a table to newPolygonShape?
Replies: 2
Views: 1043

Passing a table to newPolygonShape?

I have some code that generates co-ordinates to be passed to the polygon shape function, the code generates a table of coordinates of the map (I can't save the coordinates of the map to create the body that would just be stupid) the thing is the polygon shape doesn't accept a table and to my knowled...