Search found 61 matches

by tio
Fri Mar 14, 2014 6:01 pm
Forum: Support and Development
Topic: Physics problems.
Replies: 11
Views: 6062

Re: Physics problems.

From what i can see, you are using player.x/playr.y to draw and move the caracter. You should be using player.body.x/y instead, because the way you are doing it now, your "player" object has the updated position after running/jumping, but the body object does not. If he wants to use physi...
by tio
Fri Mar 14, 2014 1:07 pm
Forum: Support and Development
Topic: Physics problems.
Replies: 11
Views: 6062

Re: Physics problems.

Sure, no problem :) You will need a body (use a static for the door and a dynamic for the char), a rect or polygonal shape for each one (I would use the first one) and a fixture to connect the shapes to the bodies. For the char body, you'll probably want to set fixed rotation since your char doesn't...
by tio
Thu Mar 13, 2014 5:43 pm
Forum: Support and Development
Topic: Physics problems.
Replies: 11
Views: 6062

Re: Physics problems.

If the door should sustain the player above it, you can use an AABB approach (check rect positions, and compensate movement, you can see some tips here, or search about AABB physics. But don't mess with bounciness unless you're confident with the basic).
by tio
Thu Mar 13, 2014 3:36 pm
Forum: Support and Development
Topic: Physics problems.
Replies: 11
Views: 6062

Re: Physics problems.

Looks like you're moving the player manually and using love.physics for the door. The problem with that is that you'll have a lot of headache to sync both of them. The best approach here is either move your player also using love.physics, or make door physics by hand (IMO the best option). A .love f...
by tio
Wed Mar 12, 2014 2:11 pm
Forum: LÖVE-Android
Topic: love-android-sdl2 (native, 0.9.2)
Replies: 324
Views: 412212

Re: love-android-sdl2 (native, 0.9.0)

Just downloaded beta2, and couldn't do file association thing (it keeps opening with a text editor app).

Also, it gives me <eof> on a lua file (doesn't happen in LÖVE desktop). Attached .love file.
by tio
Wed Mar 12, 2014 1:01 pm
Forum: Ports
Topic: LÖVELINESS a LÖVE Chrome Extension
Replies: 126
Views: 98458

Re: LÖVELINESS a LÖVE Chrome Extension

Any plans to port to 0.9?
by tio
Mon Mar 10, 2014 12:21 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1488929

Re: What's everyone working on? (tigsource inspired)

Sheepolution wrote:I've made a super simple demo of the new rating mechanic of the full version of One Take.

Tell me what you think!

http://www.mediafire.com/download/33q6b ... ing+1.love
Looks great! I like the concept :ultraglee:
by tio
Sat Mar 08, 2014 1:01 am
Forum: General
Topic: What techniques that everyone should know?
Replies: 75
Views: 22804

Re: What techniques that everyone should know?

I don't know if it's a good or a bad practice at all, but I really miss closure-based class behavior in Lua ( http://lua-users.org/wiki/ObjectOrientationClosureApproach ). It looks SO better to use since I don't have to deal with '.' or ':' operators (just '.' for everything), and it can have privat...
by tio
Fri Mar 07, 2014 7:23 pm
Forum: Libraries and Tools
Topic: Debug draw for box2d physics World
Replies: 30
Views: 24202

Re: Debug draw for box2d physics World

Azhukar wrote:
Robin wrote:This discussion is as productive and meaningful as tabs vs spaces, vim vs emacs and single-spacing vs double-spacing.
But tabs are obviously better. :crazy:
And opening brackets at the same line as function definition :awesome:
by tio
Fri Mar 07, 2014 7:08 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1488929

Re: What's everyone working on? (tigsource inspired)

Ranguna259 wrote:Portuguese from Brazil, right ?
Exactly :D
You too?