« Return to Thread: Manual Questions

Manual Questions

by chikitin :: Rate this Message:

Reply to Author | View in Thread

Hi,

I have a few questions regarding the manual.

1. In the pipmak demo I want pipmak to show a text reaching the end of game in the middle of screen, say


"Congratulations, you can now advance to level 2."


I am on windows. Should I use image:drawtext to do this? if so how?

or I should use it as slide? In other words, creating an image file showing/displaying the text, "congratulations" and then having pipmak display that in particular even. I

appreciate it if you could give me some insight in the method as well.



2. node:getcurrentnode() returns the number of the current background node. Is there any command that returns the the number of the last visited node?



3. I am going to use print.pipmak for debugghing. The following code give me an error:


local junk=1  // also without local, ie, global

print.pipmak( "junk is " , junk)

it gives me the following error: attemp to index global "print' ( a function value)


what am I doing wrong?


4. I use the pipmak.gotnode() to go to a particular node. How can I ask pipmak to say go to node 99 after 10 seconds? The following doesn't work:

pipmak.gotonode(99,10)


Thanks in advance,

cs

 « Return to Thread: Manual Questions