Search found 5 matches

by lonelyguy
Sat Oct 29, 2016 10:11 am
Forum: Support and Development
Topic: Strange physics behaviour [SOLVED]
Replies: 6
Views: 3477

Re: Strange physics behaviour

Thanks so much pgimeno! The physics debug script that I used always crashes once my character touches the bottom platform. But I just added player.body:getAngle() to my players draw function and could clearly see it. IMHO the physics debugging (drawing a outline of every physics body) should be an i...
by lonelyguy
Fri Oct 28, 2016 6:23 am
Forum: Support and Development
Topic: Strange physics behaviour [SOLVED]
Replies: 6
Views: 3477

Re: Strange physics behaviour

Code: Select all

player.fixture:setRestitution(0)
does not help :(

I thought my video file is more persistent instead of a youtube link. But okay, I understand. I uploaded my whole game now as .love file. Any help is highly appreciated :-)

Thanks!
by lonelyguy
Fri Oct 28, 2016 6:18 am
Forum: Support and Development
Topic: Best way to scale image for retina, not-retina
Replies: 2
Views: 2293

Re: Best way to scale image for retina, not-retina

Thanks for your reply. I'm really looking forward to 0.11, I think love2d is on a great way!
by lonelyguy
Thu Oct 27, 2016 2:04 pm
Forum: Support and Development
Topic: Best way to scale image for retina, not-retina
Replies: 2
Views: 2293

Best way to scale image for retina, not-retina

Hi! I used to work with SpriteKit on iOS and my game used that 2x size graphics for retina displays. I'm using the same graphics for my löve game right now and when I set t.window.highdpi = true everything looks good on the iPhone. But when I run the game on my mac (no retina display), everything is...
by lonelyguy
Thu Oct 27, 2016 1:03 pm
Forum: Support and Development
Topic: Strange physics behaviour [SOLVED]
Replies: 6
Views: 3477

Strange physics behaviour [SOLVED]

Hi! I'm new to löve and I'm facing a strange behaviour of the physics engine. In my game I currently have two objects, my player and a platform. Both get a physics body and a shape with the size of the graphics. -- Create player player.body = love.physics.newBody(world, player.position, player.posit...