forums

TNT Basic Forums > Programming Q&A
???
< Last Thread     Next Thread >
Author
Thread        Post A Reply

02-17-2003 19:18

Posted by:
Simon

Click Here to Email Simon   Find more posts by Simon

How do you have TNT ask the player questions to which their answer prompts something else? I'm very knew to this.

02-17-2003 20:31

Posted by:
mark_667

Location:
England

Click Here to Email mark_667   Find more posts by mark_667

Hi,
What you need is an ' if ' statement, first put some text on the screen:
draw text 100,100,"Text for question here"

If button click=0 then
'Some code here
else 'Otherwise
'Some more code here
end if

Then, depending on how you want to do it, you could use on-screen buttons, mouse clicks or key presses. Look at some of the basic tutorials to get you started and try to visualise what you want to do before you start.

Hope this helps,
mark_667

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.