Search found 1570 matches

by TechnoCat
Tue Aug 11, 2009 8:10 pm
Forum: Games and Creations
Topic: Little platform-puzzle Game !
Replies: 11
Views: 9222

Re: Little platform-puzzle Game !

Alternative routes for the win!
Image
by TechnoCat
Tue Aug 11, 2009 6:22 am
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147617

Re: My Zelda style adventure engine progress thread

You should try having a matte tile. Like a certain tile that is the default. That way you can save by not copying over the matte tile numerous times because it will already be in the loaded array. Another type of map file to speed up load time is to allow lines of tiles. Or even a large rectangle of...
by TechnoCat
Mon Aug 10, 2009 11:50 pm
Forum: Libraries and Tools
Topic: My Adventure Game Engine - Making Way For Adventure Engine 2
Replies: 367
Views: 147617

Re: My Zelda style adventure engine progress thread

zugamifk wrote:I know when I upped it to 10000x10000 it would freeze on loading, and I have 4Gb or RAM, so there must be an exponential increase in usage for some reason.
I would assume it is quadratic.
1x1=1
2x2=4
3x3=9
4x4=16
100=10x10
10,000=100x100
1,000,000=1000x1000
100,000,000=10000x10000
x^2=memory needed
by TechnoCat
Mon Aug 10, 2009 4:58 pm
Forum: Support and Development
Topic: Car Wheel Prismatic Joints
Replies: 3
Views: 2055

Re: Car Wheel Prismatic Joints

I'm fairly certain it has to do with using setMassFromShapes( ) instead of setMass( x, y, m, i ). I could get semi-pleasing results using setmass, but I didn't really know what to set the inertia and such to.
by TechnoCat
Mon Aug 10, 2009 3:51 pm
Forum: Support and Development
Topic: trying to simulate a punch with physics
Replies: 13
Views: 5944

Re: trying to simulate a punch with physics

I hate to be so far from topic, but I would love to see the 0.6.0 doc initially copied over to the wiki. Then we can have our grubby little hands on it. We would put tutorials and descriptions on them in our own community time.
by TechnoCat
Mon Aug 10, 2009 7:26 am
Forum: Support and Development
Topic: Car Wheel Prismatic Joints
Replies: 3
Views: 2055

Car Wheel Prismatic Joints

I'm trying to create a car. I am having a lot of trouble with the physics though. I created a prismatic joint for just the Y-axis but the wheels still move along the x-axis. Anyone think they can help. It is super hard to follow through my load() function because the lines are long. http://love.past...
by TechnoCat
Mon Aug 10, 2009 7:22 am
Forum: Support and Development
Topic: trying to simulate a punch with physics
Replies: 13
Views: 5944

Re: trying to simulate a punch with physics

the doc needs way better explanations for these things. its whats stopping me from attempting the physics part of love. not sure how to start etc. i can look at basic examples but the more advanced functions arent explained. Yeah, I know what you mean. It ends up being a lot of trial and error. And...
by TechnoCat
Mon Aug 10, 2009 2:15 am
Forum: Support and Development
Topic: trying to simulate a punch with physics
Replies: 13
Views: 5944

Re: trying to simulate a punch with physics

Okay, so apparently ax and ay are floats to enable x-axis translations and y-axis translations. Try this out arm = love.physics.newPrismaticJoint(player_body, fist_body, 0, 0, 1, 0) -- arm:setMotorEnabled(true) -- arm:setMaxMotorForce(200) -- arm:setMotorSpeed(100) arm:setLimitsEnabled(true) arm:set...
by TechnoCat
Mon Aug 10, 2009 2:02 am
Forum: Support and Development
Topic: trying to simulate a punch with physics
Replies: 13
Views: 5944

Re: trying to simulate a punch with physics

Box2d Box2d v2.02 Manual - 7.2.3 Prismatic Joint Love Love 0.5.0 Manual - PrismaticJoint Love 0.5.0 Manual - love.physics.newPrismaticJoint( body1, body2, x, y, ax, ay ) I don't quite understand PrismaticJoint either, but I was able to get a buggy result by changing arm = love.physics.newPrismaticJ...
by TechnoCat
Sat Aug 08, 2009 1:06 am
Forum: Support and Development
Topic: load() function?
Replies: 12
Views: 4656

Re: load() function?

load( ) callback documentation
This function is called once.
I'm not sure what the benefit of using load() instead of putting it outside a function is though. It might just be for reasons of scope.