Map loading - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Homework (https://python-forum.io/forum-9.html) +--- Thread: Map loading (/thread-15322.html) |
Map loading - GhostexGaming - Jan-13-2019 I am doing a picture based game in python. I want to have the player reach certain coordinates and have a whole new map load, with different boundaries and items. teacher told me to make seperate forms for each level as it would be simpler even though i would repeat lots of code. i did this howeever i cant run the game anymore as the variables x and y responsible for movement wont load in the seperate forums. Does anyone have any tips to help me figure out how to load maps using a seperate form? RE: Map loading - nilamo - Jan-14-2019 What's a form? Without seeing code, it's pretty hard to give suggestions. Duplicating your code sounds like an odd suggestion, unless you guys haven't covered functions yet. |