+ 3

Python RPG MAZE (stairs)

Hey, Im wondering if its possible to make stairs on a python rpg maze, if you dont know what that is , its simply a house that you treverse by typing south or north or west or east but i want to know if you can make a second floor to the house This is pretty complicated python stuff... Thanks. Sry i put this in the wrong place

22nd Jun 2019, 9:11 PM
abdtou7175
abdtou7175 - avatar
2 Answers
+ 2
Yes that can be done in Python. I haven't played RPG games much but it sounds like you want some 2D graphics to show where the player's character is in a 2+ floor house. You are struggling to handle the transition from 1 floor to another on stairs or an elevator in the house. Assuming you're looking down at the floors a bit while exploring a floor of the building, I would represent the stairs in the floor and upon walking beyond a certain height of the stairs, transition in the upper floor and have the character show in floor 2. Upon walking past that point again, floor 1 appears. If you're looking for a graphics library, I suggest PyGame.
25th Jun 2019, 5:07 PM
Josh Greig
Josh Greig - avatar
+ 1
Thanks
26th Jun 2019, 11:01 AM
abdtou7175
abdtou7175 - avatar