Has anyone had any success using TNT Collision Engine on a Linux machine (Ubuntu 14.04 to be precise)? Gideros Studio works great, but I cannot get any of the TNT Collision examples to work with the Windows Player running under Wine. I have placed the tntcollision.dll file in the proper location, but I still get an error saying "error loading module 'tntCollision' from file 'C:\Program Files (x86)\Gideros\tntCollision.dll': Module not found." Is it even possible to get this to work with Linux or does it need true Windows?
Of course, I will NEVER go back to Windows, so if it won't work, looks like I will be creating my own collision detection system. ~X(
Comments
I use TNTCollision collision engine with my two games Arkamania and Arkasteroid.
main.lua:15: module 'tntCollision' not found:
no field package.preload['tntCollision']
no file '.\tntCollision.lua'
no file 'C:\Program Files (x86)\Gideros\lua\tntCollision.lua'
no file 'C:\Program Files (x86)\Gideros\lua\tntCollision\init.lua'
no file 'C:\Program Files (x86)\Gideros\tntCollision.lua'
no file 'C:\Program Files (x86)\Gideros\tntCollision\init.lua'
no file '.\tntCollision.dll'
no file 'C:\Program Files (x86)\Gideros\tntCollision.dll'
no file 'C:\Program Files (x86)\Gideros\loadall.dll'
stack traceback:
main.lua:15: in main chunk
If it works for you, I must be missing something. I have tried a few different things, I am thinking it has something to do with setting paths (maybe?). Any ideas?
and then copy tntCollision.dll where the others dll files are inside plugins folder. It should work.
Check the name of the dll file and require, it must be the same because capital letters matters in Linux. I had the same problem with the name and capital letters.
require("tntcollision")
and rename to tntcollision.dll within plugin folder.
I think I'm just going to write my own collision checks. I've done it before, but I was hoping to make things a little easier for myself.
Thanks for the help, though
I guess the problem is QT 5 update.
I've downloaded v1.05, tried to open old examples, but errors are spawned:
High-perfomance collision check looks like a really important plugin.
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
You also need to add file to your project.
https://deluxepixel.com
On @GregBUG 's website there is just compiled version, no information how to get full version or event contact him.
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
I noticed when looking at @GregBugs webpage that in the latest version he added maths helper functions that are much faster than lua code doing the same operations. I always thought Gideros should have an extended math library with faster functions of commonly used mathsy stuff in games
http://giderosmobile.com/forum/discussion/6685/macro-functions-in-2016-8-2/p1
http://giderosmobile.com/forum/discussion/6621/lua-built-in-macro/p1
Or maybe not, I didn't dive into macro functions yet.
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
Likes: antix