s = love.physics.newRectangleShape( body, x, y, width, height, angle )
you are not attaching it to any body, and this is how i use meter:
meter = 10
love.physics.setMeter(meter)
world = love.physics.newWorld(0,100*meter,true)
Search found 6 matches
- Sun May 21, 2023 3:51 am
- Forum: Support and Development
- Topic: love.physics.setMeter() changes behaviour but not the size of drawn bodies
- Replies: 3
- Views: 1027
- Sun Apr 23, 2023 10:09 am
- Forum: Support and Development
- Topic: how do i get the current Frame in anim8
- Replies: 2
- Views: 585
Re: how do i get the current Frame in anim8
thanks!,it worked
- Sun Apr 23, 2023 9:12 am
- Forum: Support and Development
- Topic: how do i get the current Frame in anim8
- Replies: 2
- Views: 585
how do i get the current Frame in anim8
so i am trying to get the current frame that is being drawn, but i don't know how to do that, i tried alot of things but nothing really works, getFrameInfo is just giving me error after error,plz help
- Thu Mar 30, 2023 10:30 am
- Forum: Support and Development
- Topic: How do i change my map position without losing the pixle
- Replies: 4
- Views: 949
Re: How do i change my map position without losing the pixle
no, thats not what i meant, thanks
- Thu Mar 30, 2023 4:12 am
- Forum: Support and Development
- Topic: How do i change my map position without losing the pixle
- Replies: 4
- Views: 949
Re: How do i change my map position without losing the pixle
Could you clarify what you mean by cutting the pixels? Do you want to move the colliders with the map or do you mean the brown tiles at the bottom not being drawn anymore? Please post a .love of your game with all the neccesary files to run it ^^ yea, the brown tiles are not drawn properly. Lovegam...
- Wed Mar 29, 2023 4:29 pm
- Forum: Support and Development
- Topic: How do i change my map position without losing the pixle
- Replies: 4
- Views: 949
How do i change my map position without losing the pixle
hey, so i got a problem with changing the position of a map by drawing the map like: map:draw(0,10), the map is going down but the pixles are also cutting. how do i change the map position without losing its pixle. this is my code,plz help ^^ Screenshot_20230329-214035.png Screenshot_20230329-214134...