Yeah, that was what I was thinking too.Gnx wrote:Speed thinking results in bad expression
Anyway I was thinking of hacking this by repeatedly destroying the shape attached to the body and attaching a new incrementally larger shape to the body (until reaching the desired size).
Search found 18 matches
- Sun Nov 16, 2008 1:36 pm
- Forum: Support and Development
- Topic: Scaling/animating shapes?
- Replies: 6
- Views: 2637
Re: Scaling/animating shapes?
- Sun Nov 16, 2008 1:34 pm
- Forum: Support and Development
- Topic: Zipping love games and Mouse joints
- Replies: 9
- Views: 4374
Re: Zipping love games and Mouse joints
Ah, thanks
- Sun Nov 16, 2008 2:33 am
- Forum: Support and Development
- Topic: shape:testSegment() and shape:testPoint() suggetstions
- Replies: 1
- Views: 1573
shape:testSegment() and shape:testPoint() suggetstions
In the current implementation of theese two functions I think that it is awkward to cycle through all of the objects I want to test for. My suggestion is: How about making a function that tests a point and returns object? something like: love.physics.testPoint(x,y,world) --Returns single shape(multi...
- Sun Nov 16, 2008 12:37 am
- Forum: Support and Development
- Topic: Zipping love games and Mouse joints
- Replies: 9
- Views: 4374
Zipping love games and Mouse joints
I have made a cool prototype of a physics sandbox and now I want to make a zipped game file, proble is that I can't make love recognize the file. I am using 7zip and zipping using ordinary zipping algorithms (.zip). How do you zip games? Also for the aforementioned physics sandbox, I would like a mo...
- Sat Nov 15, 2008 1:49 pm
- Forum: Support and Development
- Topic: My script locks up. Please help?
- Replies: 2
- Views: 2251
- Sat Nov 15, 2008 12:32 am
- Forum: Support and Development
- Topic: My script locks up. Please help?
- Replies: 2
- Views: 2251
My script locks up. Please help?
I am making my first game (yay) and I have this problem that my game just locks up on startup, not rendering/doing anything. The odd thing is that I dont get any error messages... :? Code: function load() love.filesystem.include("Points.lua") env = love.physics.newWorld(0,0,love.graphics.g...
- Sat Nov 15, 2008 12:15 am
- Forum: Support and Development
- Topic: Feature Suggestion: XY Point sets?
- Replies: 2
- Views: 1878
Feature Suggestion: XY Point sets?
I find it troubeling that löve handles all positions separately. I have a tempoary solution scripted in lua, but that doesn't just cut it. My curren't solution: point = {} function IsPoint(self,assrt) if assrt then assert(type(self) == "table") assert(type(self.x) == "number") as...
- Fri Nov 14, 2008 11:51 pm
- Forum: General
- Topic: Shape object ideas
- Replies: 9
- Views: 7220
Re: Shape object ideas
I think it would be really nice that the body was the top of an entity tree (being the GarrysMod programmer I am), thus if you destroy the body, all shapes and joints will be destroyed too. It doesn't need to be :destroy() but maybe a new function called :destroytree() or similar. Also a body:getSha...