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

02-17-2003 19:18

Posted by:

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:


Click Here to Email mark_667   Find more posts by mark_667

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,

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.