Showcase your libraries, tools and other projects that help your fellow love users.
- Posts: 2
- Joined: Thu Jul 28, 2016 5:41 pm
Library that includes tools to export physics bodies made in CodeAndWeb's PhysicsEditor (https://www.codeandweb.com/physicseditor
), then load them into a LÖVE game. I only found one other library of this sort and it didn't suit my use case very well. This library exports to .lua files for easy parsing, and takes a minimal approach by only loading the physics body. Comes with a basic "wdraw" utility for rendering all of the physics bodies in a given physics world.
Code: Select all
local loader = require "loader"
local wdraw = require "wdraw"
local world = love.physics.newWorld()
local x, y = 100, 100
body = loader(world, "physics/exportedFile", "bodyName", x, y)
Last edited by tadamson
on Mon May 21, 2018 8:05 am, edited 3 times in total.
- Party member
- Posts: 202
- Joined: Fri Jun 15, 2012 5:31 pm
- Location: Belarus
Users browsing this forum: No registered users and 10 guests