Search found 5 matches

by egg651
Mon Jun 18, 2012 11:00 am
Forum: LÖVE-Android
Topic: How to program for Android
Replies: 17
Views: 16989

Re: How to program for Android

Did the update to 0.8.0 ever happen or should I still be coding in 0.7.2 if I'm looking to deploy to android?

Sorry if it was mentioned in the tutorial thread you linked, I have a history of being an idiot and not noticing things like that :?
by egg651
Mon Apr 23, 2012 4:14 pm
Forum: Support and Development
Topic: Merging Physics Objects
Replies: 8
Views: 5031

Re: Merging Physics Objects

Ah, I see. Using that knowledge, I've changed the ball creation code to this: function GenerateBalls(count) for i=0,count - 1 do ball = {} ball.body = love.physics.newBody(world, math.random(650), math.random(650), "dynamic") ball.fixture = love.physics.newFixture(ball.body, love.physics.n...
by egg651
Sun Apr 22, 2012 9:14 pm
Forum: Support and Development
Topic: Merging Physics Objects
Replies: 8
Views: 5031

Re: Merging Physics Objects

Yeah, I figured as much - Was just wondering if there was some magical lua/love2d feature I was unaware of. Anyway, I've implemented a basic linear search as suggested to remove the items from the table and have been left with one last bug - The objects radii increase as they should, but the circle ...
by egg651
Sun Apr 22, 2012 8:00 pm
Forum: Support and Development
Topic: Merging Physics Objects
Replies: 8
Views: 5031

Re: Merging Physics Objects

It looks like it's reloading because you use setMode 4 times! Do you know how to handle collisions? Wiki has a good tutorial on that. https://love2d.org/wiki/Tutorial:PhysicsCollisionCallbacks It's "restarting" itself multiple times because you keep calling love.graphic.setMode. Ah! It se...
by egg651
Sun Apr 22, 2012 4:32 pm
Forum: Support and Development
Topic: Merging Physics Objects
Replies: 8
Views: 5031

Merging Physics Objects

This weekend's Ludum Dare inspired me to get back to making games (tried once before ages ago in XNA but eventually fizzled out after being too ambitious), and love2d seems perfect for what I'm looking to achieve. My idea is for a game about planets which move around by ejecting mass and gain mass b...