Python Forum
Thread Rating:
  • 3 Vote(s) - 2.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Map loading
#1
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?
Reply
#2
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.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020