Hi,
Good and bad news:
r209 works fine with old project (autocubic and forest gen. also),
but it have had little problems with a new one:
New project:
named-test.pipmak/main.lua
named-test.pipmak/first
named-test.pipmak/first/second
named-test.pipmak/first/second/node.lua
named-test.pipmak/first/second/face.png
main.lua:
-------------------------------------------
version (0.27)
title "named-test"
startnode ("first/second")
-------------------------------------------
node.lua:
-------------------------------------------
cubic {
"face.png", --front
"face.png", --right
"face.png", --back
"face.png", --left
"face.png", --top
"face.png" --bottom
}
-------------------------------------------
When I start the project, I enter in node
first/second: Ok
But now if I press "ESC", I get the error:
Error loading lua file "first/0/node.lua": file not found.
This error doesn't happen if I use only one level folder
(i.e.: startnode ("second") and I moved "second" out of "first")
If I have this structure:
1) ...first/node.lua
2) ...first/second/node.lua
3) ...second/node.lua
a) pipmak.gotonode("first") --now I am in (1)
b) pipmak.gotonode("second") --now I an in (3) not in (2)
c) pipmak.gotonode("first/second") --now I an in (2)
Is it correct this behaviour? Because it's different from
navigate into filesystem (I am expect to go into (2) with (b)
d) pipmak.gotonode("../") -- should it be possible? (doesn't work)
Error loading lua file "node.lua": file not found.
Now we put a node.lua in the same folder of main.lua
e) pipmak.gotonode("/") --it's works!
if I press "n" I get "We're at node" (without anymore)
f) pipmak.gotonode("/first/second") --ok
g) pipmak.gotonode("../") --now it's work, but I am in "/"
and not in "/first"
Now, delete node.lua in the same folder of main.lua
(I use command line to run lua)
h) pipmak.gotonode("/first/second") --ok
i) pipmak.gotonode("../") --error (not found)
press "n" --> We are at node -11
l) pipmak.gotonode("/second")
Now I get:
error running text editor handler:
-11/node.lua:76 calling selection on bad self.......
I hope this help you
Bye,
Andrea
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Pipmak-Devel mailing list
Pipmak-Devel@...
news://news.gmane.org/gmane.games.devel.pipmak.devel
https://lists.sourceforge.net/lists/listinfo/pipmak-devel