Hail,

This is my first post... a need a little help or suggestion if possible:

I am working on a 2d tile based game. There is a function that picks up the current character position (x axis) and check if it is greater than 800 (currente resolution is 800x600), if so a new file (txt) is opened (or was supposed to) depending on a certain parameter with the map information.

The tiles are panels created during runtime. Perhaps this is where the problem happens.

When I test run my script, the engine simple stop responding. At a certain point, it has also displayed a "Too many shift_map() - functions" message......

I´ve checked the function alone, without testing for the parameter given a certain character position and it works (as if the current map loaded where always the starting map).

If I don´t make any sense either on my explanation or my english sorry.... anyway I´ll try harder during this week.... sunday is gone!!

eek