forums

TNT Basic Forums > Programming Q&A
Map won't render
< Last Thread     Next Thread >
Author
Thread        Post A Reply

02-21-2003 02:13

Posted by:
KingdomsDev

Click Here to Email KingdomsDev   Find more posts by KingdomsDev

Hi! I'm a relatively new TNT Basic developer who has experience in Java, Flash, and C++. I thought I could get along ok with TNT to make a turn based strategy, but then I ran into a problem: my maps won't render. Here's the code:

Fade Down
Graphics Mode 800,600
Set Framerate 60
Vbl Sync On

Load Images 128
Load Images 129
while not Pressed(12)
Play()
wend

Procedure Play()
Load Map 128
Draw Map Section 0,0 to 30,30,0 to 0,0
end Proc
Hide Mouse
Fade Down
Text Mode
Fade Up
Show Mouse

02-21-2003 05:55

Posted by:
Machi

Click Here to Email Machi   Find more posts by Machi

Hi - You don't appear to be drawing anything to the screen. How about a "draw frame" in the loop somewhere ?

Cheers,
Mark

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.