Ask coding questions

← Back to all posts
Issue with python screen clearing (I think)
h
InvisibleOne

I'm working on this game, but I've run into an error where if I go into a certain room, it constantly clears the screen so you can't see anything unless you move really fast and glitch it.
To get to the issue:
1. Run the repl
2. Choose Load game (save and load are not actually features yet)
3. Go to the door on the right
4. Follow the tunnel into the next room
5. Go to the door on the right again, and you probably won't see anything, but if you move really fast you'll be able to see you are actually in a room, but it's just clearing the screen before you can see where you are, which it shouldn't be doing.

The files that control how the maps work are Maps.py and MapsUtil.py with the main stuff for traveling around in main.py

Here's the repl: https://replit.com/@SeriousTeam/Dungeon-Crawler-Main#main.py

Voters
InvisibleOne
Comments
hotnewtop
[deleted]

I think there is no room behind that door.

InvisibleOne

There is, and it is loading that file, it's just clearing the screen before you can see it, if you move left and right really fast you'll be able to see it. @Tercoder