Search found 61 matches
- Fri Mar 14, 2014 6:01 pm
- Forum: Support and Development
- Topic: Physics problems.
- Replies: 11
- Views: 6067
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...
- Fri Mar 14, 2014 1:07 pm
- Forum: Support and Development
- Topic: Physics problems.
- Replies: 11
- Views: 6067
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...
- Thu Mar 13, 2014 5:43 pm
- Forum: Support and Development
- Topic: Physics problems.
- Replies: 11
- Views: 6067
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).
- Thu Mar 13, 2014 3:36 pm
- Forum: Support and Development
- Topic: Physics problems.
- Replies: 11
- Views: 6067
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...
- Wed Mar 12, 2014 2:11 pm
- Forum: LÖVE-Android
- Topic: love-android-sdl2 (native, 0.9.2)
- Replies: 324
- Views: 414175
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.
Also, it gives me <eof> on a lua file (doesn't happen in LÖVE desktop). Attached .love file.
- Wed Mar 12, 2014 1:01 pm
- Forum: Ports
- Topic: LÖVELINESS a LÖVE Chrome Extension
- Replies: 126
- Views: 98647
Re: LÖVELINESS a LÖVE Chrome Extension
Any plans to port to 0.9?
- Mon Mar 10, 2014 12:21 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1496165
Re: What's everyone working on? (tigsource inspired)
Looks great! I like the conceptSheepolution 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
- Sat Mar 08, 2014 1:01 am
- Forum: General
- Topic: What techniques that everyone should know?
- Replies: 75
- Views: 22825
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...
- Fri Mar 07, 2014 7:23 pm
- Forum: Libraries and Tools
- Topic: Debug draw for box2d physics World
- Replies: 30
- Views: 24245
Re: Debug draw for box2d physics World
And opening brackets at the same line as function definitionAzhukar wrote:But tabs are obviously better.Robin wrote:This discussion is as productive and meaningful as tabs vs spaces, vim vs emacs and single-spacing vs double-spacing.
- Fri Mar 07, 2014 7:08 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1496165
Re: What's everyone working on? (tigsource inspired)
ExactlyRanguna259 wrote:Portuguese from Brazil, right ?
You too?