forums

TNT Basic Forums > Programming Q&A
set current map problem
< Last Thread     Next Thread >
Author
Thread        Post A Reply

07-04-2004 12:31

Posted by:
JW

Location:
Netherlands

Click Here to Email JW   Find more posts by JW

When i work in the same map, the error won't occur. But when i switch between different maps it does.

This is my problem.
set viewport offset 2,800,0 (just an example).
If i first use another map and then the statement set current map "newmap"
i get the problem that the screen is split in tw parts.
The left corner it shows the beginning of the map, and in the middle of the screen is shows the correct area of the map.

It won't happen if i don't use the set current map statement.

Anybody ?

JW

07-04-2004 14:20

Posted by:
someone

Location:
Quebec ( Canada )

Click Here to Email someone   Find more posts by someone

As ever when talking about maps I'll ask is it a canvas viewport or a map viewport?

07-04-2004 17:13

Posted by:
JW

Location:
Netherlands

Click Here to Email JW   Find more posts by JW

I start with open map viewport

Later i use the "set viewport offset"


JW

07-05-2004 14:39

Posted by:
someone

Location:
Quebec ( Canada )

Click Here to Email someone   Find more posts by someone

If you're in hardware mode, sometimes the maps bug .

07-05-2004 17:21

Posted by:
JW

Location:
Netherlands

Click Here to Email JW   Find more posts by JW

No, i'm using graphic mode.
It seems like it's first drawing the map (the beginning) and after that it draws
the right part of the map. But you still see the first part of it..

JW

07-06-2004 06:48

Posted by:
eekaydee

Location:
CA, USA

Click Here to Email eekaydee   Find more posts by eekaydee

Sounds like the left side isn't getting updated. See what happens if you paint the canvas blue right after the "set current map" line.

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.