forked from hkc/cc-stuff
1
0
Fork 0

more info about entities :p

This commit is contained in:
Casey 2023-10-12 21:58:51 +03:00
parent 895f1595f5
commit b6c9cf60db
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
3 changed files with 2 additions and 2 deletions

View File

@ -81,5 +81,6 @@ function() -- Neural Interface coroutine
os.sleep(0.05)
end
_G.canvas3d_src.clear()
_G.canvas2d.clear()
end, table.unpack(modules))
print("Goodbye!")

View File

@ -9,6 +9,5 @@ return function()
else
print(table.unpack(ev))
end
os.sleep(0.05)
end
end

View File

@ -24,7 +24,7 @@ return function()
cache[id].cube.setPosition(entity.x - 0.25, entity.y - 0.25, entity.z - 0.25)
cache[id].frame.setPosition(entity.x, entity.y, entity.z)
cache[id].text.setAlpha(0xFF)
cache[id].text.setText(entity.name)
cache[id].text.setText(entity.name + "\n" + textutils.serialize(entity))
cache[id].text.setColor(0xFF0000FF)
end
end