Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

TIC-80

Fantasy computer for making, playing and sharing tiny games. · By Nesbox

how to include this?

A topic by jackj106 created Aug 22, 2017 Views: 480
Viewing posts 1 to 1

this is a LUA library that converts obj to lua readable code.

https://github.com/karai17/lua-obj

problem is, if i import the library and add a obj file it gives me an error.

somthing about require not being a valid thing or whatever.

this is the code the importer requires you put into the program you have made

local obj_loader = require "loader"
local object = obj_loader.load("some_object.obj")

any fixes on how to do this?